Help with darkrp commands

In darkrp how do u change what groups are allowed to like use the /setmoney command for example? I know it defaults to superadmins and higher because of ply:IsSuperAdmin() but how do I change it for like let’s say only people who have the owner rank can do it would it be like ply:GetUserGroup(“owner”) but where do I change that setting?

Well, what you need to do is this:
Open your jobs.lua and look for the job you want to be edited. Then, underneath “candemote”
You want to add this:


customCheck = function(ply) return CLIENT or
   table.HasValue({"group1","group2"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "<Put message here!> ",

You can set group1/group2 to whatever group you want, or add more by copy and pasting. If you want to edit the message that shows up, just edit that!