Browse files

Merge branch 'master' of

  • Loading branch information...
2 parents b082d26 + 1b766e7 commit 7c0f21b8c609e39a6b6e2776e99dc52b91aba309 @djcsdy committed Mar 22, 2012
Showing with 251 additions and 134 deletions.
  1. +58 −19 config.example
  2. +193 −115 minecraft
@@ -3,54 +3,93 @@
# Settings file for minecraft-init
# ================================
-# Change these variables to suit you setup
-# and rename this file to config
+# Make a copy of this file named config
+# and edit the variables to your needs.
# Name of vanilla server jar (no need to change if you're running craftbukkit and vice versa)
# Name of craftbukkit jar
-# Name of server.jar to use (either $MC_JAR or $CB_JAR)
# Define the release of CraftBukkit to use (stable or unstable)
+# Name of server.jar to use (either $MC_JAR or $CB_JAR)
# Name to use for the screen instance
# User that should run the server
-# Path to minecraft directory
+# Path to minecraft server directory
# Number of CPUs/cores to use
# Initial memory usage
# Maximum amount of memory to use
# Remember: give the ramdisk enough space, subtract from the total amount
# of RAM available the size of your map and the RAM-consumption of your base system.
-INVOCATION="java -Xmx$MAXMEM -Xms$INITMEM -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts -jar $SERVICE nogui"
-# Where the world backups should go
-# Where the logs are copied with log-roll
+# Location for world backups
+# Format for world backup (tar or zip).
+# Normally backups will be put in a subfolder to $BACKUPPATH with todays date
+# and the backups themselves will have a timestamp.
+# But if BACKUPSCRIPTCOMPATIBLE is set the world backups will be put directly
+# in $BACKUPPATH without timestamp to be compatible with
+# [backup rotation script](
+# Location for old logs
+# Used by the log-roll command
# Where the whole minecraft directory is copied when whole-backup is executed
+# whole-backup is a complete uncompressed backup of the whole server folder.
# Where the worlds are located on the disk. Can not be the same as MCPATH.
+# You need to move your worlds to this directory manually, the script
+# will then handle the nessessay symlinks.
-# Format to use for world backup (tar or zip).
-# Path to the the mounted ramdisk (the default will work in most senarios).
# Settings for overviewer command
+# ===============================
# Where the Map is generated
# Path to Minecraft-Overviewer
# Path for the config file of Overviewer
# Name of Overviewer config file
+# Path for backup worlds
+# Things to leave alone ;)
+# =====================
+INVOCATION="java -Xmx$MAXMEM -Xms$INITMEM -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts -jar $SERVICE nogui"
+# Path to the the mounted ramdisk (the default will work in most senarios).
Oops, something went wrong.

0 comments on commit 7c0f21b

Please sign in to comment.