View Full Version : How to edit gmlevels
10-17-2015, 04:48 PM
Hey just as topic says. I want to edit gmlevel. I just want to move commands reset spells to 4th gmlevel. I can't find out how to do it. I think it has something with rbac but I can't really find which things I have to change.
10-17-2015, 05:26 PM
Hey there! Yes you are correct any GM level privileges are done through rbac
In the auth db you will find a table called
This will include secID and permissionId. The secID is the different GM levels while the permissionId represents that GMlevel in the
Take a look at the rbac_permissions table it has all the permissions and their Ids.
You must insert into the linked permissions table a permissionId in the ID column and a permission ID in the linkedId column.
Edit: A quick way to change which level account has which privileges is run an SQL query like
SET id=INSERT_GM_PERMISSION_ID_HERE //The rank which you want to push the privileges to
WHERE id=INSERT_OLD_PERMISSION_ID; //The rank which you want to take privileges from
The IDs i refer to here are the permissionID from default_permissions table.
This will overwrite the table so make sure you have the right IDs
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.