Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.
/ autospigot Public archive

SpigotMC server supervisor for development and production

License

Notifications You must be signed in to change notification settings

mxjp/autospigot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoSpigot

SpigotMC server supervisor for development and production.

Status

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!


Minecraft EULA

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.

CLI

Prequisites

  • Get your spigot server build as described here
  • Install nodejs

Install using npm

npm i -g autospigot

Configuration

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": []
}

Running a server

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.

Version check

autospigot version
# Outputs something like 'autospigot v1.2.3'

About

SpigotMC server supervisor for development and production

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published