Jump to content
  • 0

pvp pk colour system problem


Question

Posted

re paidia exw balei on kwdika alla tpy ta xrwmata paramenoun ta klassika .... ti exw kanei lathos???

+# Example: PvpAmmount1 = 100, when a character's PvP counter reaches 100, their name color will change

#
+EnablePvPColorSystem = True

#
+EnablePvPTitleSystem = True

#
+PvPAmount1 = 100

#
+NameColorForAmount1 = 000000

#
+PvPTitleForAmount1 = Title

#
+PvpAmount2 = 125

#
+NameColorForAmount2 = 00FF00

#
+PvPTitleForAmount2 = Title

#
+PvpAmount3 = 150

#
+NameColorForAmount3 = 00FF00

#
+PvPTitleForAmount3 = Title

#
+PvpAmount4 = 175

#
+NameColorForAmount4 = 00FF00

#
+PvPTitleForAmount4 = Title

#
+PvpAmount5 = 200

#
+NameColorForAmount5 = 00FF00

#
+PvPTitleForAmount5 = Title

#
+PvpAmount6 = 225

#
+NameColorForAmount6 = CCFF00

#
+PvPTitleForAmount6 = Title

#
+PvpAmount7 = 250

#
+NameColorForAmount7 = 00FF00

#
+PvPTitleForAmount7 = Title

#
+PvpAmount8 = 275

#
+NameColorForAmount8 = 00FF00

#
+PvPTitleForAmount8 = Title

#
+PvpAmount9 = 300

#
+NameColorForAmount9 = 00FF00

#
+PvPTitleForAmount9 = Title

#
+PvpAmount10 = 500

#
+NameColorForAmount10 = 00FF00

#
+PvPTitleForAmount10 = Title

#
+# Example: PkAmmount1 = 100, when a character's Pk counter reaches 100, their title color will change

#
+EnablePkColorSystem = True

#
+EnablePkTitleSystem = True

#
+PkAmount1 = 100

#
+TitleColorForAmount1 = 000000

#
+PkTitleForAmount1 = Title

#
+PkAmount2 = 125

#
+TitleColorForAmount2 = 00FF00

#
+PkTitleForAmount2 = Title

#
+PkAmount3 = 150

#
+TitleColorForAmount3 = 00FF00

#
+PkTitleForAmount3 = Title

#
+PkAmount4 = 175

#
+TitleColorForAmount4 = 00FF00

#
+PkTitleForAmount4 = Title

#
+PkAmount5 = 200

#
+TitleColorForAmount5 = 00FF00

#
+PkTitleForAmount5 = Title

#
+PkAmount6 = 225

#
+TitleColorForAmount6 = 00FF00

#
+PkTitleForAmount6 = Title

#
+PkAmount7 = 250

#
+TitleColorForAmount7 = 00FF00

#
+PkTitleForAmount7 = Title

#
+PkAmount8 = 275

#
+TitleColorForAmount8 = 00FF00

#
+PkTitleForAmount8 = Title

#
+PkAmount9 = 300

#
+TitleColorForAmount9 = 00FF00

#
+PkTitleForAmount9 = Title

#
+PkAmount10 = 500

#
+TitleColorForAmount10 = 00FF00

#
+PkTitleForAmount10 = Title

#
PVP_NORMAL_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsNormalTime", "120000"));

#
PVP_PVP_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsPvPTime", "60000"));

#
+				ANNOUNCE_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnounceKill", "False"));

#
+				PK_PROTECTION = Integer.parseInt(pvpSettings.getProperty("PkProtection", "0"));

#
+	    			PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPColorSystem", "true"));

#
+	    			PVP_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPTitleSystem", "true"));

#
+	    			PVP_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PvpAmount1", "100"));

#
+	    			PVP_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PvpAmount2", "125"));

#
+	    			PVP_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PvpAmount3", "150"));

#
+	    			PVP_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PvpAmount4", "175"));

#
+	    			PVP_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PvpAmount5", "200"));

#
+	    			PVP_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PvpAmount6", "225"));

#
+	    			PVP_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PvpAmount7", "250"));

#
+	    			PVP_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PvpAmount8", "275"));

#
+	    			PVP_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PvpAmount9", "300"));

#
+	    			PVP_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PvpAmount10", "500"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount1", "000000"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount2", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount3", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount4", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount5", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount6", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount7", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount8", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount9", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("ColorForAmount10", "00FF00"));

#
+				TITLE_FOR_PVP_AMOUNT1 = pvpSettings.getProperty("PvPTitleForAmount1", "Title");

#
+				TITLE_FOR_PVP_AMOUNT2 = pvpSettings.getProperty("PvPTitleForAmount2", "Title");

#
+				TITLE_FOR_PVP_AMOUNT3 = pvpSettings.getProperty("PvPTitleForAmount3", "Title");

#
+				TITLE_FOR_PVP_AMOUNT4 = pvpSettings.getProperty("PvPTitleForAmount4", "Title");

#
+				TITLE_FOR_PVP_AMOUNT5 = pvpSettings.getProperty("PvPTitleForAmount5", "Title");

#
+				TITLE_FOR_PVP_AMOUNT6 = pvpSettings.getProperty("PvPTitleForAmount6", "Title");

#
+				TITLE_FOR_PVP_AMOUNT7 = pvpSettings.getProperty("PvPTitleForAmount7", "Title");

#
+				TITLE_FOR_PVP_AMOUNT8 = pvpSettings.getProperty("PvPTitleForAmount8", "Title");

#
+				TITLE_FOR_PVP_AMOUNT9 = pvpSettings.getProperty("PvPTitleForAmount9", "Title");

#
+				TITLE_FOR_PVP_AMOUNT10 = pvpSettings.getProperty("PvPTitleForAmount10", "Title");

#
+	    			PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePkColorSystem", "true"));

#
+	    			PK_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePKTitleSystem", "true"));

#
+	    			PK_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PkAmount1", "100"));

#
+	    			PK_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PkAmount2", "125"));

#
+	    			PK_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PkAmount3", "150"));

#
+	    			PK_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PkAmount4", "175"));

#
+	    			PK_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PkAmount5", "200"));

#
+	    			PK_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PkAmount6", "225"));

#
+	    			PK_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PkAmount7", "250"));

#
+	    			PK_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PkAmount8", "275"));

#
+	    			PK_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PkAmount9", "300"));

#
+	    			PK_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PkAmount10", "500"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount1", "000000"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount2", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount3", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount4", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount5", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount6", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount7", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount8", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount9", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount10", "00FF00"));

#
+				TITLE_FOR_PK_AMOUNT1 = pvpSettings.getProperty("PkTitleForAmount1", "Title");

#
+				TITLE_FOR_PK_AMOUNT2 = pvpSettings.getProperty("PkTitleForAmount2", "Title");

#
+				TITLE_FOR_PK_AMOUNT3 = pvpSettings.getProperty("PkTitleForAmount3", "Title");

#
+				TITLE_FOR_PK_AMOUNT4 = pvpSettings.getProperty("PkTitleForAmount4", "Title");

#
+				TITLE_FOR_PK_AMOUNT5 = pvpSettings.getProperty("PkTitleForAmount5", "Title");

#
+				TITLE_FOR_PK_AMOUNT6 = pvpSettings.getProperty("PkTitleForAmount6", "Title");

#
+				TITLE_FOR_PK_AMOUNT7 = pvpSettings.getProperty("PkTitleForAmount7", "Title");

#
+				TITLE_FOR_PK_AMOUNT8 = pvpSettings.getProperty("PkTitleForAmount8", "Title");

#
+				TITLE_FOR_PK_AMOUNT9 = pvpSettings.getProperty("PkTitleForAmount9", "Title");

#
+				TITLE_FOR_PK_AMOUNT10 = pvpSettings.getProperty("PkTitleForAmount10", "Title");

#
else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue);

#
+		else if (pName.equalsIgnoreCase("AnnounceKill") ) ANNOUNCE_KILL = Boolean.valueOf(pValue);

#
+		else if (pName.equalsIgnoreCase("PkProtection")) PK_PROTECTION = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("TradeChat"))	DEFAULT_TRADE_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("GMAdminMenuStyle"))	GM_ADMIN_MENU_STYLE = pValue;

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvpKills());

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_TITLE_SYSTEM_ENABLED)) activeChar.updatePvPTitle(activeChar.getPvpKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED)) activeChar.updatePkColor(activeChar.getPkKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_TITLE_SYSTEM_ENABLED)) activeChar.updatePkTitle(activeChar.getPkKills());

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
if (targetPlayer = 

#
if (targetPlayer = 

#
else if (targetPlayer.getPvpFlag() = 

#
if(getInventory().getPaperdollItemId(7) > = 7816 && getInventory().getPaperdollItemId(7) <

#
+                if (target ! = this && target instanceof L2PcInstance &&

#
+                final L2PcInstance targetPlayer = (L2PcInstance) target;

#
+                if (getClan() ! = null && targetPlayer.getClan() !

#
+                if (targetPlayer.getPvpFlag() = 

#
+                        targetPlayer.getKarma() = 

Recommended Posts

  • 0
Posted

re paidia exw balei on kwdika alla tpy ta xrwmata paramenoun ta klassika .... ti exw kanei lathos???

+# Example: PvpAmmount1 = 100, when a character's PvP counter reaches 100, their name color will change

#
+EnablePvPColorSystem = True

#
+EnablePvPTitleSystem = True

#
+PvPAmount1 = 100

#
+NameColorForAmount1 = 000000

#
+PvPTitleForAmount1 = Title

#
+PvpAmount2 = 125

#
+NameColorForAmount2 = 00FF00

#
+PvPTitleForAmount2 = Title

#
+PvpAmount3 = 150

#
+NameColorForAmount3 = 00FF00

#
+PvPTitleForAmount3 = Title

#
+PvpAmount4 = 175

#
+NameColorForAmount4 = 00FF00

#
+PvPTitleForAmount4 = Title

#
+PvpAmount5 = 200

#
+NameColorForAmount5 = 00FF00

#
+PvPTitleForAmount5 = Title

#
+PvpAmount6 = 225

#
+NameColorForAmount6 = CCFF00

#
+PvPTitleForAmount6 = Title

#
+PvpAmount7 = 250

#
+NameColorForAmount7 = 00FF00

#
+PvPTitleForAmount7 = Title

#
+PvpAmount8 = 275

#
+NameColorForAmount8 = 00FF00

#
+PvPTitleForAmount8 = Title

#
+PvpAmount9 = 300

#
+NameColorForAmount9 = 00FF00

#
+PvPTitleForAmount9 = Title

#
+PvpAmount10 = 500

#
+NameColorForAmount10 = 00FF00

#
+PvPTitleForAmount10 = Title

#
+# Example: PkAmmount1 = 100, when a character's Pk counter reaches 100, their title color will change

#
+EnablePkColorSystem = True

#
+EnablePkTitleSystem = True

#
+PkAmount1 = 100

#
+TitleColorForAmount1 = 000000

#
+PkTitleForAmount1 = Title

#
+PkAmount2 = 125

#
+TitleColorForAmount2 = 00FF00

#
+PkTitleForAmount2 = Title

#
+PkAmount3 = 150

#
+TitleColorForAmount3 = 00FF00

#
+PkTitleForAmount3 = Title

#
+PkAmount4 = 175

#
+TitleColorForAmount4 = 00FF00

#
+PkTitleForAmount4 = Title

#
+PkAmount5 = 200

#
+TitleColorForAmount5 = 00FF00

#
+PkTitleForAmount5 = Title

#
+PkAmount6 = 225

#
+TitleColorForAmount6 = 00FF00

#
+PkTitleForAmount6 = Title

#
+PkAmount7 = 250

#
+TitleColorForAmount7 = 00FF00

#
+PkTitleForAmount7 = Title

#
+PkAmount8 = 275

#
+TitleColorForAmount8 = 00FF00

#
+PkTitleForAmount8 = Title

#
+PkAmount9 = 300

#
+TitleColorForAmount9 = 00FF00

#
+PkTitleForAmount9 = Title

#
+PkAmount10 = 500

#
+TitleColorForAmount10 = 00FF00

#
+PkTitleForAmount10 = Title

#
PVP_NORMAL_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsNormalTime", "120000"));

#
PVP_PVP_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsPvPTime", "60000"));

#
+				ANNOUNCE_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnounceKill", "False"));

#
+				PK_PROTECTION = Integer.parseInt(pvpSettings.getProperty("PkProtection", "0"));

#
+	    			PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPColorSystem", "true"));

#
+	    			PVP_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPTitleSystem", "true"));

#
+	    			PVP_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PvpAmount1", "100"));

#
+	    			PVP_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PvpAmount2", "125"));

#
+	    			PVP_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PvpAmount3", "150"));

#
+	    			PVP_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PvpAmount4", "175"));

#
+	    			PVP_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PvpAmount5", "200"));

#
+	    			PVP_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PvpAmount6", "225"));

#
+	    			PVP_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PvpAmount7", "250"));

#
+	    			PVP_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PvpAmount8", "275"));

#
+	    			PVP_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PvpAmount9", "300"));

#
+	    			PVP_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PvpAmount10", "500"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount1", "000000"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount2", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount3", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount4", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount5", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount6", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount7", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount8", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount9", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("ColorForAmount10", "00FF00"));

#
+				TITLE_FOR_PVP_AMOUNT1 = pvpSettings.getProperty("PvPTitleForAmount1", "Title");

#
+				TITLE_FOR_PVP_AMOUNT2 = pvpSettings.getProperty("PvPTitleForAmount2", "Title");

#
+				TITLE_FOR_PVP_AMOUNT3 = pvpSettings.getProperty("PvPTitleForAmount3", "Title");

#
+				TITLE_FOR_PVP_AMOUNT4 = pvpSettings.getProperty("PvPTitleForAmount4", "Title");

#
+				TITLE_FOR_PVP_AMOUNT5 = pvpSettings.getProperty("PvPTitleForAmount5", "Title");

#
+				TITLE_FOR_PVP_AMOUNT6 = pvpSettings.getProperty("PvPTitleForAmount6", "Title");

#
+				TITLE_FOR_PVP_AMOUNT7 = pvpSettings.getProperty("PvPTitleForAmount7", "Title");

#
+				TITLE_FOR_PVP_AMOUNT8 = pvpSettings.getProperty("PvPTitleForAmount8", "Title");

#
+				TITLE_FOR_PVP_AMOUNT9 = pvpSettings.getProperty("PvPTitleForAmount9", "Title");

#
+				TITLE_FOR_PVP_AMOUNT10 = pvpSettings.getProperty("PvPTitleForAmount10", "Title");

#
+	    			PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePkColorSystem", "true"));

#
+	    			PK_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePKTitleSystem", "true"));

#
+	    			PK_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PkAmount1", "100"));

#
+	    			PK_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PkAmount2", "125"));

#
+	    			PK_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PkAmount3", "150"));

#
+	    			PK_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PkAmount4", "175"));

#
+	    			PK_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PkAmount5", "200"));

#
+	    			PK_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PkAmount6", "225"));

#
+	    			PK_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PkAmount7", "250"));

#
+	    			PK_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PkAmount8", "275"));

#
+	    			PK_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PkAmount9", "300"));

#
+	    			PK_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PkAmount10", "500"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount1", "000000"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount2", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount3", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount4", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount5", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount6", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount7", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount8", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount9", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount10", "00FF00"));

#
+				TITLE_FOR_PK_AMOUNT1 = pvpSettings.getProperty("PkTitleForAmount1", "Title");

#
+				TITLE_FOR_PK_AMOUNT2 = pvpSettings.getProperty("PkTitleForAmount2", "Title");

#
+				TITLE_FOR_PK_AMOUNT3 = pvpSettings.getProperty("PkTitleForAmount3", "Title");

#
+				TITLE_FOR_PK_AMOUNT4 = pvpSettings.getProperty("PkTitleForAmount4", "Title");

#
+				TITLE_FOR_PK_AMOUNT5 = pvpSettings.getProperty("PkTitleForAmount5", "Title");

#
+				TITLE_FOR_PK_AMOUNT6 = pvpSettings.getProperty("PkTitleForAmount6", "Title");

#
+				TITLE_FOR_PK_AMOUNT7 = pvpSettings.getProperty("PkTitleForAmount7", "Title");

#
+				TITLE_FOR_PK_AMOUNT8 = pvpSettings.getProperty("PkTitleForAmount8", "Title");

#
+				TITLE_FOR_PK_AMOUNT9 = pvpSettings.getProperty("PkTitleForAmount9", "Title");

#
+				TITLE_FOR_PK_AMOUNT10 = pvpSettings.getProperty("PkTitleForAmount10", "Title");

#
else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue);

#
+		else if (pName.equalsIgnoreCase("AnnounceKill") ) ANNOUNCE_KILL = Boolean.valueOf(pValue);

#
+		else if (pName.equalsIgnoreCase("PkProtection")) PK_PROTECTION = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("TradeChat"))	DEFAULT_TRADE_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("GMAdminMenuStyle"))	GM_ADMIN_MENU_STYLE = pValue;

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvpKills());

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_TITLE_SYSTEM_ENABLED)) activeChar.updatePvPTitle(activeChar.getPvpKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED)) activeChar.updatePkColor(activeChar.getPkKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_TITLE_SYSTEM_ENABLED)) activeChar.updatePkTitle(activeChar.getPkKills());

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
if (targetPlayer = 

#
if (targetPlayer = 

#
else if (targetPlayer.getPvpFlag() = 

#
if(getInventory().getPaperdollItemId(7) > = 7816 && getInventory().getPaperdollItemId(7) <

#
+                if (target ! = this && target instanceof L2PcInstance &&

#
+                final L2PcInstance targetPlayer = (L2PcInstance) target;

#
+                if (getClan() ! = null && targetPlayer.getClan() !

#
+                if (targetPlayer.getPvpFlag() = 

#
+                        targetPlayer.getKarma() = 

ola afta evales sto config ?

enoo ( Config.java ) i ( config.properties ) ?

  • 0
Posted

file m katse gt se exasa ....  egw pira ton code kai ton perasa sto config.properties opws m eipan kai mpikan kai sto l2jconfig ..... oti allages kanw sto .properties tis pairnei kai ekei..

  • 0
Posted

απάντα σε τι client θες να το περάσεις και θα σου δώσω το ανάλογο Share ! Έχουνε γίνει αμέτρητα ούτως η άλλος

  • 0
Posted

 

+# Example: PvpAmmount1 = 100, when a character's PvP counter reaches 100, their name color will change

#
+EnablePvPColorSystem = True

#
+EnablePvPTitleSystem = True

#
+PvPAmount1 = 100

#
+NameColorForAmount1 = 000000

#
+PvPTitleForAmount1 = Title

#
+PvpAmount2 = 125

#
+NameColorForAmount2 = 00FF00

#
+PvPTitleForAmount2 = Title

#
+PvpAmount3 = 150

#
+NameColorForAmount3 = 00FF00

#
+PvPTitleForAmount3 = Title

#
+PvpAmount4 = 175

#
+NameColorForAmount4 = 00FF00

#
+PvPTitleForAmount4 = Title

#
+PvpAmount5 = 200

#
+NameColorForAmount5 = 00FF00

#
+PvPTitleForAmount5 = Title

#
+PvpAmount6 = 225

#
+NameColorForAmount6 = CCFF00

#
+PvPTitleForAmount6 = Title

#
+PvpAmount7 = 250

#
+NameColorForAmount7 = 00FF00

#
+PvPTitleForAmount7 = Title

#
+PvpAmount8 = 275

#
+NameColorForAmount8 = 00FF00

#
+PvPTitleForAmount8 = Title

#
+PvpAmount9 = 300

#
+NameColorForAmount9 = 00FF00

#
+PvPTitleForAmount9 = Title

#
+PvpAmount10 = 500

#
+NameColorForAmount10 = 00FF00

#
+PvPTitleForAmount10 = Title

#
+# Example: PkAmmount1 = 100, when a character's Pk counter reaches 100, their title color will change

#
+EnablePkColorSystem = True

#
+EnablePkTitleSystem = True

#
+PkAmount1 = 100

#
+TitleColorForAmount1 = 000000

#
+PkTitleForAmount1 = Title

#
+PkAmount2 = 125

#
+TitleColorForAmount2 = 00FF00

#
+PkTitleForAmount2 = Title

#
+PkAmount3 = 150

#
+TitleColorForAmount3 = 00FF00

#
+PkTitleForAmount3 = Title

#
+PkAmount4 = 175

#
+TitleColorForAmount4 = 00FF00

#
+PkTitleForAmount4 = Title

#
+PkAmount5 = 200

#
+TitleColorForAmount5 = 00FF00

#
+PkTitleForAmount5 = Title

#
+PkAmount6 = 225

#
+TitleColorForAmount6 = 00FF00

#
+PkTitleForAmount6 = Title

#
+PkAmount7 = 250

#
+TitleColorForAmount7 = 00FF00

#
+PkTitleForAmount7 = Title

#
+PkAmount8 = 275

#
+TitleColorForAmount8 = 00FF00

#
+PkTitleForAmount8 = Title

#
+PkAmount9 = 300

#
+TitleColorForAmount9 = 00FF00

#
+PkTitleForAmount9 = Title

#
+PkAmount10 = 500

#
+TitleColorForAmount10 = 00FF00

#
+PkTitleForAmount10 = Title

#

 

afta einai gia .properties....

__________________

 

 

 

 

 

 

PVP_PVP_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsPvPTime", "60000"));


+				ANNOUNCE_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnounceKill", "False"));

#
+				PK_PROTECTION = Integer.parseInt(pvpSettings.getProperty("PkProtection", "0"));

#
+	    			PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPColorSystem", "true"));

#
+	    			PVP_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePvPTitleSystem", "true"));

#
+	    			PVP_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PvpAmount1", "100"));

#
+	    			PVP_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PvpAmount2", "125"));

#
+	    			PVP_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PvpAmount3", "150"));

#
+	    			PVP_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PvpAmount4", "175"));

#
+	    			PVP_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PvpAmount5", "200"));

#
+	    			PVP_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PvpAmount6", "225"));

#
+	    			PVP_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PvpAmount7", "250"));

#
+	    			PVP_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PvpAmount8", "275"));

#
+	    			PVP_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PvpAmount9", "300"));

#
+	    			PVP_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PvpAmount10", "500"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount1", "000000"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount2", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount3", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount4", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount5", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount6", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount7", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount8", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("NameColorForAmount9", "00FF00"));

#
+	    			NAME_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("ColorForAmount10", "00FF00"));

#
+				TITLE_FOR_PVP_AMOUNT1 = pvpSettings.getProperty("PvPTitleForAmount1", "Title");

#
+				TITLE_FOR_PVP_AMOUNT2 = pvpSettings.getProperty("PvPTitleForAmount2", "Title");

#
+				TITLE_FOR_PVP_AMOUNT3 = pvpSettings.getProperty("PvPTitleForAmount3", "Title");

#
+				TITLE_FOR_PVP_AMOUNT4 = pvpSettings.getProperty("PvPTitleForAmount4", "Title");

#
+				TITLE_FOR_PVP_AMOUNT5 = pvpSettings.getProperty("PvPTitleForAmount5", "Title");

#
+				TITLE_FOR_PVP_AMOUNT6 = pvpSettings.getProperty("PvPTitleForAmount6", "Title");

#
+				TITLE_FOR_PVP_AMOUNT7 = pvpSettings.getProperty("PvPTitleForAmount7", "Title");

#
+				TITLE_FOR_PVP_AMOUNT8 = pvpSettings.getProperty("PvPTitleForAmount8", "Title");

#
+				TITLE_FOR_PVP_AMOUNT9 = pvpSettings.getProperty("PvPTitleForAmount9", "Title");

#
+				TITLE_FOR_PVP_AMOUNT10 = pvpSettings.getProperty("PvPTitleForAmount10", "Title");

#
+	    			PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePkColorSystem", "true"));

#
+	    			PK_TITLE_SYSTEM_ENABLED = Boolean.parseBoolean(pvpSettings.getProperty("EnablePKTitleSystem", "true"));

#
+	    			PK_AMOUNT1 = Integer.parseInt(pvpSettings.getProperty("PkAmount1", "100"));

#
+	    			PK_AMOUNT2 = Integer.parseInt(pvpSettings.getProperty("PkAmount2", "125"));

#
+	    			PK_AMOUNT3 = Integer.parseInt(pvpSettings.getProperty("PkAmount3", "150"));

#
+	    			PK_AMOUNT4 = Integer.parseInt(pvpSettings.getProperty("PkAmount4", "175"));

#
+	    			PK_AMOUNT5 = Integer.parseInt(pvpSettings.getProperty("PkAmount5", "200"));

#
+	    			PK_AMOUNT6 = Integer.parseInt(pvpSettings.getProperty("PkAmount6", "225"));

#
+	    			PK_AMOUNT7 = Integer.parseInt(pvpSettings.getProperty("PkAmount7", "250"));

#
+	    			PK_AMOUNT8 = Integer.parseInt(pvpSettings.getProperty("PkAmount8", "275"));

#
+	    			PK_AMOUNT9 = Integer.parseInt(pvpSettings.getProperty("PkAmount9", "300"));

#
+	    			PK_AMOUNT10 = Integer.parseInt(pvpSettings.getProperty("PkAmount10", "500"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount1", "000000"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount2", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount3", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount4", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount5", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT6 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount6", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT7 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount7", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT8 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount8", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT9 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount9", "00FF00"));

#
+	    			TITLE_COLOR_FOR_PK_AMOUNT10 = Integer.decode("0x" + pvpSettings.getProperty("TitleForAmount10", "00FF00"));

#
+				TITLE_FOR_PK_AMOUNT1 = pvpSettings.getProperty("PkTitleForAmount1", "Title");

#
+				TITLE_FOR_PK_AMOUNT2 = pvpSettings.getProperty("PkTitleForAmount2", "Title");

#
+				TITLE_FOR_PK_AMOUNT3 = pvpSettings.getProperty("PkTitleForAmount3", "Title");

#
+				TITLE_FOR_PK_AMOUNT4 = pvpSettings.getProperty("PkTitleForAmount4", "Title");

#
+				TITLE_FOR_PK_AMOUNT5 = pvpSettings.getProperty("PkTitleForAmount5", "Title");

#
+				TITLE_FOR_PK_AMOUNT6 = pvpSettings.getProperty("PkTitleForAmount6", "Title");

#
+				TITLE_FOR_PK_AMOUNT7 = pvpSettings.getProperty("PkTitleForAmount7", "Title");

#
+				TITLE_FOR_PK_AMOUNT8 = pvpSettings.getProperty("PkTitleForAmount8", "Title");

#
+				TITLE_FOR_PK_AMOUNT9 = pvpSettings.getProperty("PkTitleForAmount9", "Title");

#
+				TITLE_FOR_PK_AMOUNT10 = pvpSettings.getProperty("PkTitleForAmount10", "Title");

#
else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue);

#
+		else if (pName.equalsIgnoreCase("AnnounceKill") ) ANNOUNCE_KILL = Boolean.valueOf(pValue);

#
+		else if (pName.equalsIgnoreCase("PkProtection")) PK_PROTECTION = Integer.parseInt(pValue);

#
else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("TradeChat"))	DEFAULT_TRADE_CHAT = pValue;

#
else if (pName.equalsIgnoreCase("GMAdminMenuStyle"))	GM_ADMIN_MENU_STYLE = pValue;

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvpKills());

#
+        if (activeChar.getPvpKills()> = (Config.PVP_AMOUNT1) && (Config.PVP_TITLE_SYSTEM_ENABLED)) activeChar.updatePvPTitle(activeChar.getPvpKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED)) activeChar.updatePkColor(activeChar.getPkKills());

#
+        if (activeChar.getPkKills()> = (Config.PK_AMOUNT1) && (Config.PK_TITLE_SYSTEM_ENABLED)) activeChar.updatePkTitle(activeChar.getPkKills());

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pvpKillAmount > = (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT5)) && (pvpKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT6)) && (pvpKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT7)) && (pvpKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT8)) && (pvpKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pvpKillAmount > = (Config.PVP_AMOUNT9)) && (pvpKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pvpKillAmount > = (Config.PVP_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
+				if ((pkKillAmount > = (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT5)) && (pkKillAmount < (Config.PVP_AMOUNT6)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT6)) && (pkKillAmount < (Config.PVP_AMOUNT7)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT7)) && (pkKillAmount < (Config.PVP_AMOUNT8)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT8)) && (pkKillAmount < (Config.PVP_AMOUNT9)))

#
+				else if ((pkKillAmount > = (Config.PK_AMOUNT9)) && (pkKillAmount < (Config.PVP_AMOUNT10)))

#
+				else if (pkKillAmount > = (Config.PK_AMOUNT10))

#
if (targetPlayer = 

#
if (targetPlayer = 

#
else if (targetPlayer.getPvpFlag() = 

#
if(getInventory().getPaperdollItemId(7) > = 7816 && getInventory().getPaperdollItemId(7) <

#
+                if (target ! = this && target instanceof L2PcInstance &&

#
+                final L2PcInstance targetPlayer = (L2PcInstance) target;

#
+                if (getClan() ! = null && targetPlayer.getClan() !

#
+                if (targetPlayer.getPvpFlag() = 

#
+                        targetPlayer.getKarma() = 

 

afta einai gia .java

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...