From 699dff3de1e716e9162196266e19b571df57aa4c Mon Sep 17 00:00:00 2001 From: oranges Date: Wed, 27 Oct 2021 13:35:23 +1300 Subject: [PATCH] Adds an improved ban UX for the end user also quads ->> (#62222) Now a short autoplaying video is included, that will explain to the user why they are no longer able to access tgstation resources. It may be suitable to host the video on tgstation's cdn instead --- Dockerfile | 2 +- code/modules/admin/sql_ban_system.dm | 2 ++ tools/tgs4_scripts/made_you_look.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 tools/tgs4_scripts/made_you_look.md diff --git a/Dockerfile b/Dockerfile index 0ae4f82be80..cd3b10936d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # base = ubuntu + full apt update FROM ubuntu:xenial AS base - +gamer025 is cool RUN dpkg --add-architecture i386 \ && apt-get update \ && apt-get upgrade -y \ diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index 154872287d7..c6d0df66b13 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -1002,6 +1002,7 @@ if(player_client) build_ban_cache(player_client) to_chat(player_client, span_boldannounce("[banned_player_message]
To appeal this ban go to [appeal_url]"), confidential = TRUE) + to_chat(player_client, ""); if(GLOB.admin_datums[player_client.ckey] || GLOB.deadmins[player_client.ckey]) is_admin = TRUE if(kick_banned_players && (!is_admin || (is_admin && applies_to_admins))) @@ -1011,6 +1012,7 @@ if(other_player_client.address == banned_player_ip || other_player_client.computer_id == banned_player_cid) build_ban_cache(other_player_client) to_chat(other_player_client, span_boldannounce("[banned_other_message]
To appeal this ban go to [appeal_url]"), confidential = TRUE) + to_chat(other_player_client, ""); if(GLOB.admin_datums[other_player_client.ckey] || GLOB.deadmins[other_player_client.ckey]) is_admin = TRUE if(kick_banned_players && (!is_admin || (is_admin && applies_to_admins))) diff --git a/tools/tgs4_scripts/made_you_look.md b/tools/tgs4_scripts/made_you_look.md new file mode 100644 index 00000000000..e76955d3d51 --- /dev/null +++ b/tools/tgs4_scripts/made_you_look.md @@ -0,0 +1 @@ +oranges was here