SpigotMC server supervisor for development and production.
This is an early development version. Configuration and usage may change at any time!
If you are reading this on github, keep in mind that cli and api documentation below may differ from the latest version that is published on npm!
By running a server using autospigot you are indicating your agreement to Mojang's Minecraft EULA.
AutoSpigot will automatically accept mojang's minecraft EULA when starting a server.
npm i -g autospigot
Create an empty configuration file: autospigot.json
autospigot init [--server|-s <directory>]
--server | -s
- Specify the server directory.
{
// The path to the server's data directory:
"data": "data",
// The path to the spigot executable:
"executable": "spigot.jar",
// An array of plugin filenames to install and watch for changes:
"plugins": [],
// An array of additional java arguments:
"javaArgs": [],
// An array of additional server arguments:
"serverArgs": []
}
autospigot start [--server|-s <directory>] [--keep-alive|-r] [--watch|-w]
--server | -s
- Specify the server directory.--keep-alive | -r
- Keep the server alive until the stop command is issued through autospigot input or autospigot is interrupted.--watch | -w
- Watch plugins for changes.
autospigot version
# Outputs something like 'autospigot v1.2.3'