The permission system is Oxide handles controlling who can or cannot use commands and features that most plugins offer. Permissions allows server owners to give users unique abilities and benefits on their servers. Administering permissions is easy; simply enter the desired command and you're done! If your server does not have a console, you can use any compatible RCON tool or remote console to send the commands to the server. Most Oxide-supported games also support the permission commands in the chat, or will soon.
For this guide, the permission oxide.reload will be used, which is used for the oxide.reload / reload command that Oxide itself provides. Keep in mind that permissions only exist if provided by a plugin or Oxide itself.
By default, the groups that are created by Oxide are: admin and default. These can be changed by editing those under the oxide.config.json file. The admin group will automatically be assigned to players that are recognized as admin by the server. The "default" group will automatically be assigned to ALL players that connect to the server.
Giving an individual player a permission
Sometimes you just want a single player to have permission to a command or feature.
Removing a permission from an individual playerCode:oxide.grant user Wulf oxide.reload
Don't want that user to have the permission you granted anymore? Just revoke it!
Giving an entire Oxide group a permissionCode:oxide.revoke user Wulf oxide.reload
This is basically the same process only instead of granting a permission to a single user, you grant it to an entire group.
Removing a permission from a groupCode:oxide.grant group admin oxide.reload
Decided that you don't want a group to have a permission anymore? You can easily remove it by using the revoke command.
Adding a user to an existing groupCode:oxide.revoke group admin oxide.reload
Removing a user from an existing groupCode:oxide.usergroup add Wulf admin
Adding a entirely new groupCode:oxide.usergroup remove Wulf admin
Code:oxide.group add vipRemoving an existing groupCode:oxide.group add vip VIP 0
Setting the title or rank of a groupCode:oxide.group remove vip
Code:oxide.group set vip "[VIP Member]"Setting the parent group of another groupCode:oxide.group set vip "[VIP Member]" 1
Showing a user's permissionsCode:oxide.group parent admin default
Showing a group's members and permissionsCode:oxide.show user Wulf
Showing which user or group has a permissionCode:oxide.show group admin
Sometimes you need a little help tracking down who has a permission, this command should help with that!
Showing all groups or permissionsCode:oxide.show perm oxide.reload
To show all of the permission groups, simple use the command below.
The show all of the registered permissions from plugins and Oxide, use the command below.Code:oxide.show groups
Using wildcardsCode:oxide.show perms
A wildcard is something that covers multiple things at once time. For permissions, this is the * symbol. You can use the wildcard (*) to grant multiple permissions at one time. This can be done with all permissions or per plugin based on prefix.
Code:oxide.grant group admin *Code:oxide.grant user Wulf oxide.*
The same commands are also available with the "o." prefix (ex. "o.grant").
That's the basics to permissions for Oxide. Permissions give you a fantastic way to manage staff without worrying about them abusing powers from the game's admin functionality (such as flight, noclip, super speed, etc.) so they can still enjoy the game but also help monitor your server at the same time.
Using the Oxide permission system
Discussion in 'Guides and Tips' started by Wulf, Mar 6, 2017.