/SnoScripts-Minecraft

Basic shell scripts for Minecraft server maintenance

Primary LanguageShellThe UnlicenseUnlicense

Sno Scripts - Minecraft

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.

Usage

  1. Throw all the shell scripts in with the server.jar
  2. Configure $HOST and $PASS in _server.sh - this is your rcon access
  3. Configure the rcon syntax and location
  4. Optionally, Configure $SAVE in backup.sh to configure how many backups of a given label should be saved
  5. Optionally, configure $SERVER_PATH in each shell script (if you want the scripts in a different path than the server)
  6. For backups, configure the list of worlds to backup in backup.sh
  7. Set up some crontabs - see minecraft.crontab
  8. Start your server: ./init.sh start
  9. Fuggadaboutdit

Dependencies

Expects mcrcon at $HOME/bin/mcrcon - https://github.com/Tiiffi/mcrcon Which can be replaced or moved by setting $RCON in _server.sh