@@ -22,11 +22,38 @@ backups="4"
22
22
backupshort =" 7200"
23
23
backuplong =" 43200"
24
24
# If crossplay is empty, it's off. Fill with any text to make true
25
- # Crossplay is currently not working on Linux dedicated servers, so for now the default is false (emtpy )
25
+ # Crossplay is currently not working on Linux dedicated servers, so for now the default is false (empty )
26
26
crossplay =" "
27
27
28
+ # INSTRUCTIONS FOR WORLD MODIFIERS (from Valheim Dedicated Server Manual.pdf located in serverfiles)
29
+ # World modifiers can only be set in the start parameters and can be a combination of the following
30
+ # PRESETS:
31
+ # Setting a preset will overwrite any other previous modifiers.
32
+ # Command line parameter: -preset
33
+ # Valid values: normal, casual, easy, hard, hardcore, immersive, hammer.
34
+ # MODIFIERS:
35
+ # This is set as a combination of key and value, if combined with a preset should be set after.
36
+ # Command line parameter: -modifier
37
+ # Valid keys and possible values:
38
+ # combat: veryeasy, easy, hard, veryhard
39
+ # deathPenalty: casual, veryeasy, easy, hard, hardcore
40
+ # resources: muchless, less, more, muchmore, most
41
+ # raids: none, muchless, less, more, muchmore
42
+ # portals: casual, hard, veryhard
43
+ # KEYS:
44
+ # Sets a world modifier checkbox key.
45
+ # Command line parameter: -setkey
46
+ # Valid values: nobuildcost, playerevents, passivemobs, nomap
47
+ # Example of a combination of modifiers where we set no raids, very hard portals and no map run:
48
+ # worldmodifiers="-modifier raids none -modifier portals veryhard -setkey nomap"
49
+ # NOTE: removing world modifiers will NOT reset them to default. the modifiers are stored in the world save file (.fwl)
50
+ # To go back to default you need to launch the server with the following parameter at least once:
51
+ # . worldmodifiers="-preset normal"
52
+
53
+ worldmodifiers =" "
54
+
28
55
# # Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
29
- startparameters =" -name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -logFile '${logFile}' - saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} ${ crossplay:+-crossplay}"
56
+ startparameters =" -name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong}${logFile:+ -logFile '${logFile}'}${ crossplay:+ -crossplay}${worldmodifiers:+ ${worldmodifiers} }"
30
57
31
58
# ### LinuxGSM Settings ####
32
59
0 commit comments