Skip to content

Instantly share code, notes, and snippets.

@xaoseric
Created August 8, 2016 17:46
Show Gist options
  • Save xaoseric/654ed9ef10c8708e8aedd73341ed4312 to your computer and use it in GitHub Desktop.
Save xaoseric/654ed9ef10c8708e8aedd73341ed4312 to your computer and use it in GitHub Desktop.
[config]
name = PaperSpigot 1.8.8
source = http://tcpr.ca/files/paperspigot/PaperSpigot-1.8.8-R0.1-SNAPSHOT-latest.jar
configSource = http://tcpr.ca/files/multicraft/paperspigot-1.8.jar.conf
[encoding]
encode = utf-8
decode = utf-8
fileEncoding = latin-1
## Command line customization.
## Available variables
## - {MULTICRAFT_DIR} The Multicraft daemon base directory
## - {BASE_DIR} Same as {MULTICRAFT_DIR}
## - {DAEMON_DIR} Directory of the daemon binaries
## - {DATA_DIR} Global.daemon.dataDir
## - {JAR_DIR} Daemon JAR directory
## - {SERVERS_DIR} Directory containing all servers
## - {SERVER_ID} Current server ID
## - {SERVER_DIR} Current server base directory
## - {WORLD} Name of the current world
## - {JAVA} Java executable to run
## - {START_MEMORY} Startup memory amount
## - {MAX_MEMORY} Maximum memory amount
## - {JAR_FILE} Current JAR file name
## - {JAR} Full path to current JAR file
## - {IP} Server IP
## - {PORT} Server port
## - {MAX_PLAYERS} Maximum player slots
## - {DAEMON_ID} Daemon ID
## - {PID} Process ID of the server process
## - {PID_FILE} File containing the PID of the server process
## - {USER} User the server will run as
## - {GROUP} Group the server will run as
## - {UID} User system ID
## - {GID} Group system ID
[start]
command = "{JAVA}" -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -XX:MaxPermSize=128M -Djline.terminal=jline.UnsupportedTerminal -jar "{JAR}" nogui
[settings]
crashRestartDelay = 2000
restartOnCrash = true
[plugins]
pluginDir = plugins
pluginMatch = \.(jar|zip)$
[commands]
say = say
list = list
save-on = save-on
save-off = save-off
save-all = save-all
stop = stop
tell = tell
give = give
tp = tp
deop = deop
op = op
pardon-ip = pardon-ip
ban-ip = ban-ip
pardon = pardon
ban = ban
kick = kick
help = help
[parse_startup]
start1=^\s*Listening on
[parse_log]
start=^(?P<time>(:?[-\d]+ )?\[?[:\d]+\]?)\s+\[?(?P<type>[^]]+)\]\:?\s+(:?\[[^]]+\]\s+)?(?P<line>.*)$
[parse_connect]
shortStart=logged in with entity id \d+ at
[parse_clean]
start=(^[>\r\s]+|\x1b(\[|\])[0-9;]*m?|\x08)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment