This update includes numerous improvements to local commands, providing significantly more control over how they are executed. These enhancements also extend to remote servers. Additionally, communication between Velocity and backend servers now utilizes HMAC to enhance connection security.
Changes:
- Added command `/autoserver start <server>` to manually start a server.
- Added command `/autoserver stop <server>` to manually stop a **local** server (remote support planned).
- Added command `/autoserver version` to get the current running version.
- Added automatic update checking for AutoServer velocity plugin on initialization.
- Some commands did not have help text those are now added.
- Added new setting `shutdownDelay` which is the time in seconds to wait before checking if a server has successfully shutdown.
- Local commands now handle strange white spacing and respect quotes.
- Added new setting `preserveQuotes` which enables or disabled the removal of surrounding quotes from local commands.
- Added new setting `workingDirectory` which is where local commands are executed.
- Added new setting `logging.level` which allows user to set log level.
- Added new setting `security` which allows enabling or disabling the use of HMAC for remote servers.
Changes for Remote:
- Added CLI support for `BootListener`.
- Switched to `yaml` for configuration settings to improve readability.
- Paper plugin added new command `/autoserver reload` to reload the config file on Paper backend.
**Release Warning: Remote Compatibility Update**
This release introduces changes to our remote communication protocol that require an update to your backend plugin/mod. **If you are currently running the older backend plugin/mod version (< 1.4.0), please update to version 1.4.0 or later immediately** to ensure full functionality with the new Velocity plugin.
> **Note:** A temporary legacy compatibility mode is available via the `communicationVersion` setting (`1` for legacy, `2` for new). However, this mode is only a short-term solution and will be deprecated in future releases.
> Example legacy remote config:
> ```toml
> [servers.lobby]
> remote = true
> security = false
> communicationVersion = 1
> ```
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }