Jump to content
TrinityCore

AllowTwoSide.WhoList 


Lily
 Share

Recommended Posts

mysql> select * from auth.rbac_permissions where id > 23 AND id < 30;
+----+-------------------------------------------------+
| id | name                                            |
+----+-------------------------------------------------+
| 24 | Two side faction characters on the same account |
| 25 | Allow say chat between factions                 |
| 26 | Allow channel chat between factions             |
| 27 | Two side mail interaction                       |
| 28 | See two side who list                           |
| 29 | Add friends of other faction                    |
+----+-------------------------------------------------+

 

mysql> select * from auth.rbac_permissions where id = 195;
+-----+------------------------+
| id  | name                   |
+-----+------------------------+
| 195 | Role: Sec Level Player |
+-----+------------------------+

 

EXAMPLE: Let's add both factions on same account

mysql> INSERT INTO `auth`.`rbac_linked_permissions` (`id`, `linkedId`) VALUES ('195', '24');

mysql> select * from auth.rbac_linked_permissions where id = 195;
+-----+----------+
| id  | linkedId |
+-----+----------+
| 195 |        3 |
| 195 |        4 |
| 195 |        5 |
| 195 |        6 |
| 195 |       24 |
| 195 |       27 |
| 195 |       49 |
| 195 |      199 |
+-----+----------+

 

  • Upvote 1
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...