Begin to add the admin bypass cooldown option

This commit is contained in:
zontreck 2025-03-07 01:44:27 -07:00
parent f86030dc61
commit cd00e620c3
4 changed files with 24 additions and 3 deletions

View file

@ -124,6 +124,14 @@ namespace AriasServerUtils
.WithDescription("DANGER: This updates the flag allowing anybody to create warps, even non-admins. It is recommended to leave this alone. The default is true/on/yes")
.HandleWith(Events.HandleUpdateASUMgrWarps)
.EndSubCommand()
.BeginSubCommand("adminBypassCooldown")
.RequiresPrivilege(Privilege.controlserver)
.WithArgs(
parsers.Bool("bypass")
)
.WithDescription("This flag controls whether admins can or can not bypass the cooldown system")
.HandleWith(Events.HandleUpdateASUBypassCD)
.EndSubCommand()
.BeginSubCommand("maxback")
.RequiresPrivilege(Privilege.controlserver)
.WithArgs(