From 9b569fc3b48b5c866163e2c78a17271709bf574e Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Sat, 19 May 2012 17:55:59 +0100 Subject: [PATCH] Updated the config file to the correct version. The previous version was a mistakenly old. --- manager.config | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/manager.config b/manager.config index 5be5a1a..c81eaad 100644 --- a/manager.config +++ b/manager.config @@ -54,8 +54,9 @@ CONFIG_BACKUP_PATTERN="*.yml" # options: true, false RAMDISK_ENABLED=true -# Path to the the mounted ramdisk default in Ubuntu: /dev/shm -RAMDISK_PATH="/dev/shm" +# Path to a directory located in the mounted ramdisk. +# The default mount point in Ubuntu is: /dev/shm +RAMDISK_PATH="/dev/shm/Minecraft/$SERVER_NAME" ### Jar configuration @@ -74,4 +75,45 @@ CPU_COUNT=2 # The command which launches the Minecraft server using the variables # provided thus far: -INVOCATION="java -Xmx$MAXMEM -Xms$INITMEM -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=${CPU_COUNT} -XX:+AggressiveOpts -jar $JAR nogui" \ No newline at end of file +INVOCATION="java -Xmx$MAXMEM -Xms$INITMEM -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=${CPU_COUNT} -XX:+AggressiveOpts -jar $JAR nogui" + + +### Configuration + +# The amount of time (in seconds) between broadcasting to players +# the message MESSAGE_SERVER_STOP_WARNING (see below) and the server actually +# shutting down: +CONFIG_SERVER_STOP_DELAY=10 + +CONFIG_SERVER_RESTART_DELAY=10 + +CONFIG_SERVER_LOG_ROLL_RESTART_DELAY=10 + + +### Messages + +# The message displayed to players when gracefully shutting down the server. +# The server shuts down (after this message is broadcast) following a delay +# specified in CONFIG_SERVER_STOP_DELAY +MESSAGE_SERVER_STOP_WARNING="SERVER SHUTTING DOWN IN 10 SECONDS!" + +MESSAGE_SERVER_RESTART_WARNING="SERVER REBOOT IN 10 SECONDS!" + +MESSAGE_SERVER_LOG_ROLL_RESTART_WARNING="ROUTINE REBOOT IN 10 SECONDS!" + +MESSAGE_SERVER_WORLDS_BACKUP_STARTED="Backing up world." +MESSAGE_SERVER_WORLDS_BACKUP_FINISHED="Backup complete." + +MESSAGE_SERVER_COMPLETE_BACKUP_STARTED="Backing up entire server." +MESSAGE_SERVER_COMPLETE_BACKUP_FINISHED="Backup complete." + + +### Stuff that probably wont need changing + +# The location of the standard Minecraft log file +SERVER_LOG="${SERVER_PATH}/server.log" + +CONFIRMATIONS_SAVE_ON="CONSOLE: Enabling level saving.." +CONFIRMATIONS_SAVE_OFF="CONSOLE: Disabling level saving.." +CONFIRMATIONS_SAVE_ALL="CONSOLE: Save complete." +CONFIRMATIONS_START="Done" \ No newline at end of file