Thanks for share i just want help a little "noobiews"
if you use freya-high5 either gracia whatever you may need adopt few lines
First of all change configs to this
From this
+ ALLOW_RANDOM_FIGHT = players.getProperty("AllowRandomFight",true);
+ EVERY_MINUTES = players.getProperty("EveryMinutes",3);
+ RANDOM_FIGHT_REWARD_ID = players.getProperty("RewardId" , 8762);
+ RANDOM_FIGHT_REWARD_COUNT = players.getProperty("RewardCount" , 5);
To this
ALLOW_RANDOM_FIGHT = Boolean.parseBoolean(L2JModSettings.getProperty("AllowRandomFight", "True"));
EVERY_MINUTES = Integer.parseInt(L2JModSettings.getProperty("EveryMinutes","3"));
RANDOM_FIGHT_REWARD_ID = Integer.parseInt(L2JModSettings.getProperty("RewardId", "8762"));
RANDOM_FIGHT_REWARD_COUNT = Integer.parseInt(L2JModSettings.getProperty("RewardCount" , "5"));
Change this
p.teleToLocation(82698,148638,-3473,0);
To this
p.teleToLocation(82698,148638,-3473);
And this
void announce(String str)
{
Announcements.announceToAll(str);
}
To this
void announce(String str)
{
Broadcast.announceToOnlinePlayers(str);
}