Basic Minecraft server init and maintenance scripts. Targeting vanilla servers, but works fine with Bukkit/Forge/etc
Note: This is not (yet) a watchdog. If the server crashes, it'll stay down.
- Throw all the shell scripts in with the server.jar
- Configure
$HOST
and$PASS
in_server.sh
- this is your rcon access - Configure the
rcon
syntax and location - Optionally, Configure
$SAVE
inbackup.sh
to configure how many backups of a given label should be saved - Optionally, configure
$SERVER_PATH
in each shell script (if you want the scripts in a different path than the server) - For backups, configure the list of worlds to backup in
backup.sh
- Set up some crontabs - see minecraft.crontab
- Start your server:
./init.sh start
- Fuggadaboutdit
Expects mcrcon at $HOME/bin/mcrcon - https://github.com/Tiiffi/mcrcon
Which can be replaced or moved by setting $RCON
in _server.sh