]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add new "grant_connect_bypass" admin command (#26771)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Tue, 9 Apr 2024 15:25:21 +0000 (17:25 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Apr 2024 15:25:21 +0000 (17:25 +0200)
commitd879665b52c6c30d057e94ed49b222b8a1585717
treea80a3097b5b026f9400e7d37b0a7c7d3b07723d7
parent6d695dd3262c8a7492ce2164da6d16add9d80017
Add new "grant_connect_bypass" admin command (#26771)

This command allows you to grant a player temporary privilege to join regardless of player cap, whitelist, etc. It does not bypass bans.

The API for this is IConnectionManager.AddTemporaryConnectBypass().

I shuffled around the logic inside ConnectionManager. Bans are now checked before panic bunker.
Content.Server/Connection/ConnectionManager.cs
Content.Server/Connection/GrantConnectBypassCommand.cs [new file with mode: 0644]
Resources/Locale/en-US/administration/commands/connection-commands.ftl [new file with mode: 0644]