Register more console commands for admins and mods (#683)

* Register more console commands for admins and mods

* Add host role with roles we don't want admins to have

Excluded shutdown since I dunno if the watchdog will restart the server if we do that, and really restart and restartround should work for our purposes. Exluded rmgrid since it still crashes no matter how you use it.

* Add group command to admin role

Doesn't actually work anywhere except the server console but admins should have it once it does to list their current group.

* Give admin group addai
This commit is contained in:
moneyl
2020-02-22 18:47:11 -05:00
committed by GitHub
parent 6fbeb16b31
commit 5ccdc0751a

View File

@@ -26,6 +26,9 @@
- showtime - showtime
- observe - observe
- toggleready - toggleready
- kick
- listplayers
- loc
- Index: 100 - Index: 100
Name: Administrator Name: Administrator
@@ -52,5 +55,76 @@
- respawn - respawn
- rejuvenate - rejuvenate
- addcomp - addcomp
- kick
- listplayers
- loc
- lsmap
- lsgrid
- mindinfo
- addrole
- rmrole
- showtime
- group
- addai
CanViewVar: true
CanAdminPlace: true
- Index: 200
Name: Host
Commands:
- joingame
- help
- list
- say
- whisper
- me
- ooc
- showtime
- aghost
- observe
- toggleready
- spawn
- delete
- tp
- tpgrid
- setgamepreset
- startround
- endround
- restartround
- respawn
- rejuvenate
- addcomp
- kick
- listplayers
- loc
- lsmap
- lsgrid
- mindinfo
- addrole
- rmrole
- srvpopupmsg
- group
- showtime
- restart
- cvar
- netaudit
- szr_stats
- mem
- addai
- loglevel
- testlog
- addmap
- rmmap
- savebp
- loadbp
- savemap
- loadmap
- pausemap
- unpausemap
- querymappaused
- mapinit
- saveconfig
- gc
- gc_mode
CanViewVar: true CanViewVar: true
CanAdminPlace: true CanAdminPlace: true