Add command to list someone's bans (#12927)

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
metalgearsloth
2022-12-20 21:40:13 +11:00
committed by GitHub
parent 8d66511515
commit bc49409a93
3 changed files with 77 additions and 43 deletions

View File

@@ -0,0 +1,14 @@
# ban
cmd-ban-desc = Bans somebody
cmd-ban-help = Usage: {$Command} <name or user ID> <reason> [duration in minutes, leave out or 0 for permanent ban]
cmd-ban-player = Unable to find a player with that name.
cmd-ban-self = You can't ban yourself!
cmd-ban-hint = <name/user ID>
cmd-ban-hint-reason = <reason>
cmd-ban-hint-duration = [duration]
# listbans
cmd-banlist-desc = Lists a user's active bans.
cmd-banlist-help = Usage: banlist <name or user ID>
cmd-banlist-empty = No active bans found for {$user}
cmd-banlistF-hint = <name/user ID>