2016-01-30 04:07:29 -08:00
|
|
|
# THIS IS THE CONFIGURATION FILE FOR THE MANAGING SCRIPT NOT FOR THE ACTUAL SERVER
|
|
|
|
# Variables are interpreted in bash. Simply using bash-syntax is sufficient.
|
2015-09-20 14:23:34 -07:00
|
|
|
|
|
|
|
# General parameters
|
|
|
|
SERVER_ROOT="/srv/minecraft"
|
|
|
|
BACKUPPATH="/srv/minecraft/backup"
|
|
|
|
LOGPATH="/srv/minecraft/logs"
|
2016-01-23 03:45:46 -08:00
|
|
|
WORLDPATHS="world" # World paths separated by spaces relative to SERVER_ROOT
|
2015-09-20 14:23:34 -07:00
|
|
|
KEEP_BACKUPS="10"
|
|
|
|
MC_USER="minecraft"
|
|
|
|
MAIN_JAR="minecraft_server.jar"
|
|
|
|
SESSION_NAME="minecraft"
|
|
|
|
|
2016-02-29 12:35:38 -08:00
|
|
|
# System parameters for java
|
2015-09-20 14:23:34 -07:00
|
|
|
MINHEAP="512M"
|
|
|
|
MAXHEAP="1024M"
|
|
|
|
THREADS="1"
|
|
|
|
JAVA_PARMS="-Xmx${MAXHEAP} -Xms${MINHEAP} -XX:ParallelGCThreads=${THREADS}"
|
2016-02-29 12:35:38 -08:00
|
|
|
|
|
|
|
# System parameters for the actual game server
|
|
|
|
# Describes whether a daemon process which stops the server if it is not used by a player
|
|
|
|
# within IDLE_IF_TIME seconds should be started. The GAME_PORT is not inhereted to the server!
|
|
|
|
IDLE_SERVER=false # true or false
|
|
|
|
IDLE_SESSION_NAME="idle_server"
|
|
|
|
GAME_PORT="25565" # used to listen for incoming connections when the server is down
|
|
|
|
CHECK_PLAYER_TIME="30" # in seconds
|
|
|
|
IDLE_IF_TIME="1200" # in seconds
|