Server Version= 3870
Datapack Version= 6967
I decided to try out the Chat Moderation mod.
Accesslevel 7 was already taken on my server, so I set it to 8 instead.
I changed in the admin_command_access_rights to give the access level 8 right to use the commands.
I set ChatAdmin to True in l2jmods configuration file.
I then chose a few players and gave them accesslevel 8.
Now, when they logged in, the title-color was yellow, and not blue! Name was still normal.
Is this supposed to happen, and if so, where can I change this so that these players have normal color?
In access_levels, both nameColor and titleColor is set to -1 - don't know why, but that was default. A quick fix would be to set the blue default colour here, but I don't know the hex for it.
ChatAdmin
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: ChatAdmin
probably only a typo ^^
Code: Select all
Index: java/com/l2jserver/gameserver/datatables/AccessLevels.java===================================================================--- java/com/l2jserver/gameserver/datatables/AccessLevels.java (revision 3799)+++ java/com/l2jserver/gameserver/datatables/AccessLevels.java (working copy)@@ -138,7 +138,7 @@ { try {- titleColor = Integer.decode("0x77FFFF");+ titleColor = Integer.decode("0xFFFF77"); } catch (NumberFormatException nfe2) {
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
Re: ChatAdmin
Thanks Janiii!
Tested and works!
Commit?!
Tested and works!
Commit?!

- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: ChatAdmin
thanks for report and testing, commited in http://www.l2jserver.com/trac/changeset/3877 

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: ChatAdmin
"-1" is the transparent color, meaning name/title color is not changed.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;