aboutsummaryrefslogtreecommitdiff
path: root/serverconf.sh
blob: 8625bf34d7bdf58ba67ecb07d58f7347321b6056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# serverconf.sh
# configuration file for server.sh minecraft server
# management script

#CONFIG
JRE_JAVA="java"
JVM_ARGS="-Xms4096M -Xmx6144M"
JAR="fabric-server-launch.jar"
JAR_ARGS="-nogui"

TMUX_WINDOW="minecraft"
TMUX_SOCKET="mc_tmux_socket"

WORLD_NAME="lfja"

BACKUP_NAME="${WORLD_NAME}_backup"
LOGFILE="logs/latest.log"
PIDFILE="server-screen.pid"
USE_BUP="NO"

#Constants
CUR_YEAR=`date +"%Y"`

BACKUP_DIRS=(".bak/$CUR_YEAR" "user@backupserver:/path/to/backup/$CUR_YEAR")