Add stealthmins (#26263)

* Add stealthmin command.

* Update Content.Server/Administration/Commands/AdminWhoCommand.cs

As suggested by CE.

Co-authored-by: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>

* Add admin notifications for admins toggling stealthmin.

* Localize stealthmin command

---------

Co-authored-by: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
This commit is contained in:
nikthechampiongr
2024-03-24 17:39:53 +02:00
committed by GitHub
parent 3731cc3c50
commit dca0c6694b
11 changed files with 197 additions and 10 deletions

View File

@@ -0,0 +1,3 @@
cmd-stealthmin-desc = Toggle whether others can see you in adminwho.
cmd-stealthmin-help = Usage: stealthmin\nUse stealthmin to toggle whether you appear in the output of the adminwho command.
cmd-stealthmin-no-console = You cannot use this command from the server console.

View File

@@ -6,4 +6,8 @@ admin-manager-no-longer-admin-message = You are no longer an admin.
admin-manager-admin-permissions-updated-message = Your admin permission have been updated.
admin-manager-admin-logout-message = Admin logout: {$name}
admin-manager-admin-login-message = Admin login: {$name}
admin-manager-admin-data-host-title = Host
admin-manager-admin-data-host-title = Host
admin-manager-stealthed-message = You are now a hidden admin.
admin-manager-unstealthed-message = You are no longer hidden.
admin-manager-self-enable-stealth = {$stealthAdminName} is now hidden.
admin-manager-self-disable-stealth = {$exStealthAdminName} is no longer hidden.