Skip to content

0.4.0: Major Improvements

Compare
Choose a tag to compare
@TheAlan404 TheAlan404 released this 11 Dec 19:49
· 126 commits to main since this release

Here is a summary of the changes:

  • 0.4 adds a new server/.mcman.lock file (called the lockfile) containing metadata about the last build. This file will be used (if it exists) to validate and skip files that do not need to be downloaded or bootstrapped again (making builds get a lot faster)
  • 📦 0.4 also adds global caching - most downloaded files and useful metadata will be cached under these directories.
    • Windows: %localappdata%/mcman
    • Linux: ~/.cache/mcman (most likely)
  • :octocat: Github rate limiting should be fixed! I mean unless you have like a billion ghrel's. Because of the caching system, metadata from GitHub get cached. mcman can use this metadata to send conditional requests which do not count towards the rate limit. You can also provide a token by setting sources.github.api_token in the config or using the GITHUB_TOKEN environment variable.
  • 🔒 File hash checksums are also implemented, meaning more secure and stable downloads. (Yes, cached files also get checked)
  • 📜 Visual overhaul: mcman's got a new look. There are now progress bars and spinners everywhere, and its more consistent overall.
  • Hot reloading with development sessions, you can develop your server without having to build it every time you change something!
  • 🌐 Worlds You can now download (in server.toml) and store (worlds/) worlds!
  • Java environment variables You can now set the java version to use (server.toml) and mcman will use JAVA_*_BIN variables to find and use the java with the version
  • Networks Have multiple servers? network.toml is now here! Have common addons, common configs and variables! It can also help you manage port configurations with special variables like ${NETWORK_VELOCITY_SERVERS}
  • 📎 mclo.gs mcman run and mcman dev can auto-upload logs to mclo.gs - enable it by setting env var upload_to_mclogs to true or setting services.mclogs.enabled=true in config
  • 🧰 An experimental .mcman.toml config file was added (will be looked in current directory and your home config directory)

Things I forgot to add: theres also Forge and NeoForge support now along with Maven downloadables