e318c423f6
* Add tModLoader module * Remove diplicate envvars line * Add seed as formattedarg * lowercase names * lowercase fetch * use kvp merging * fix capitalisation * add adminmethod to kvp * fix case typo, remove unused ports * include world in commandline
85 lines
3.6 KiB
Plaintext
85 lines
3.6 KiB
Plaintext
#serverconfig.txt
|
|
|
|
#This file is automatically generated by AMP. All uncommented settings are controlled by AMP.
|
|
#Any changes to uncommented settings will be lost when starting or updating the application
|
|
#Please use the AMP control panel to change these
|
|
#If you wish to configure other settings (those that are commented), you can do so manually
|
|
#But any future updates may overwrite these changes
|
|
|
|
#the following is a list of available command line parameters:
|
|
|
|
#-config <config file> Specifies the configuration file to use.
|
|
#-port <port number> Specifies the port to listen on.
|
|
#-players <number> / -maxplayers <number> Sets the max number of players
|
|
#-pass <password> / -password <password> Sets the server password
|
|
#-world <world file> Load a world and automatically start the server.
|
|
#-autocreate <#> Creates a world if none is found in the path specified by -world. World size is specified by: 1(small), 2(medium), and 3(large).
|
|
#-banlist <path> Specifies the location of the banlist. Defaults to "banlist.txt" in the working directory.
|
|
#-worldname <world name> Sets the name of the world when using -autocreate.
|
|
#-secure Adds addition cheat protection to the server.
|
|
#-noupnp Disables automatic port forwarding
|
|
#-steam Enables Steam Support
|
|
#-lobby <friends> or <private> Allows friends to join the server or sets it to private if Steam is enabled
|
|
#-ip <ip address> Sets the IP address for the server to listen on
|
|
#-forcepriority <priority> Sets the process priority for this task. If this is used the "priority" setting below will be ignored.
|
|
#-disableannouncementbox Disables the text announcements Announcement Box makes when pulsed from wire.
|
|
#-announcementboxrange <number> Sets the announcement box text messaging range in pixels, -1 for serverwide announcements.
|
|
#-seed <seed> Specifies the world seed when using -autocreate
|
|
|
|
#remove the # in front of commands to enable them.
|
|
|
|
#Load a world and automatically start the server.
|
|
world={{world}}
|
|
|
|
#Creates a new world if none is found. World size is specified by: 1(small), 2(medium), and 3(large).
|
|
autocreate={{autocreate}}
|
|
|
|
#Sets the world seed when using autocreate
|
|
seed={{seed}}
|
|
|
|
#Sets the name of the world when using autocreate
|
|
worldname={{worldname}}
|
|
|
|
#Sets the difficulty of the world when using autocreate 0(classic), 1(expert), 2(master), 3(journey)
|
|
difficulty={{Difficulty}}
|
|
|
|
#Sets the max number of players allowed on a server. Value must be between 1 and 255
|
|
maxplayers={{$MaxUsers}}
|
|
|
|
#Set the server password
|
|
password={{Password}}
|
|
|
|
#Set the message of the day
|
|
motd={{Motd}}
|
|
|
|
#Sets the folder where world files will be stored
|
|
worldpath={{WorldPath}}
|
|
|
|
#Path for mods
|
|
modpath={{ModPath}}
|
|
modpack={{ModPack}}
|
|
|
|
#Sets the number of rolling world backups to keep
|
|
worldrollbackstokeep={{Backups}}
|
|
|
|
#The location of the banlist. Defaults to "banlist.txt" in the working directory.
|
|
banlist={{BanList}}
|
|
|
|
#Adds addition cheat protection.
|
|
secure={{Secure}}
|
|
|
|
#Sets the server language from its language code.
|
|
#English = en-US, German = de-DE, Italian = it-IT, French = fr-FR, Spanish = es-ES, Russian = ru-RU, Chinese = zh-Hans, Portuguese = pt-BR, Polish = pl-PL,
|
|
language={{Language}}
|
|
|
|
#Automatically forward ports with uPNP
|
|
#upnp=1
|
|
|
|
#Reduces enemy skipping but increases bandwidth usage. The lower the number the less skipping will happen, but more data is sent. 0 is off.
|
|
npcstream={{NpcStream}}
|
|
|
|
#Default system priority 0:Realtime, 1:High, 2:AboveNormal, 3:Normal, 4:BelowNormal, 5:Idle
|
|
priority={{Priority}}
|
|
|
|
#Reduces maximum liquids moving at the same time. If enabled may reduce lags but liquids may take longer to settle.
|
|
slowliquids={{Slowliquids}} |