stupid kiddo this is codes not meaning all my pack shared. i have adapted + correcting this codes. but u idiot 100% tell to pioples my pack is shared. please go die. i wish from my heard inside. u will die soon. because in the world no need trolls and who`s jealous . and again u stupid READ RULES
package l2p.gameserver.handler.voicedcommandhandlers;
import l2p.Config;
import l2p.gameserver.handler.IVoicedCommandHandler;
import l2p.gameserver.model.actor.instance.L2PcInstance;
import l2p.gameserver.model.L2World;
public class Online implements IVoicedCommandHandler
{
private static String[] _voicedCommands =
{
"online"
};
@Override
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
if(command.equalsIgnoreCase("online"))
{
if (Config.VOICE_ONLINE_ENABLE)
{
int currentOnline = L2World.getInstance().getAllPlayers().size() + Config.FAKE_ONLINE;
activeChar.sendMessage("Total online: " + currentOnline + " players.");
}
}
return true;
}
@Override
public String[] getVoicedCommandList()
{
return _voicedCommands;
}
}