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.
17 lines
892 B
Plaintext
17 lines
892 B
Plaintext
## 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}'
|