2012-07-13 18:56:57 +00:00
|
|
|
|
#
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# Minecraft Server Manager Configuration File
|
|
|
|
|
# ===========================================
|
|
|
|
|
#
|
|
|
|
|
#
|
2012-05-20 11:42:36 +00:00
|
|
|
|
|
2012-05-30 17:32:17 +00:00
|
|
|
|
# User
|
|
|
|
|
# ----
|
|
|
|
|
|
|
|
|
|
# The user which Minecraft Server Manager commands will be executed as.
|
|
|
|
|
# Also used by default for starting servers who do not specify an individual
|
|
|
|
|
# server user.
|
|
|
|
|
USERNAME="minecraft"
|
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# Directory Locations
|
|
|
|
|
# -------------------
|
|
|
|
|
|
|
|
|
|
# These values are very important. They define where MSM stores various files
|
2012-05-20 11:42:36 +00:00
|
|
|
|
|
|
|
|
|
# Where new servers are stored
|
2012-05-24 00:09:05 +00:00
|
|
|
|
SERVER_STORAGE_PATH="/opt/msm/servers"
|
|
|
|
|
|
|
|
|
|
# Where runnable jar files for use by servers are stored
|
|
|
|
|
JAR_STORAGE_PATH="/opt/msm/jars"
|
|
|
|
|
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# Where versioning data is stored to help MSM accommodate all Minecraft versions
|
2012-08-08 14:22:23 +00:00
|
|
|
|
VERSIONING_STORAGE_PATH="/opt/msm/versioning"
|
|
|
|
|
|
2012-05-20 11:42:36 +00:00
|
|
|
|
|
2012-11-04 02:46:39 +00:00
|
|
|
|
# Change this to "true" to allow MSM to use RAMDisk for storing worlds.
|
|
|
|
|
# Note: RAMDisk will only be used for worlds enabled as "in ram".
|
2012-11-04 03:25:27 +00:00
|
|
|
|
RAMDISK_STORAGE_ENABLED="true"
|
2012-11-04 02:46:39 +00:00
|
|
|
|
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# Where RAM enabled worlds are stored
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# This needs to be a path located inside the mounted ramdisk for your system
|
|
|
|
|
# under Ubuntu this would be "/dev/shm", so "/dev/shm/msm" would be a good
|
2012-11-04 02:46:39 +00:00
|
|
|
|
# location. This is ignored if RAMDISK_STORAGE_ENABLED is not "true"
|
2012-05-30 17:24:08 +00:00
|
|
|
|
RAMDISK_STORAGE_PATH="/dev/shm/msm"
|
2012-05-20 11:42:36 +00:00
|
|
|
|
|
|
|
|
|
|
2013-11-03 00:14:35 +00:00
|
|
|
|
# Backup Options
|
|
|
|
|
# -------------------
|
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# Quick IMPORTANT note:
|
|
|
|
|
# The following three paths are used to store backups of your servers which
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# MSM creates periodically. Backups are useful if a world becomes unplayable
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# and needs to be restored to an earlier point in time. Or maybe a new plugin
|
|
|
|
|
# for a server corrupts some files. In these cases you can restore to a
|
|
|
|
|
# backup from these directories.
|
|
|
|
|
#
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# If you want protection for disk failure also, be sure to specify paths to a
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# separate disk. This can be achieved by mounting an external hard drive, or
|
2012-07-05 16:52:41 +00:00
|
|
|
|
# a NAS and locating the following paths there.
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2013-11-03 00:14:35 +00:00
|
|
|
|
# Did zip backup enabled ?
|
|
|
|
|
WORLD_ARCHIVE_ENABLED="true"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# Where "WorldEdit snapshot" compatible world backups are stored.
|
|
|
|
|
WORLD_ARCHIVE_PATH="/opt/msm/archives/worlds"
|
|
|
|
|
|
|
|
|
|
# Where archived logs are stored, when a servers logs are "rolled":
|
|
|
|
|
LOG_ARCHIVE_PATH="/opt/msm/archives/logs"
|
|
|
|
|
|
|
|
|
|
# Where complete server backups are stored:
|
|
|
|
|
BACKUP_ARCHIVE_PATH="/opt/msm/archives/backups"
|
|
|
|
|
|
2013-11-03 00:14:35 +00:00
|
|
|
|
# rdiff-backup for worlds note:
|
|
|
|
|
# If you want to use rdiff-backup as backup system for your worlds you need to have
|
|
|
|
|
# it installed on your server.
|
|
|
|
|
# You can enable it and set number of days to keep versions in RDIFF_BACKUP_ROTATION.
|
|
|
|
|
# The RDIFF_BACKUP_NICE indice is the priority when the task is launched: -20 is
|
|
|
|
|
# the higher priority, let to default (19) as a less priority is probably what you need.
|
|
|
|
|
|
|
|
|
|
# Did rdiff-backup enabled ?
|
|
|
|
|
RDIFF_BACKUP_ENABLED="false"
|
|
|
|
|
|
|
|
|
|
# Number of days to keep versions
|
|
|
|
|
RDIFF_BACKUP_ROTATION="7"
|
|
|
|
|
|
|
|
|
|
# The nice parameter "-20" to "19", -20 is the higher priority on the system, 19 is the lessest
|
|
|
|
|
RDIFF_BACKUP_NICE="19"
|
|
|
|
|
|
|
|
|
|
# Where "rdiff-backup" world backups are stored.
|
|
|
|
|
WORLD_RDIFF_PATH="/opt/msm/rdiff-backup/worlds"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2014-02-08 21:53:15 +00:00
|
|
|
|
# rsync backup note:
|
|
|
|
|
# rsync backups are simple copies of your world data. They are similar to the default
|
|
|
|
|
# zip backups but are not placed in .zip files. They are uncompressed, but files that
|
|
|
|
|
# are unchanged between backups will be hardlinked so they occupy no additional space.
|
|
|
|
|
# Compared to rdiff-backups, they will usually take up more space, but they are
|
|
|
|
|
# "WorldEdit snapshot" compatible like zip backups.
|
|
|
|
|
# If you want to use rsync for backups you need to have it installed on your server.
|
|
|
|
|
|
|
|
|
|
# Are rsync backups enabled ?
|
2015-02-14 23:57:20 +00:00
|
|
|
|
RSYNC_BACKUP_ENABLED="false"
|
2014-02-08 21:53:15 +00:00
|
|
|
|
|
|
|
|
|
# Where "rsync" world backups are stored.
|
|
|
|
|
WORLD_RSYNC_PATH="/opt/msm/rsync/worlds"
|
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# Server Defaults
|
|
|
|
|
# ---------------
|
|
|
|
|
|
|
|
|
|
# These values are the default values used when a server does not override
|
|
|
|
|
# them in its individual config file.
|
|
|
|
|
# They are also the default values used when a new server is created, without
|
|
|
|
|
# specifying any arguments.
|
|
|
|
|
|
2012-07-13 18:56:57 +00:00
|
|
|
|
# Any settings in the Server Defaults sections ending in PATH are relative
|
|
|
|
|
# to the server directory. That is unless an absolute path is given (one
|
|
|
|
|
# starting with a forward slash '/'.)
|
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# User which stars the server, and interacts with it
|
2012-07-13 19:16:25 +00:00
|
|
|
|
DEFAULT_USERNAME="minecraft"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# The name under which to run a servers screen session, each is made unique
|
2012-07-05 16:52:41 +00:00
|
|
|
|
# by including the {SERVER_NAME} tag.
|
2012-05-24 00:09:05 +00:00
|
|
|
|
DEFAULT_SCREEN_NAME="msm-{SERVER_NAME}"
|
|
|
|
|
|
|
|
|
|
# A directory name relative to the server directory where worlds are stored
|
|
|
|
|
DEFAULT_WORLD_STORAGE_PATH="worldstorage"
|
|
|
|
|
|
2012-06-02 18:11:33 +00:00
|
|
|
|
# A directory name relative to the server directory where old worlds are stored
|
|
|
|
|
# These worlds will cannot be used by the server and will not be saved when
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# backing up all worlds. But will be included in a complete server backup.
|
2012-06-02 18:11:33 +00:00
|
|
|
|
DEFAULT_WORLD_STORAGE_INACTIVE_PATH="worldstorage_inactive"
|
|
|
|
|
|
2012-05-24 06:41:06 +00:00
|
|
|
|
# "true" and symlinks are followed when performing a complete backup,
|
|
|
|
|
# "false" and symlinks are replaced in the zip with a file containing the
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# path to the original symlink target.
|
2012-07-05 16:52:41 +00:00
|
|
|
|
# Setting this to false is useful if symlinks point to files that will
|
|
|
|
|
# already be included in the backup (such as world symlinks.)
|
2012-05-24 06:41:06 +00:00
|
|
|
|
DEFAULT_COMPLETE_BACKUP_FOLLOW_SYMLINKS="false"
|
|
|
|
|
|
|
|
|
|
|
2012-05-30 22:51:45 +00:00
|
|
|
|
# The location of standard Minecraft server files, relative to the
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# server directory
|
2015-08-21 07:52:07 +00:00
|
|
|
|
DEFAULT_LOG_PATH="logs/latest.log"
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_PROPERTIES_PATH="server.properties"
|
|
|
|
|
DEFAULT_WHITELIST_PATH="white-list.txt"
|
|
|
|
|
DEFAULT_BANNED_PLAYERS_PATH="banned-players.txt"
|
|
|
|
|
DEFAULT_BANNED_IPS_PATH="banned-ips.txt"
|
|
|
|
|
DEFAULT_OPS_PATH="ops.txt"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2013-06-10 05:12:42 +00:00
|
|
|
|
# List of comma-separated users that are added by default to ops.txt on server
|
|
|
|
|
# creation.
|
|
|
|
|
DEFAULT_OPS_LIST=""
|
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# The location of the jar file to execute, relative to the server directory
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_JAR_PATH="server.jar"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# The amount of memory to dedicate to a server (in MB)
|
|
|
|
|
DEFAULT_RAM="1024"
|
|
|
|
|
|
|
|
|
|
# The command used to start the server. You may use the following tags which
|
|
|
|
|
# will be replaced:
|
|
|
|
|
#
|
|
|
|
|
# {RAM} - Gets replaced with the amount of RAM specified for the server
|
|
|
|
|
# {JAR} - Gets replaced with the location of the jar file for the server
|
|
|
|
|
#
|
2012-07-05 16:52:41 +00:00
|
|
|
|
# Hard coding values here (not using {MEMORY} and {JAR} tags) will prevent
|
|
|
|
|
# servers from individually overriding those values.
|
2012-05-24 00:09:05 +00:00
|
|
|
|
DEFAULT_INVOCATION="java -Xms{RAM}M -Xmx{RAM}M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -jar {JAR} nogui"
|
|
|
|
|
|
2012-05-24 06:41:06 +00:00
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# The default time to delay between warning players the server is stopping and
|
|
|
|
|
# actually stopping the server:
|
|
|
|
|
DEFAULT_STOP_DELAY=10
|
|
|
|
|
|
|
|
|
|
# The default time to delay between warning players the server is restarting
|
|
|
|
|
# and actually restarting the server:
|
|
|
|
|
DEFAULT_RESTART_DELAY=10
|
|
|
|
|
|
2012-05-24 06:41:06 +00:00
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# The default message to send to players on a server which is about to be
|
|
|
|
|
# shut down. You may use the tag "{DELAY}" to specify the time delay
|
|
|
|
|
# before shutdown:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_STOP="SERVER SHUTTING DOWN IN {DELAY} SECONDS!"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2012-05-24 02:57:30 +00:00
|
|
|
|
# The default message sent to players on a server which was in the process of
|
|
|
|
|
# shutting down, but was aborted by an admin probably pressing Ctrl+C.
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_STOP_ABORT="Server shut down aborted."
|
2012-05-24 02:57:30 +00:00
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# The default message sent to players on a server which is about to be
|
|
|
|
|
# restarted. You may use the tag "{DELAY}" to specify the time delay before
|
|
|
|
|
# the server restarts:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_RESTART="SERVER REBOOT IN {DELAY} SECONDS!"
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2012-05-24 02:57:30 +00:00
|
|
|
|
# The default message sent to players on a server which was in the process of
|
|
|
|
|
# restarting, but was aborted by an admin probably pressing Ctrl+C.
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_RESTART_ABORT="Server reboot aborted."
|
2012-05-24 02:57:30 +00:00
|
|
|
|
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# The default message to send to players when a server begins backing up
|
|
|
|
|
# its worlds:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_WORLD_BACKUP_STARTED="Backing up world."
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# The default message to send to players when a server has finished backing
|
|
|
|
|
# up its worlds:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_WORLD_BACKUP_FINISHED="Backup complete."
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
|
|
|
|
# The default message to send to players when a server begins backing up the
|
|
|
|
|
# entire server directory:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_COMPLETE_BACKUP_STARTED="Backing up entire server."
|
2012-05-24 00:09:05 +00:00
|
|
|
|
|
2012-12-31 12:26:44 +00:00
|
|
|
|
# The default message to send to players when a server finishes backing up the
|
2012-05-24 00:09:05 +00:00
|
|
|
|
# entire server directory:
|
2012-07-13 18:56:57 +00:00
|
|
|
|
DEFAULT_MESSAGE_COMPLETE_BACKUP_FINISHED="Backup complete."
|
2013-06-10 03:48:34 +00:00
|
|
|
|
|
|
|
|
|
# Default github url to pull updates from. Do not change this unless you want
|
|
|
|
|
# to use another github fork of msm.
|
2015-07-15 16:36:16 +00:00
|
|
|
|
UPDATE_URL="https://raw.githubusercontent.com/msmhq/msm/master"
|