diff --git a/code/controllers/configuration/sections/url_configuration.dm b/code/controllers/configuration/sections/url_configuration.dm index 1ec1c55b659..82dac8df111 100644 --- a/code/controllers/configuration/sections/url_configuration.dm +++ b/code/controllers/configuration/sections/url_configuration.dm @@ -16,6 +16,8 @@ var/rules_url /// URL for the server github repository var/github_url + /// URL for the server exploit report locaion + var/exploit_url /// URL for server donations var/donations_url /// URL for a direct discord invite @@ -41,6 +43,7 @@ CONFIG_LOAD_STR(forum_url, data["forum_url"]) CONFIG_LOAD_STR(rules_url, data["rules_url"]) CONFIG_LOAD_STR(github_url, data["github_url"]) + CONFIG_LOAD_STR(exploit_url, data["exploit_url"]) CONFIG_LOAD_STR(donations_url, data["donations_url"]) CONFIG_LOAD_STR(discord_url, data["discord_url"]) CONFIG_LOAD_STR(discord_forum_url, data["discord_forum_url"]) diff --git a/code/controllers/subsystem/tickets/tickets.dm b/code/controllers/subsystem/tickets/tickets.dm index 5ad4f92b71f..d3310abcaa6 100644 --- a/code/controllers/subsystem/tickets/tickets.dm +++ b/code/controllers/subsystem/tickets/tickets.dm @@ -232,6 +232,9 @@ SUBSYSTEM_DEF(tickets) if(GLOB.configuration.url.github_url) response_phrases["Github Issue Report"] = "To report a bug, please go to our Github page. Then go to 'Issues'. Then 'New Issue'. Then fill out the report form. If the report would reveal current-round information, file it after the round ends." + if(GLOB.configuration.url.exploit_url) + response_phrases["Exploit Report"] = "To report an exploit, please go to our Exploit Report page. Then 'Start New Topic'. Then fill out the topic with as much information about the exploit that you can. If possible, add steps taken to reproduce the exploit. The Development Team will be informed automatically of the post." + var/sorted_responses = list() for(var/key in response_phrases) //build a new list based on the short descriptive keys of the master list so we can send this as the input instead of the full paragraphs to the admin choosing which autoresponse sorted_responses += key diff --git a/config/example/config.toml b/config/example/config.toml index abd0bb1910c..e4fe6402ea8 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -766,6 +766,8 @@ wiki_url = "https://www.paradisestation.org/wiki" rules_url = "https://www.paradisestation.org/rules" # Github address github_url = "https://github.com/ParadiseSS13/Paradise" +# Exploit address +exploit_url = "https://www.paradisestation.org/forum/179-exploit-reports/" # Discord address #discord_url = "http://example.org" # Discord address (forum-based invite)