13-08-2010, 02:08 PM
#11 (permalink )
Membro - Veterano
Registrado em: Dec 2009
Posts: 1,335
Agradecido 803 Vezes em 427 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Rate
Designer: Iniciante
Meu Estado:
Inventório de Mazokista
Index: Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
===================================================================
--- Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
+++ Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
@@ -93,4 +93,8 @@
+
+#Clan Leader Title Name
+ClanLeaderTitleEnabled = False
+ClanLeaderTitle= 00FF00
+
Index: Trunk\L2JStep_CORE\java\com\l2jstep\config.java
===================================================================
--- Trunk\L2JStep_CORE\java\com\l2jstep\config.java
+++ Trunk\L2JStep_CORE\java\com\l2jstep\config.java
@@ -561,4 +561,6 @@
+ public static boolean CLAN_LEADER_TITLE_ENABLED;
+ public static int CLAN_LEADER_TITLE;
@@ -994,5 +996,7 @@
+ CLAN_LEADER_TITLE_ENABLED = Boolean.parseBoolean(L2JMods.getProperty("ClanLeaderTitleEnabled", "False"));
+ CLAN_LEADER_TITLE = Integer.decode("0x" + L2JMods.getProperty("ClanLeaderTitle", "00FF00"));
Index: Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
===================================================================
--- Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
+++ Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
@@ -213,5 +213,13 @@
}
}
+ if (Config.CLAN_LEADER_TITLE_ENABLED)
+ {
+ if(activeChar.isClanLeader())
+ {
+ activeChar.getAppearance().setTitleColor(Config.CLAN_LEADER_TITLE);
+ }
+ }
+
if (Config.ANNOUNCE_GM_LOGIN)
{
if (activeChar.getAccessLevel() >= 100)