mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
0b921a09f5
Sorry for the monster commit, was all necessary to get server start to work.
137 lines
4.8 KiB
Bash
137 lines
4.8 KiB
Bash
#!/bin/bash
|
||
|
||
# Minecraft Server Manager Configuration File
|
||
# ===========================================
|
||
#
|
||
#
|
||
|
||
|
||
# Directory Locations
|
||
# -------------------
|
||
|
||
# These values are very important. They define where MSM stores various files
|
||
|
||
# Where new servers are stored
|
||
SERVER_STORAGE_PATH="/opt/msm/servers"
|
||
|
||
# Where runnable jar files for use by servers are stored
|
||
JAR_STORAGE_PATH="/opt/msm/jars"
|
||
|
||
|
||
# Where RAM enambled worlds are stored
|
||
# 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
|
||
# location. If left blank RAM disk will not be used.
|
||
RAMDISK_STORAGE_PATH=""
|
||
|
||
|
||
# Quick IMPORTANT note:
|
||
# The following three paths are used to store backups of your servers which
|
||
# MSM creates periodically. Backups are usefull if a world becomes unlayable
|
||
# 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.
|
||
#
|
||
# If you want protection for disk failure also, be sure to spcify paths to a
|
||
# separate disk. This can be achieved by mounting an external hard drive, or
|
||
# a NAS and put the following paths in there.
|
||
|
||
|
||
# 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"
|
||
|
||
|
||
|
||
# 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.
|
||
|
||
|
||
# Server config file location, relative to each server directory
|
||
DEFAULT_SERVER_CONF="server.conf"
|
||
|
||
# User which stars the server, and interacts with it
|
||
DEFAULT_SERVER_USER="minecraft"
|
||
|
||
# The name under which to run a servers screen session, each is made unique
|
||
# by featuring the {SERVER_NAME} tag.
|
||
DEFAULT_SCREEN_NAME="msm-{SERVER_NAME}"
|
||
|
||
# A directory name relative to the server directory where worlds are stored
|
||
DEFAULT_WORLD_STORAGE_PATH="worldstorage"
|
||
|
||
# The location of the standard Minecraft log file, relative to the
|
||
# server directory
|
||
DEFAULT_LOG="server.log"
|
||
|
||
# The location of the jar file to execute, relative to the server directory
|
||
DEFAULT_JAR="server.jar"
|
||
|
||
# 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
|
||
#
|
||
# Hard coding values here (not using {MEMORY} and {JAR} tags) will result in
|
||
# all servers using the values.
|
||
DEFAULT_INVOCATION="java -Xms{RAM}M -Xmx{RAM}M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -jar {JAR} nogui"
|
||
|
||
# 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
|
||
|
||
# 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:
|
||
DEFAULT_STOP_MESSAGE="SERVER SHUTTING DOWN IN {DELAY} SECONDS!"
|
||
|
||
# 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:
|
||
DEFAULT_RESTART_MESSAGE="SERVER REBOOT IN {DELAY} SECONDS!"
|
||
|
||
# The default message to send to players when a server begins backing up
|
||
# its worlds:
|
||
DEFAULT_WORLD_BACKUP_STARTED="Backing up world."
|
||
|
||
# The default message to send to players when a server has finished backing
|
||
# up its worlds:
|
||
DEFAULT_WORLD_BACKUP_FINISHED="Backup complete."
|
||
|
||
# The default message to send to players when a server begins backing up the
|
||
# entire server directory:
|
||
DEFAULT_COMPLETE_BACKUP_STARTED="Backing up entire server."
|
||
|
||
# The default message to send to players when a serer finishes backing up the
|
||
# entire server directory:
|
||
DEFAULT_COMPLETE_BACKUP_FINISHED="Backup complete."
|
||
|
||
# The message once logged confirms the "save-on" command has finished
|
||
DEFAULT_CONFIRM_SAVE_ON="CONSOLE: Enabling level saving.."
|
||
|
||
# The message once logged confirms the "save-off" command has finished
|
||
DEFAULT_CONFIRM_SAVE_OFF="CONSOLE: Disabling level saving.."
|
||
|
||
# The message once logged confirms the "save-all" command has finished
|
||
DEFAULT_CONFIRM_SAVE_ALL="CONSOLE: Save complete."
|
||
|
||
# The message once logged confirms the server has started up
|
||
DEFAULT_CONFIRM_START="Done" |