Page 1 of 1
Nickname color in database
Posted: Sun Aug 09, 2009 3:36 am
by celarien
Does anyone know how (or if it's possible) to set a character's nickname color via database?
The access_levels table is used for what? Could I create a new access level for a common player? If so, how do I set that player's access level? (Because by what I have in that table the admin's access level is 1, but to create an admin you must set the character's access level to 127)
Thanks in advance

Re: Nickname color in database
Posted: Sun Aug 09, 2009 7:39 am
by janiii
in access_levels you have just more possibilities to define different levels of admins with different command permissions. but you also can just define it only for players when you set isGM to 0.
e.g. set your desired color on the access_level 6, check that it has 0 on isGM column, and then set the players accessLevel in the character table to 6.
Re: Nickname color in database
Posted: Sat Aug 15, 2009 4:02 am
by celarien
janiii wrote:in access_levels you have just more possibilities to define different levels of admins with different command permissions. but you also can just define it only for players when you set isGM to 0.
e.g. set your desired color on the access_level 6, check that it has 0 on isGM column, and then set the players accessLevel in the character table to 6.
Thanks for your reply.
That was my first thought... but I just tested it.
I created an entry in access_levels with accessLevel = 10. Then I created a character, logged off, and set his accessLevel to 10. When I logged in his nickname was normal color. Then when I log off the server automatically sets his accessLevel to 0...
Re: Nickname color in database
Posted: Sat Aug 15, 2009 9:04 am
by celarien
I managed to do it... I needed to restart the server for it to reload the access_level data... Now it works fine!
Thx!!