Dewm Posted July 17, 2020 Report Share Posted July 17, 2020 I want to promote someone to GM 2 so that they can have access to most commands, but not all. However the commands available aren't quite enough for what we need for his role as a GM. How do I enable a command to be available for him to use? i.e. additem and level Link to comment Share on other sites More sharing options...
Aokromes Posted July 18, 2020 Report Share Posted July 18, 2020 21 hours ago, Dewm said: I want to promote someone to GM 2 so that they can have access to most commands, but not all. However the commands available aren't quite enough for what we need for his role as a GM. How do I enable a command to be available for him to use? i.e. additem and level https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130095/RBAC+Role+based+Access+Control Link to comment Share on other sites More sharing options...
Dewm Posted July 20, 2020 Author Report Share Posted July 20, 2020 @Aokromes I had found that link but the information didn't make sense to me. Are there any examples that I could use to help me figure it out? Link to comment Share on other sites More sharing options...
Jinnai Posted July 21, 2020 Report Share Posted July 21, 2020 You have to look into your database for a better understanding of the RBAC System. There are several tables to utilize this system. RBAC Permissions hold all the commands and their IDs, this is where you start looking trough stuff: RBAC default permissions is the overview of basic roles that TC ships - you can see secID 3 here for example, this is GM level 3. 0 Is the default player: RBAC linked permissions is where you create command groups. You will find ID 192 right at the start of it, so you can see commands that are exclusive to GM Level 3. ID 192 also has a link to 193 (as marked in the screenshot) which tells you that all permissions from GM Level 2 are included in GM Level 3: In RBAC account permissions you can grant or deny specific things to single accounts. Example: Account ID 135 is a GM Level 3 but you dont want him to be able to access the AH-Bot commands? Add him here, pick the Permission IDs (778,779,...) and set granted to 0 on the realm of your choice. Link to comment Share on other sites More sharing options...
Recommended Posts