-
Notifications
You must be signed in to change notification settings - Fork 8
/
mcwrapper.conf-example
61 lines (49 loc) · 1.94 KB
/
mcwrapper.conf-example
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Example configuration for mcwrapper: mcwrapper.conf
# this file can live in any of the following places (in order of priority):
# - the value of MCWRAPPER_CONFIG_PATH env variable
# - the current working directory as "mcwrapper.conf"
# - ~/.mcwrapper.conf
# - /etc/mcwrapper.conf
#
# Configuration is actual Bash. You can use conditionals... not that you would.
## All non-absolute paths are relative to mcwrapper.
# MINECRAFT_SERVER_PATH -- path to the minecraft_server.jar
# default: either minecraft_server.jar in same directory or one level up.
# MINECRAFT_SERVER_PATH="/usr/local/minecraft/minecraft_server.jar"
# JAVA_BIN -- the java binary.
# default: 'java' binary in your path.
# change this if you'd like to use a different java binary.
JAVA_BIN='java'
# Java VM settings (increasing these never hurts)
# these are suggested settings from minecraft.net
MX_SIZE="1024M"
MS_SIZE="1024M"
# PID_FILE -- where mcwrapper stores the Minecraft server pid.
# default: mcwrapper.pid
PID_FILE="mcwrapper.pid"
# COMMAND_PIPE -- the mcwrapper FIFO
# default: command_input
COMMAND_PIPE="command_input"
# Backup configuration:
# directory to store backups
# can be relative or absolute. if relative, it's relative to mcwrapper
# default: 'backups'
#BACKUP_DIRECTORY_PATH="backups"
# how many backups to keep in the backups directory
# (we automatically delete old backups)
# set to -1 to retain ALL backups (never delete)
# set to 0 to completely disable backups.
#BACKUPS_TO_KEEP=5
# set backup name to
# +%Y%m%d -- just the datestamp; no time.
# +%Y%m%d%H%M%S -- full timestamp including hour, minute, second
#CURRENT_BACKUP_NAME=`date +%Y%m%d%H%M%S`
# How to compress the backup
# leave undefined (commented out) to not use compression
# accepted values are: tgz, zip
#COMPRESS_BACKUP='tgz'
# Whether to automatically backup when exiting.
# this is only called when you run `mcwrapper stop`
# uncomment to backup when exiting.
# default: ""
#BACKUP_ON_EXIT=1