Faction chat system.

This commit is contained in:
mobius
2015-01-14 11:51:44 +00:00
parent 89f53b2c3d
commit 5395d59c41
11 changed files with 234 additions and 11 deletions

View File

@@ -831,6 +831,7 @@ public final class Config
public static String FACTION_EVIL_TEAM_NAME;
public static int FACTION_GOOD_NAME_COLOR;
public static int FACTION_EVIL_NAME_COLOR;
public static boolean FACTION_SPECIFIC_CHAT;
public static boolean PREMIUM_SYSTEM_ENABLED;
public static float PREMIUM_RATE_XP;
public static float PREMIUM_RATE_SP;
@@ -2650,6 +2651,7 @@ public final class Config
FACTION_EVIL_TEAM_NAME = CustomSettings.getString("EvilTeamName", "Evil");
FACTION_GOOD_NAME_COLOR = Integer.decode("0x" + CustomSettings.getString("GoodNameColor", "00FF00"));
FACTION_EVIL_NAME_COLOR = Integer.decode("0x" + CustomSettings.getString("EvilNameColor", "0000FF"));
FACTION_SPECIFIC_CHAT = Boolean.valueOf(CustomSettings.getBoolean("EnableFactionChat", true));
PREMIUM_SYSTEM_ENABLED = CustomSettings.getBoolean("EnablePremiumSystem", false);
PREMIUM_RATE_XP = CustomSettings.getFloat("PremiumRateXp", 2);

View File

@@ -200,12 +200,12 @@ public final class L2World
return _allPlayers.size();
}
public int getAllgoodPlayersCount()
public int getAllGoodPlayersCount()
{
return _allGoodPlayers.size();
}
public int getAllevilPlayersCount()
public int getAllEvilPlayersCount()
{
return _allEvilPlayers.size();
}