Basic Permissions - Joe91/fun-bots GitHub Wiki
Managing a user's permission
At this time, you can only manage someone's permissions using Procon.
You can also modify the Config.lua and ignore the permissions completely by setting the var IgnorePermissions
to true
.
When in Procon, you need to open the console to enter commands.
Awarding permission to a user
You can give someone permission to do a certain action (See the list of permissions). In the console enter funbots.Permissions <username / UUID> <permission name>
.
Running this command will allow the user Firjen
to have access to all commands and settings (not recommended)
List the permissions of a user
In order to view the permissions a user has access to, you can run the console command funbots.Permissions <username / UUID>
. This will return all the permissions that the current user has access to.
Removing permission from a user
You can revoke the permission of a user by running the console command funbots.Permissions <username / UUID> !<permission name>
. The exclamation mark will revoke the permission of the user.
List of permissions
The following permissions are available:
Permission Name | Decription |
---|---|
ChatCommands | |
ChatCommands.* |
Grant all permissions to all ChatCommands |
ChatCommands.Row |
Access to !row ChatCommand |
ChatCommands.Tower |
Access to !tower ChatCommand |
ChatCommands.Grid |
Access to !grid ChatCommand |
ChatCommands.Mimic |
Access to !mimic ChatCommand |
ChatCommands.Mirror |
Access to !mirror ChatCommand |
ChatCommands.Static |
Access to !static ChatCommand |
ChatCommands.SpawnLine |
Access to !spawnline ChatCommand |
ChatCommands.SpawnWay |
Access to !spawnway ChatCommand |
ChatCommands.SpawnBots |
Access to !spawnbots ChatCommand |
ChatCommands.Respawn |
Access to !respawn ChatCommand |
ChatCommands.Shoot |
Access to !shoot ChatCommand |
ChatCommands.SetBotKit |
Access to !setbotkit ChatCommand |
ChatCommands.SetBotColor |
Access to !setbotcolor ChatCommand |
ChatCommands.SetAim |
Access to !setaim ChatCommand |
ChatCommands.ShootBack |
Access to !shootback ChatCommand |
ChatCommands.AttackMelee |
Access to !attackmelee ChatCommand |
ChatCommands.StopAll |
Access to !stopall ChatCommand |
ChatCommands.Stop |
Access to !stop ChatCommand |
ChatCommands.KickPlayer |
Access to !kickplayer ChatCommand |
ChatCommands.Kick |
Access to !kick ChatCommand |
ChatCommands.KickTeam |
Access to !kickteam ChatCommand |
ChatCommands.KickAll |
Access to !kickall ChatCommand |
ChatCommands.Kill |
Access to !kill ChatCommand |
ChatCommands.KillAll |
Access to !killall ChatCommand |
ChatCommands.GetNodes |
Access to !getnodes ChatCommand |
ChatCommands.SendNodes |
Access to !sendnodes ChatCommand |
ChatCommands.Trace |
Access to !trace ChatCommand |
ChatCommands.TraceDone |
Access to !tracedone ChatCommand |
ChatCommands.ClearTrace |
Access to !cleartrace ChatCommand |
ChatCommands.ClearAllTraces |
Access to !clearalltraces ChatCommand |
ChatCommands.PrintTransform |
Access to !printtrans ChatCommand |
ChatCommands.TraceSave |
Access to !tracesave ChatCommand |
UserInterface (F12 ) |
|
UserInterface.* |
Grant all permissions to all of the UserInterface |
UserInterface.BotEditor.* |
Grant all permissions to the BotEditor of the UserInterface |
UserInterface.BotEditor.SpawnEnemy |
Access to Spawn Enemy Bots Menu |
UserInterface.BotEditor.SpawnFriend |
Access to Spawn Friend Bots Menu |
UserInterface.BotEditor.KickAll |
Access to Kick All Menu |
UserInterface.BotEditor.KickTeam |
Access to Kick Team Menu |
UserInterface.BotEditor.KillAll |
Access to Kill All Menu |
UserInterface.BotEditor.ToggleRespawn |
Access to Toggle Respawn Menu |
UserInterface.BotEditor.ToggleAttack |
Access to Toggle Attack Menu |
UserInterface.WaypointEditor.* |
Grant all permissions to the WaypointEditor of the UserInterface |
UserInterface.WaypointEditor.Nodes.Client |
Access to Client Menu for Loading or Save Waypoint-Nodes |
UserInterface.WaypointEditor.Nodes.Server |
Access to Server Menu for Loading or Save Waypoint-Nodes |
UserInterface.WaypointEditor.View |
Access to View Menu |
UserInterface.WaypointEditor.Tracing |
Access to Tracing Menu to Start /Stop Waypoint-Traces |
UserInterface.WaypointEditor.TraceSaving |
Access to Save Trace Menu |
UserInterface.WaypointEditor.SpawnBot |
Access to Spawn Bot on Way Menu |
UserInterface.WaypointEditor.TraceClear |
Access to Clear Trace Menu |
UserInterface.WaypointEditor.TraceReset |
Access to Reset all Traces Menu |
UserInterface.Settings.* |
Grant all permissions to the Settings of the UserInterface |
Versions below 2.0.0.0
If you are running a fun-bots version lower than 2.0.0.0, you do not have the permissions yet. A password is required in order to open the fun-bots editor.
You can view and edit this password in /ext/Shared/Config.lua
by editing the value SettingsPassword
, see this example.
Restart your server after editing this value.