Gm privileges.
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Opiam
- Posts: 181
- Joined: Thu Jun 02, 2011 12:26 am
- Location: Europe, Ukraine
Gm privileges.
How I can set game master privileges for certain character so that he could only kick, jail, gm chat, ban (no admin acc)?

- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
- Opiam
- Posts: 181
- Joined: Thu Jun 02, 2011 12:26 am
- Location: Europe, Ukraine
Re: Gm privileges.
I can't understand how it's working 
I set true everywhere and when using gm menu server asked to me:
Are you sure you want execute command admin7
lower access level - higher privileges? or what..
for example... what commands can use gm with accesslevel 5?
and what sense of true or false in commands access rights...
IF access 1 jail = true and unjail = false works - it works. Question: Why then these variables at 1 access if they worked in adminmenu?
Pleze help me set to some GM such previlegues: jail, unjail, leleport, banchat... becouse I watched for 5 accesselvel - it's can't use banchat commands
2,3,4 has the same privileges

I set true everywhere and when using gm menu server asked to me:
Are you sure you want execute command admin7
lower access level - higher privileges? or what..
for example... what commands can use gm with accesslevel 5?
and what sense of true or false in commands access rights...
IF access 1 jail = true and unjail = false works - it works. Question: Why then these variables at 1 access if they worked in adminmenu?
Pleze help me set to some GM such previlegues: jail, unjail, leleport, banchat... becouse I watched for 5 accesselvel - it's can't use banchat commands

2,3,4 has the same privileges


- Nyaran
- Posts: 254
- Joined: Mon Apr 11, 2011 11:13 am
- Location: Madrid, Spain
- Contact:
Re: Gm privileges.
First, set an accessLevel to char, then set privileges into admin_command_access_rights table
for example

For allow to General GM to kick players set in admin_command_access_rights
adminCommand: 'admin_kick'
accessLevels: 5
Pd. With this, Admin, Head GM, Event GM and Support GM can kick, because is in childAccess.
for example

For allow to General GM to kick players set in admin_command_access_rights
adminCommand: 'admin_kick'
accessLevels: 5
Pd. With this, Admin, Head GM, Event GM and Support GM can kick, because is in childAccess.
My English is bad, if you don't understand me, call Plim and she translates it xD


- AntV
- Posts: 177
- Joined: Mon May 10, 2010 10:46 pm
Re: Gm privileges.
I started writing this before Nyarans Post, but I think it might still explain a few more things
There are 2 tables you should "study"
First one is the "access_levels"
In there you set the "access_level" and the "childAccess", so that Higher rank can also do what the lower can. For example id you want Admins, GMs and Event masters, you can set Admin as access_level 1, GM as 2 and Event Masters as 3. If you do so you must also set the "childAccess" of Admins to 2;3 and the GMs 3 (of course you can set a few other things as well in there, but I believe they are self explanatory).
The second one is the "admin_comands_access_rights"
admin_command is the command you are editing
accessLevels is the access Level a GM must have to use this command. This means either have it as an access_level or having that rank as a childAccess
In my previous example, if you set it to 3, everyone will be able to use it (Event Masters, GMs and Admins)
If you set it to 1, only the Admins will be able to use it.
The confirmDlg means that every time a GM tries to call this command, the annoying pop-up will be displayed.
If a character doesn't have access to a command, he cannot use it from the Admin menu as well.
I hope I explained everything
There are 2 tables you should "study"
First one is the "access_levels"
In there you set the "access_level" and the "childAccess", so that Higher rank can also do what the lower can. For example id you want Admins, GMs and Event masters, you can set Admin as access_level 1, GM as 2 and Event Masters as 3. If you do so you must also set the "childAccess" of Admins to 2;3 and the GMs 3 (of course you can set a few other things as well in there, but I believe they are self explanatory).
The second one is the "admin_comands_access_rights"
admin_command is the command you are editing
accessLevels is the access Level a GM must have to use this command. This means either have it as an access_level or having that rank as a childAccess
In my previous example, if you set it to 3, everyone will be able to use it (Event Masters, GMs and Admins)
If you set it to 1, only the Admins will be able to use it.
The confirmDlg means that every time a GM tries to call this command, the annoying pop-up will be displayed.
If a character doesn't have access to a command, he cannot use it from the Admin menu as well.
I hope I explained everything
- Opiam
- Posts: 181
- Joined: Thu Jun 02, 2011 12:26 am
- Location: Europe, Ukraine
Re: Gm privileges.
AntV wrote:I hope I explained everythingNyaran wrote:First, set an accessLevel to char, then set privileges into admin_command_access_rights table


- Opiam
- Posts: 181
- Joined: Thu Jun 02, 2011 12:26 am
- Location: Europe, Ukraine