diff --git a/code/controllers/configuration/entries/general.dm b/code/controllers/configuration/entries/general.dm index f805312d2b4..758b049c9c7 100644 --- a/code/controllers/configuration/entries/general.dm +++ b/code/controllers/configuration/entries/general.dm @@ -561,3 +561,6 @@ /datum/config_entry/flag/cache_assets default = TRUE + +/datum/config_entry/flag/station_name_in_hub_entry + default = FALSE diff --git a/code/game/world.dm b/code/game/world.dm index 5a82a6d0bb7..903c361c08c 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -287,13 +287,15 @@ GLOBAL_VAR(restart_counter) if(config) var/server_name = CONFIG_GET(string/servername) if (server_name) - s += "[server_name] — " + s += "[server_name] " features += "[CONFIG_GET(flag/norespawn) ? "no " : ""]respawn" if(CONFIG_GET(flag/allow_ai)) features += "AI allowed" hostedby = CONFIG_GET(string/hostedby) - s += "[station_name()]"; + if (CONFIG_GET(flag/station_name_in_hub_entry)) + s += " — [station_name()]" + s += " (" s += "" //Change this to wherever you want the hub to link to. s += "Default" //Replace this with something else. Or ever better, delete it and uncomment the game version. diff --git a/config/config.txt b/config/config.txt index 3e36f266db8..cffd6e8ebb5 100644 --- a/config/config.txt +++ b/config/config.txt @@ -590,3 +590,8 @@ MOTD motd.txt ## This should be disabled (through `CACHE_ASSETS 0`) on development, ## but enabled on production (the default). CACHE_ASSETS 0 + +## Uncomment to allow the station name to be in the hub entry. +## You should only enable this if you can guarantee a station name doesn't break BYOND's TOS. +## BYOND staff have gotten upset at us in the past for inappropriate station names. +#STATION_NAME_IN_HUB_ENTRY