-
Notifications
You must be signed in to change notification settings - Fork 9
/
minecraftd.conf.in
28 lines (25 loc) · 1.46 KB
/
minecraftd.conf.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.
# General parameters
SERVER_ROOT="@SERVER_ROOT@"
BACKUP_DEST="@BACKUP_DEST@"
BACKUP_PATHS="@BACKUP_PATHS@" # World paths separated by spaces relative to SERVER_ROOT
BACKUP_FLAGS="@BACKUP_FLAGS@"
KEEP_BACKUPS="@KEEP_BACKUPS@"
GAME_USER="@GAME_USER@"
MAIN_EXECUTABLE="@MAIN_EXECUTABLE@"
SESSION_NAME="@SESSION_NAME@"
# System parameters for java
# -Xms sets the intial heap size (must be a multiple of 1024 and greater than 2MB, no spaces!)
# -Xmx sets the maximum heap size (must be a multiple of 1024 and greater than 2MB, no spaces!)
SERVER_START_CMD="@SERVER_START_CMD@"
# 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=@IDLE_SERVER@ # true or false
# Ensure that if SESSION_NAME is passed through the command line and therefore set to read only by the script,
# IDLE_SESSION_NAME gets altered according to the command line and not the configurtion file, hence invoke the variable
IDLE_SESSION_NAME="@IDLE_SESSION_NAME@"
GAME_PORT="@GAME_PORT@" # used to listen for incoming connections when the server is down
CHECK_PLAYER_TIME="@CHECK_PLAYER_TIME@" # in seconds
IDLE_IF_TIME="@IDLE_IF_TIME@" # in seconds