aboutsummaryrefslogtreecommitdiff
path: root/example.conf
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-10 10:44:55 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-10 10:44:55 +0100
commit51278d4ef4aaa5d7b9e497fd333bd4e61f582fc9 (patch)
treeb83afb6bfc003b5b311a09a60ef4e4ef958c0930 /example.conf
parent71e77dd87af79e0374b0f502066be0e191cb6667 (diff)
downloadmcserver-wrapper-51278d4ef4aaa5d7b9e497fd333bd4e61f582fc9.tar.gz
mcserver-wrapper-51278d4ef4aaa5d7b9e497fd333bd4e61f582fc9.tar.bz2
mcserver-wrapper-51278d4ef4aaa5d7b9e497fd333bd4e61f582fc9.zip
Update example config
Example config is little bit changed and its documentation is reformatted.
Diffstat (limited to 'example.conf')
-rw-r--r--example.conf39
1 files changed, 18 insertions, 21 deletions
diff --git a/example.conf b/example.conf
index 9d656ea..42e4394 100644
--- a/example.conf
+++ b/example.conf
@@ -3,34 +3,31 @@
##############################################
# vim: expandtab ft=python ts=4 sw=4 sts=4:
-# This is default identifier. It is used if no identifier is provided as argument
-# to mcwrapper. This is specially handy when you have only one identifier to be
-# run all the time.
-# Uncommenting this option if you want such feature.
+# This is default identifier. It is used if no identifier is provided as
+# argument to mcwrapper. This is specially handy when you have only one
+# identifier to be run all the time.
# Type: string
-#identifier = 'exampleserver'
+identifier = 'exampleserver'
# Definition of Minecraft server.
class exampleserver:
- # Directory in which Minecraft server will be executed. It is where its files
- # will be placed
+ # Directory in which Minecraft server will be executed. It is where its
+ # files will be placed
# Type: string
- directory = '~/minecraft'
- # Command to start Minecraft server. It is executed in directory specified in
- # option "directory".
+ directory = 'minecraft-server'
+ # Command to start Minecraft server. It is executed in directory specified
+ # in option "directory".
# Suggested is to always append "nogui" no disable graphical interface.
# Type: string
- command = "java -jar mcs.jar nogui"
- # Directory where wrapper writes files signaling status of server and online
- # players.
- # In default it points to directory in /dev/shm. This means that files are in
- # such case stored only in ram.
+ command = "java -jar minecraft_server.jar nogui"
+ # Directory where wrapper writes files signaling status of server and
+ # online players. In default it points to directory in /dev/shm. This
+ # means that files are in such case stored only in ram.
# Type: string
statusdir = '/dev/shm/mcwrapper-exampleserver'
- # Automatic server shutdown when no player is online. This option defines time
- # in minutes before that happens. It is measured from time of last player
- # leaving server.
- # Set this value to less or equal zero or comment it to disable automatic
- # shutdown.
+ # Automatic server shutdown when no player is online. This option defines
+ # time in minutes before that happens. It is measured from time of last
+ # player leaving server. Set this value to less or equal zero or comment
+ # it to disable automatic shutdown.
# Type: int
- timeout = 15
+ #timeout = 15