Forum > Serverside Modding
[SOLVED] GM Commands for users
(1/4) > >>
Alice:
Hi, i want to ask if it is possible put some GM commands for users, and how. I want to choose the commands, not put all commands of course.Thanks.
Rochet2:
could be useful to know what core you are using. on trinitycore you can use the rbac system in auth database to give the commands as permissions to the player GM level. See the groupID in rbac_default_permissions for the gmlevel 0 and then use the rbac_linked_permission table to link permissions to that ID. Each command has a permission ID set and you can see them in rbac_permissions table (I think that was the name ..) or in the world database commands table.
Alice:
I have trinitycore. But, How do I identify which is every command? For example: i want commands .Go a and .Tel for all users. Thanks
Amaroth:
195 is ID of permission Player permissions - every player has player permissions. 1 is ID of instant logout, it enables you to logout without that stupid 20 sec waiting time.
So, when you link permission 195 (player permissions) to permission 1 (instant logout), every account with at least player permissions (GMs have all player permisisons, admins have all player and GM permissions...) can instantly logout. Commands are exactly the same, you just need to find their permission ID and do the same.
EDIT: That table on the bottom, at third picture, is auth.rbac_linke_permissions, sorry, mistake.
Questions?
Смердокрыл:
If a normal player has gmlevel 1 (or 0, I dont remember), go to MySQL, World, Comands table, and set the needed comands level 1 (or 0)
Navigation
[0] Message Index
[#] Next page
|