Permissions
To use those permission groups simply add the staff member with:
/oxide.usergroup add [playername/steamid] moderator/oxide.usergroup add [playername/steamid] admin(If they are added as an admin with "addadmin" you do not need to do this)
Having permission groups makes it much easier when dealing with multiple staff members, as you can grant permissions to the group and add/remove players from the group instead of having to add the same permissions to several players individually.
Chat Commands
/staff- Display online staff members and their availability/staff [status]- Change your status to one of the available statuses (Default statuses are: Available, Off-Duty, Busy and Afk)
Configuration
{
"Groups": [
{
"Group (Oxide group name)": "admin",
"Priority": 1,
"Title": "<color=red>Admin</color>"
},
{
"Group (Oxide group name)": "mod",
"Priority": 2,
"Title": "<color=orange>Mod</color>"
},
{
"Group (Oxide group name)": "helper",
"Priority": 3,
"Title": "<color=yellow>Helper</color>"
}
],
"Statuses": [
{
"Color": "green",
"Command": "available",
"Title": "Available"
},
{
"Color": "#FF0000",
"Command": "od",
"Title": "Off-Duty"
},
{
"Color": "yellow",
"Command": "busy",
"Title": "Busy"
},
{
"Color": "orange",
"Command": "afk",
"Title": "Afk"
}
]
}
Groups- Oxide groups that are displayed on the staff roster. (You can add as much oxide groups to the config as needed)Group- The name of the oxide groupPriority- Priority of the group, lower number = higher priority. This is used when players have more than 1 of the groups.Title- Title of the group that's displayed on the staff roster.
Statuses- All available statuses (You can add as much statuses to the config as needed)Color- Color of the status displayed in the staff roster.Command- Used to change the status,/staff [status]command.Title- Title of the status displayed in the staff roster.
Localization
{
"StaffList": "<color=orange>StaffRoster</color>: Current Staff online are:",
"StaffEntry": "{Title} <color=orange>{Player}</color> Status: {Status}",
"NoStaff": "<color=orange>StaffRoster</color>: Current there is no staff online.",
"NoPermission": "<color=orange>StaffRoster</color>: Only staff members are able to use this command.",
"StatusChanged": "<color=orange>StaffRoster</color>: {Title} {Player} has changed their status to: {Status}",
"SameStatus": "<color=orange>StaffRoster</color>: You already have that status.",
"StatusInvalid": "<color=orange>StaffRoster</color>: Invalid status, available statuses:\n{Statuses}"
}
Credits
- Noviets, author of the original Hurtworld plugin
MIT License
Copyright (c) 2019 MrBlue
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

