|
@@ -8,9 +8,52 @@
|
|
|
|
|
|
|
|
#### Game Server Settings ####
|
|
#### Game Server Settings ####
|
|
|
|
|
|
|
|
|
|
+## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
|
|
|
|
|
+# https://www.wurmpedia.com/index.php/Server_administration_(Wurm_Unlimited)
|
|
|
|
|
+
|
|
|
|
|
+# Game mode (Creative|Adventure)
|
|
|
|
|
+gamemode="Creative"
|
|
|
|
|
+
|
|
|
|
|
+# The kingdom the server belongs to.
|
|
|
|
|
+# If you're using the Adventure base, use 1, 2, or 3.
|
|
|
|
|
+# If you're using Creative, use 4.
|
|
|
|
|
+# Kingdom numbers:
|
|
|
|
|
+# 0 - No kingdom
|
|
|
|
|
+# 1 - Jen-Kellon
|
|
|
|
|
+# 2 - Mol-Rehan
|
|
|
|
|
+# 3 - Horde of the Summoned
|
|
|
|
|
+# 4 - Freedom
|
|
|
|
|
+homekingdom="4"
|
|
|
|
|
+
|
|
|
|
|
+# Unlocks the admin commands from within the game, that can be used to change
|
|
|
|
|
+# the gameplay settings of the server, such as skill gain rate and field growth time.
|
|
|
|
|
+adminpassword="ADMINPASSWORD"
|
|
|
|
|
+
|
|
|
|
|
+# If true the server will follow the rules from the Epic servers in Wurm Online.
|
|
|
|
|
+# For instance it will use the skill curve.
|
|
|
|
|
+epicsettings="false"
|
|
|
|
|
+
|
|
|
|
|
+# If the server is a home server (belongs to a single kingdom).
|
|
|
|
|
+homeserver="true"
|
|
|
|
|
+
|
|
|
|
|
+# Defaults to true, should only be set to false if the server is intended to be
|
|
|
|
|
+# connected with another server that is going to act as a loginserver.
|
|
|
|
|
+loginserver="true"
|
|
|
|
|
+
|
|
|
|
|
+# Used for server to server communication.
|
|
|
|
|
+rmiport="7221"
|
|
|
|
|
+rmiregport="7220"
|
|
|
|
|
+
|
|
|
|
|
+maxplayers="200"
|
|
|
|
|
+servername="LinuxGSM"
|
|
|
|
|
+serverpassword=""
|
|
|
|
|
+ip="0.0.0.0"
|
|
|
|
|
+port="3724"
|
|
|
|
|
+queryport="27016"
|
|
|
|
|
+
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
# Parameters are edited in the game server config file.
|
|
# Parameters are edited in the game server config file.
|
|
|
-startparameters="ADMINPWD=\"$ADMINPWD\" EPICSETTINGS=\"$EPICSETTINGS\" EXTERNALPORT=\"$EXTERNALPORT\" HOMESERVER=\"$HOMESERVER\" HOMEKINGDOM=\"$HOMEKINGDOM\" LOGINSERVER=\"$LOGINSERVER\" MAXPLAYERS=\"$MAXPLAYERS\" QUERYPORT=\"$QUERYPORT\" SERVERNAME=\"$SERVERNAME\" SERVERPASSWORD=\"$SERVERPASSWORD\" START=\"$START\" IP=\"$IP\""
|
|
|
|
|
|
|
+startparameters="start=${gamemode} adminpwd='${adminpassword}' epicsettings='${epicsettings}' externalport='${port}' homeserver='${homeserver}' homekingdom='${homekingdom}' loginserver='${loginserver}' maxplayers='${maxplayers}' queryport='${queryport}' rmiport='${rmiport}' rmiregport='${rmiregport}' servername='${servername}' serverpassword='${serverpassword}' ip='${ip}'"
|
|
|
|
|
|
|
|
#### LinuxGSM Settings ####
|
|
#### LinuxGSM Settings ####
|
|
|
|
|
|
|
@@ -157,13 +200,7 @@ glibc="2.14"
|
|
|
## Game Server Directories
|
|
## Game Server Directories
|
|
|
systemdir="${serverfiles}"
|
|
systemdir="${serverfiles}"
|
|
|
executabledir="${systemdir}"
|
|
executabledir="${systemdir}"
|
|
|
-preexecutable="xvfb-run"
|
|
|
|
|
executable="./WurmServerLauncher"
|
|
executable="./WurmServerLauncher"
|
|
|
-servercfgdir="${systemdir}"
|
|
|
|
|
-servercfg="${selfname}.cfg"
|
|
|
|
|
-servercfgdefault="server.cfg"
|
|
|
|
|
-servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
|
|
|
-source "${servercfgfullpath}"
|
|
|
|
|
|
|
|
|
|
## Backup Directory
|
|
## Backup Directory
|
|
|
backupdir="${lgsmdir}/backup"
|
|
backupdir="${lgsmdir}/backup"
|