From 53b66378dd37ab58db3a6676a39fad0e529d4e2f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 30 Jun 2023 14:02:54 +0100 Subject: [PATCH] feat: update serverconfig.txt - Set the world to load automatically on server start - Enable autocreation of a new world if none is found - Remove the seed for autocreated worlds - Change the name of the autocreated world to "Terraria" - Set the difficulty of the world to classic mode (0) - Increase max players allowed on the server to 16 - Change the port number to 7777 - Remove the password for server access - Enable cheat protection - Set the server language to English (en-US) - Disable automatic port forwarding with uPNP --- terraria/serverconfig.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/terraria/serverconfig.txt b/terraria/serverconfig.txt index 075b8bc..9ba2da2 100644 --- a/terraria/serverconfig.txt +++ b/terraria/serverconfig.txt @@ -26,28 +26,28 @@ #Load a world and automatically start the server. #WARNING: Environment variables ($HOME, ~) don't work yet, so the stated file will be relatively loaded from "serverfiles" if the given path is relative. -#world=~/.local/share/Terraria/Worlds/world1.wld +world=~/.local/share/Terraria/Worlds/world1.wld #Creates a new world if none is found. World size is specified by: 1(small), 2(medium), and 3(large). -#autocreate=1 +autocreate=1 #Sets the world seed when using autocreate -#seed=AwesomeSeed +seed= #Sets the name of the world when using autocreate -#worldname=Terraria +worldname=Terraria #Sets the difficulty of the world when using autocreate 0(classic), 1(expert), 2(master), 3(journey) -#difficulty=0 +difficulty=0 #Sets the max number of players allowed on a server. Value must be between 1 and 255 -#maxplayers=8 +#maxplayers=16 #Set the port number -#port=7777 +port=7777 #Set the server password -#password=p@55w0rd +password= #Set the message of the day #motd=Please don’t cut the purple trees! @@ -63,11 +63,11 @@ #banlist=banlist.txt #Adds addition cheat protection. -#secure=1 +secure=1 #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=en-US +language=en-US #Automatically forward ports with uPNP #upnp=1