MDevTools - Hot Reloading / Development Tools
Development tools for Hytale servers and modders
About MDevTools - Hot Reloading / Development Tools
MDevTools - Development tools for Hytale servers and modders
MDevTools is a development toolkit for Hytale servers and modders that streamlines iteration by automatically cleaning up logs, adjusting global log levels and enabling hot-reload of mods during development without requiring a full server restart.
Overview
MDevTools improves the development workflow for Hytale mod authors by watching key plugin directories and reloading or loading mods when changes are detected. This removes the need to restart the server each time a JAR or ZIP is updated, significantly improving iteration speed.
It also manages log cleanup to prevent workspace clutter and can set a global log level so that debugging or verbose output can be tuned per session.
Key Features
Log cleanup on startup to prevent clutter ๐งน
Global log level configuration for all server loggers ๐๏ธ
Automatic hot-reload of modified mods during development โป๏ธ
Automatic loading of new mods dropped into watched directories ๐ฆ
Exclusion patterns to avoid reloading critical or slow mods ๐ซ
Hybrid file watching with polling fallback for container environments ๐ณ
Smart file stability detection for slow uploads or transfers โฑ๏ธ
Hot-Reload Behavior
When a JAR or ZIP changes in the mods, builtin or earlyplugins directories (or any additional watched paths), MDevTools will schedule a reload and first ensure the file is fully written. This prevents corruption or half-written file loads during SCP uploads, Docker binds or IDE deployments.
Hot-reload supports both loading new mods and reloading existing ones depending on whether a plugin with the same ID is already active.
Supported Use Cases
Hot-reload is ideal for:
Rapid iteration during development ๐
Testing mod interactions without server restarts ๐งฉ
CI pipelines that deploy updated plugin artifacts automatically ๐๏ธ
Remote development environments running in Docker or VM containers ๐
Hybrid File Monitoring
MDevTools combines Java's WatchService for event-driven notifications with a polling fallback for container and network environments where inotify or filesystem events do not propagate correctly.
This ensures file change detection remains reliable in:
Docker and container setups ๐ณ
Virtual machines ๐ฅ๏ธ
Network file systems (NFS / CIFS) ๐
Development volume mounts ๐
File Stability Detection
To ensure files are completely written before reloading mods, MDevTools applies:
A configurable delay after first detection
A file size stability window
Automatic reset of timers when new write events occur
This prevents reloading during partial uploads, IDE builds or slow network transfers.
Installation
Place the MDevTools JAR in the server's builtin directory
Configure config.json5 as needed
Restart the server
MDevTools will begin monitoring and apply log cleanup and log level adjustments at startup.
Configuration
Configuration for MDevTools lives in:
config/com.machina/mdevtools (preferred and used when writable)
fallback: mods/com.machina/mdevtools (when the primary path cannot be written)
All configuration is in JSON5 format for easier editing (comments allowed, trailing commas allowed).
Log Settings
Log settings control both cleanup and global verbosity:
logs.cleanupOnStartup.enabled: removes old log and lock files on startup (keeps workspace clean)
logs.global.level: sets the global log level for all server loggers (e.g. INFO, DEBUG, WARNING)
logs.global.skip: skip specific noisy loggers when applying the global level (e.g. packet/world spam)
Mod Reload Settings
Reload settings control hot-reload behavior for mod files:
mods.reload.enabled: master switch for hot-reload
mods.reload.delayMs: delay before checking stability (helps with slow writes)
mods.reload.fileStabilityCheckMs: duration the file must remain size-stable before reload
mods.reload.additionalDirectories: optional extra directories to watch
mods.reload.exclude: wildcard patterns to exclude mods (matches mod IDs and filenames)
mods.reload.unloadWhenDeleted: unload a mod if its file is deleted
Example configuration:
{ "logs": { "cleanupOnStartup": { "enabled": true }, "global": { "level": "INFO", "skip": ["PacketLogging", "WorldChunk"] } }, "mods": { "reload": { "enabled": true, "delayMs": 1000, "fileStabilityCheckMs": 500, "additionalDirectories": [], "exclude": ["com.example:core", "*:system", "test*.jar"], "unloadWhenDeleted": false } } } Support Development
You can support development here ๐ to help fuel future updates and features:
https://machinastudios.net/support-us
Community
๐ฌ Join our Discord community!
Get help, share ideas, and connect with other developers ๐งโ๐ป:
๐ Support and troubleshooting
๐ก Suggestions and feedback
๐ค Community and collaboration
๐ Join our Discord Server: https://discord.gg/QAFrzj48EN
Categories
Need a Server?
Run MDevTools - Hot Reloading / Development Tools on a dedicated Hytale server with easy mod management.
Get Hytale HostingFrequently Asked Questions
What is MDevTools - Hot Reloading / Development Tools?
Development tools for Hytale servers and modders
How do I download MDevTools - Hot Reloading / Development Tools?
You can download MDevTools - Hot Reloading / Development Tools for free from CurseForge. Click the "Download on CurseForge" button on this page to go directly to the download page.
Who created MDevTools - Hot Reloading / Development Tools?
MDevTools - Hot Reloading / Development Tools was created by giofolf. The mod has been downloaded 940 times.
Is MDevTools - Hot Reloading / Development Tools compatible with Hytale servers?
MDevTools - Hot Reloading / Development Tools is designed for Hytale and can be used on both single-player and multiplayer servers. Check the mod page on CurseForge for specific compatibility information.
How do I install MDevTools - Hot Reloading / Development Tools?
To install MDevTools - Hot Reloading / Development Tools: 1) Download the mod from CurseForge, 2) Place the file in your Hytale mods folder, 3) Restart the game. The mod should load automatically.
Related Qol Mods
View all modsEyeSpy
DarkhaxDev
Adds a HUD that displays information about what you're looking at!
Advanced Item Info
Buuz135
Adds a searchable GUI that displays all the items and the game and displays extra properties they have
Overstacked
DarkhaxDev
Increases the maximum stack size of items.
Violet's Wardrobe
VioletsWorkshop
Adds more customisation options in the form of craftable cosmetics
Item Magnet
Jaredlll08
Adds a magnet that attracts items towards the player.
Endgame & QoL - Boss & Elite Update (3.0.0 in a week)
Lewaii
Endgame & QoL v2.2: Face the Alpha T-Rex & Void Spectres! Unlock Backpack IV & Void Gliders. Restore unused content and challenge stronger, rebalanced bosses!