Skip to content

Commit e0b7739

Browse files
authored
feat: various UI changes (#4326)
* refactor: remove unnecessary comments in default server configurations The commit removes unnecessary comments from the default server configurations. The comments were providing instructions to edit the configuration files with care, but they are not needed and can be safely removed. * refactor: update server names in default configuration files - Updated the servername value in multiple default configuration files to "LinuxGSM" for consistency. - Refactored the code to reflect the changes made. * refactor: rename fn_script_log_fatal to fn_script_log_faail to create more consistency with naming * feat: improve console output formatting - Added separator function to improve readability of console output. - Replaced multiple instances of manual separators with the new function. - Updated commit message to follow conventional commit standard. * refactor: remove unnecessary fn_sleep_time calls This commit removes the fn_sleep_time function calls that are no longer needed in multiple modules. The fn_sleep_time function was used to introduce a delay, but it is no longer necessary for the current implementation. * better standardise random * removed bold where not required
1 parent 0994127 commit e0b7739

File tree

92 files changed

+310
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+310
-320
lines changed

lgsm/config-default/config-lgsm/dstserver/_default.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ shard="Master"
1515
cluster="Cluster_1"
1616
cave="false"
1717

18-
# Edit with care
1918
persistentstorageroot="${HOME}/.klei"
2019
confdir="DoNotStarveTogether"
2120

lgsm/config-default/config-lgsm/hwserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ admins=""
2626
loadsave=""
2727

2828
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
29-
# Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
29+
# http://hurtworld.wikia.com/wiki/Hosting_A_Server
3030
startparameters="-batchmode -nographics -logfile ${gamelog} -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\""
3131

3232
#### LinuxGSM Settings ####

lgsm/config-default/config-lgsm/inssserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ port="27102"
1414
queryport="27131"
1515
rconport="27015"
1616
rconpassword=""
17-
servername="LinuxGSM Server"
17+
servername="LinuxGSM"
1818
defaultmap="Canyon"
1919
defaultscenario="Scenario_Crossing_Push_Security"
2020
maxplayers="28"

lgsm/config-default/config-lgsm/loserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
1212
## https://docs.linuxgsm.com/game-servers/last-oasis
13-
servername="${selfname}"
13+
servername="LinuxGSM"
1414
ip="0.0.0.0"
1515
port="7777"
1616
queryport="27015"

lgsm/config-default/config-lgsm/mtaserver/_default.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
ip="0.0.0.0"
1313

1414
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
15-
# Edit with care
1615
startparameters=""
1716

1817
#### LinuxGSM Settings ####

lgsm/config-default/config-lgsm/ns2cserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ip="0.0.0.0"
1313
port="27015"
1414
defaultmap="co_core"
1515
maxplayers="24"
16-
servername="LinuxGSM Server"
16+
servername="LinuxGSM"
1717
httpuser="admin"
1818
httppassword="admin"
1919
httpport="8080"

lgsm/config-default/config-lgsm/ns2server/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ip="0.0.0.0"
1313
port="27015"
1414
defaultmap="ns2_summit"
1515
maxplayers="24"
16-
servername="LinuxGSM Server"
16+
servername="LinuxGSM"
1717
httpuser="admin"
1818
httppassword="admin"
1919
httpport="8080"

lgsm/config-default/config-lgsm/rustserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ appport="28082"
1616
queryport="28017"
1717
rconpassword="CHANGE_ME"
1818
rconweb="1" # values: Facepunch web panel, Rustadmin desktop and Rustadmin Online = 1, Rusty = 0.
19-
servername="Rust"
19+
servername="LinuxGSM"
2020
gamemode="vanilla" # values: vanilla, softcore ( Doc: https://wiki.facepunch.com/rust/server-gamemodes )
2121
serverlevel="Procedural Map" # values: Procedural Map, Barren, HapisIsland, SavasIsland
2222
customlevelurl="" # Custom level url. +server.levelurl \"${customlevelurl}\"

lgsm/config-default/config-lgsm/sbotsserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
port="7777"
1313
queryport="27015"
1414
defaultmap="StationKappa"
15-
servername="LinuxGSM Server"
15+
servername="LinuxGSM"
1616

1717
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
1818
startparameters="Port=${port}?QueryPort=${queryport} -startup_map ${defaultmap} -server_name \"${servername}\""

lgsm/config-default/config-lgsm/stnserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ maxplayers="20"
1212
region="0"
1313

1414
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
15-
# Edit with care | https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29
15+
# https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29
1616
startparameters="-mc ${maxplayers} -r ${region}"
1717

1818
#### LinuxGSM Settings ####

0 commit comments

Comments
 (0)