diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 2fda7488b44..3cf5995259a 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -154,6 +154,8 @@ var/starlight = 0 var/grey_assistants = 0 + var/aggressive_changelog = 0 + /datum/configuration/New() var/list/L = typesof(/datum/game_mode) - /datum/game_mode for(var/T in L) @@ -327,6 +329,8 @@ config.notify_new_player_age = text2num(value) if("irc_first_connection_alert") config.irc_first_connection_alert = 1 + if("aggressive_changelog") + config.aggressive_changelog = 1 else diary << "Unknown setting in configuration: '[name]'" diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index ccb94c8974c..82eb1a1227d 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -168,8 +168,10 @@ var/next_external_rsc = 0 if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. src << "You have unread updates in the changelog." - winset(src, "rpane.changelogb", "background-color=#eaeaea;font-style=bold") - + if(config.aggressive_changelog) + src.changes() + else + winset(src, "rpane.changelogb", "background-color=#eaeaea;font-style=bold") ////////////// //DISCONNECT// diff --git a/config/config.txt b/config/config.txt index e28c4ff6b2f..6f48d69d3d8 100644 --- a/config/config.txt +++ b/config/config.txt @@ -187,4 +187,7 @@ NOTIFY_NEW_PLAYER_AGE 0 ## Deny all new connections by ckeys we haven't seen before (exempts admins and only denies the connection if the database is enabled and connected) ## Requires database -#PANIC_BUNKER \ No newline at end of file +#PANIC_BUNKER + +## Uncomment to have the changelog file automatically open when a user connects and hasn't seen the latest changelog +#AGGRESSIVE_CHANGELOG \ No newline at end of file diff --git a/html/changelogs/Jordie0608 changelogpop.yml b/html/changelogs/Jordie0608 changelogpop.yml new file mode 100644 index 00000000000..1754c9dc2e7 --- /dev/null +++ b/html/changelogs/Jordie0608 changelogpop.yml @@ -0,0 +1,6 @@ +author: Jordie0608 + +delete-after: True + +changes: + - rscadd: "Server hosts can set a config option to make an unseen changelog pop up on connection." \ No newline at end of file