Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2_GameServer_It
- Index: java/l2/brick/Config.java
- ===================================================================
- --- java/l2/brick/Config.java (revision ...)
- +++ java/l2/brick/Config.java (working copy)
- @@ -847,6 +847,8 @@
- public static int L2JMOD_CHAMPION_REWARD;
- public static int L2JMOD_CHAMPION_REWARD_ID;
- public static int L2JMOD_CHAMPION_REWARD_QTY;
- /** Team vs. Team Event Engine */
- public static boolean TVT_EVENT_ENABLED;
- @@ -881,6 +883,12 @@
- public static boolean L2JMOD_WEDDING_SAMESEX;
- public static boolean L2JMOD_WEDDING_FORMALWEAR;
- public static int L2JMOD_WEDDING_DIVORCE_COSTS;
- + public static boolean CLAN_LEADER_COLOR_ENABLED;
- + public static int CLAN_LEADER_COLOR;
- // Packet information
- /** Count the amount of packets per minute ? */
- @@ -1858,6 +1868,12 @@
- L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(ExtraConfig.getProperty("WeddingAllowSameSex", "False"));
- L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(ExtraConfig.getProperty("WeddingFormalWear", "True"));
- L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(ExtraConfig.getProperty("WeddingDivorceCosts", "20"));
- + CLAN_LEADER_COLOR_ENABLED = Boolean.parseBoolean(ExtraConfig.getProperty("ClanLeaderColorEnabled", "False"));
- + CLAN_LEADER_COLOR = Integer.decode("0x" + L2JModSettings.getProperty("ClanLeaderColor", "00FF00"));
- +
- L2JMOD_ENABLE_WAREHOUSESORTING_CLAN = Boolean.valueOf(ExtraConfig.getProperty("EnableWarehouseSortingClan", "False"));
- Index: java/config/l2jmods.properties
- ===================================================================
- --- java/config/ingameevents.properties (revision ...)
- +++ java/config/ingameevents.properties (working copy)
- @@ -132,3 +132,9 @@
- #Noble Color Support
- NobleNameColorEnabled = False
- #If Noble Color Support enable: Default: EE0000 (blue)
- NobleColor = EE0000
- +#Clan Leader Color Support
- +ClanLeaderColorEnabled = False
- +#Clan Leader Color Name
- +ClanLeaderColor= 00FF00
- Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
- ===================================================================
- --- java/l2/brick/gameserver/clientpackets/EnterWorld.java (revision ...)
- +++ java/l2/brick/gameserver/clientpackets/EnterWorld.java (working copy)
- @@ -148,6 +148,11 @@
- //set Noble character Color if enable
- if(activeChar.isNoble() && !activeChar.isGM() && Config.ALT_NOBLE_COLOR_ENABLED)
- activeChar.getAppearance().setNameColor(Config.ALT_NOBLE_COLOR);
- +
- + //set Clan Leader color if enable
- + if(activeChar.isClanLeader() && !activeChar.isGM() && Config.CLAN_LEADER_COLOR_ENABLED)
- + activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
- +
- // Set dead status if applies
- if (activeChar.getCurrentHp() < 0.5)
- activeChar.setIsDead(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement