Thread Status:
Not open for further replies.
  1. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    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.


    Giving an individual player a permission

    Sometimes you just want a single player to have permission to a command or feature.
    Code (Text):
    grant user Wulf oxide.reload
    Removing a permission from an individual player

    Don't want that user to have the permission you granted anymore? Just revoke it!
    Code (Text):
    revoke user Wulf oxide.reload
    Giving an entire Oxide group a permission

    This is basically the same process only instead of granting a permission to a single user, you grant it to an entire group.
    Code (Text):
    grant group admin oxide.reload
    Removing a permission from a group

    Decided that you don't want a group to have a permission anymore? You can easily remove it by using the revoke command.
    Code (Text):
    revoke group admin oxide.reload
    Adding a user to an existing group

    Code (Text):
    usergroup add Wulf admin
    Removing a user from an existing group

    Code (Text):
    usergroup remove Wulf admin
    Adding a entirely new group

    Code (Text):
    group add vip
    Code (Text):
    group add vip VIP 0
    Removing an existing group

    Code (Text):
    group remove vip
    Setting the title or rank of a group

    Code (Text):
    group set vip "[VIP Member]"
    Code (Text):
    group set vip "[VIP Member]" 1
    Setting the parent group of another group

    Code (Text):
    group parent admin default
    Showing a user's permissions

    Code (Text):
    show user Wulf
    Showing a group's members and permissions

    Code (Text):
    show group admin
    Showing which user or group has a permission

    Sometimes you need a little help tracking down who has a permission, this command should help with that!
    Code (Text):
    show perm oxide.reload
    Showing all groups or permissions

    To show all of the permission groups, simple use the command below.
    Code (Text):
    show groups
    The show all of the registered permissions from plugins and Oxide, use the command below.
    Code (Text):
    show perms
    Using wildcards

    A wildcard is something that covers multiple things at once time. For permissions, this is the * symbol. You can use the wildcard (*) to grant or revoke multiple permissions at one time. This can be done with all permissions or per plugin based on prefix.
    Code (Text):
    grant group admin *
    Code (Text):
    grant user Wulf oxide.*
    Code (Text):
    revoke group admin *
    Code (Text):
    revoke user Wulf oxide.*

    If for some reason the base commands do not work (ex. "grant"), the same commands are also available with the "oxide." prefix (ex. "oxide.grant"). Some consoles such as the F1 client console in Rust may not work with all of the base commands provided by Oxide.

    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.
     
    Last edited: Apr 30, 2017
Thread Status:
Not open for further replies.