This update introduces an automatic server shutdown feature that stops your backend server when no players are online.
Changes:
- Added ability to have servers automatically stop after a specified delay when no players are online (if a STOP command is available).
- Local commands now output the exit code and standard output of a local command execution, making it easier to debug and correct errors.
- Added new config setting
autoShutdownDelay
toconfig.toml
to control the delay before automatic shutdown.
Bug Fix:
- Fixed an issue where players received server status messages upon first joining if the backend server needed to be started. Now, players will no longer receive these messages when initially connecting.
- Fixed message delays causing players to timeout while connecting even though server has started successfully.
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:
[servers.lobby] remote = true security = false communicationVersion = 1
Beta of next update. This update is focused on improving local command support.
There is a lot of log messages being output in this version: This will be fixed with v1.4.0
Major Changes:
- Added command `/autoserver start <server>` to manually start a server.
- Added command `/autoserver stop <server>` to manually stop a server.
- automatic update checking for velocity plugin
Changes:
- Added
starting
message to give users feedback that their command has been received.
Bug fixes:
- Timeout from server cache causing false positive after server is shutdown manually.
- Server being started multiple times when users try to join a server repeatedly.
- Updated to use velocity API for player count to prevent false positives and failed join attempts.