Allow admins to bypass the max rtp distance

This commit is contained in:
zontreck 2025-03-07 11:53:57 -07:00
parent 700de94ffe
commit c5c605d057
4 changed files with 25 additions and 4 deletions

View file

@ -133,6 +133,14 @@ namespace AriasServerUtils
.WithDescription("This flag controls whether admins can or can not bypass the cooldown system")
.HandleWith(Events.HandleUpdateASUBypassCD)
.EndSubCommand()
.BeginSubCommand("adminsBypassRTPMaxDist")
.RequiresPrivilege(Privilege.controlserver)
.WithArgs(
parsers.Bool("bypass")
)
.WithDescription("This flag would allow admins to go further than the max server RTP distance when manually specifying a distance to RTP")
.HandleWith(Events.HandleUpdateASUBypassRTPMaxDist)
.EndSubCommand()
.BeginSubCommand("maxback")
.RequiresPrivilege(Privilege.controlserver)
.WithArgs(