How to setup OpenMod Permission System
Articles on: Game Hosting
How to setup OpenMod Permission System
- The first thing you will want to do is navigate to
/Servers/unturned/Openmod
.
- Once you get there you should see a file called
openmod.roles.yaml
.
- So once you get there you will see the default roles for Openmod.
- You will most likely want to edit these roles to add Staff Roles, Donator Roles, and regular players roles.
Example of adding a new role
You can copy and paste this and just change the names of each role.
Note: Keep in mind the YAML syntax must be correct or the hot reloading of the file will fail!
undefined id: ExampleRole priority: 1 parents: - default permissions: displayName: ExampleRole data: {} isAutoAssigned: false
Example of adding permissions to a role
You will keep adding permissions like so for each role that you want to have the permission.
undefined - id: ExampleRole priority: 1 parents: - default permissions: - examplepermission - examplepermission displayName: ExampleRole data: {} isAutoAssigned: false
Command to add people to roles
openmod role add player playername rolename
or
om role add player playername rolename
Command to remove people from roles
openmod role remove player playername rolename
or
om role remove player playername rolename
If you require any further assistance, please create a ticket here.
Created By: Griffin H.
Updated on: 11/11/2022
Actualizado el: 31/07/2024
¡Gracias!