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.
This commit is contained in:
committed by
GitHub
parent
6d695dd326
commit
d879665b52
@@ -0,0 +1,16 @@
|
||||
## Strings for the "grant_connect_bypass" command.
|
||||
|
||||
cmd-grant_connect_bypass-desc = Temporarily allow a user to bypass regular connection checks.
|
||||
cmd-grant_connect_bypass-help = Usage: grant_connect_bypass <user> [duration minutes]
|
||||
Temporarily grants a user the ability to bypass regular connections restrictions.
|
||||
The bypass only applies to this game server and will expire after (by default) 1 hour.
|
||||
They will be able to join regardless of whitelist, panic bunker, or player cap.
|
||||
|
||||
cmd-grant_connect_bypass-arg-user = <user>
|
||||
cmd-grant_connect_bypass-arg-duration = [duration minutes]
|
||||
|
||||
cmd-grant_connect_bypass-invalid-args = Expected 1 or 2 arguments
|
||||
cmd-grant_connect_bypass-unknown-user = Unable to find user '{$user}'
|
||||
cmd-grant_connect_bypass-invalid-duration = Invalid duration '{$duration}'
|
||||
|
||||
cmd-grant_connect_bypass-success = Successfully added bypass for user '{$user}'
|
||||
Reference in New Issue
Block a user