AutoServer

AutoServer

Mod and plugin

A Minecraft plugin for Velocity Proxy that automatically starts backend servers when players connect and stops them when no players are online.

ManagementOptimizationUtility

895 downloads
8 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

Bug Fixes:

  • Fixed issue where rate limiter was incorrectly blocking a player transfer request.
  • Fixed issue where server shuts down after player disconnects even though others remain on the server.
  • Added missing serverName placeholder to notify message.

Changes:

  • Added a maintenance task that will shutdown servers that miss autoShutdownDelay trigger. The check interval is configurable though new setting maintenanceInterval.
  • Added a rate limiter that limits the number of server join requests a single player can make per minute. Configurable though new setting startRateLimit.

Bug Fix:

  • Fixed an issue where servers did not auto shutdown when no players join.

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 to config.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.

Changes:

  • Added HMAC signatures to network communications.
  • Added CLI support for BootListener
  • Switched to yaml for configuration settings to improve readability.

Changes:

  • Added HMAC signatures to network communications.
  • 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.

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 /autoserver help command
  • Added /autoserver status [<server>] command
  • Added /autoserver info <server> command
  • Added new setting startupDelay

Bug Fix:

  • Fixed long startup fail to move players though new setting startupDelay

Bug Fix:

  • Fixed cache check for offline remote servers that are actually online.

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.

Initial Modrinth release


Project members

Artificial

Member

Details

Licensed MIT
Published 8 months ago
Updated 4 months ago