ok, i used playerexact but im still getting illegal argument ex... (tested it with 2 player in range.) :|
didnt helped. http://pastie.org/private/muqursbxhajseung7yrog right now im getting illegal argument ex : n must be positive... so it seems like...
error log says, that problem is in line 63 its>" int index = rdm.nextInt(playerlist.size());" kaskoepoes112 thanks, im going to try this edit:...
i have stored players in list, now i want from this list get one player every second/two seconds/..... but only for once. im getting npe and i...
for (Player lplayer : Bukkit.getServer().getOnlinePlayers()) { if (lplayer.getLocation().distance(player.getTargetBlock(transparent,...
thanks, i didnt found this on wiki, but still i have issue with this final ItemStack helmet = player.getInventory().getHelmet(); final...
thanks for reply, but how big has this scheduler effect on server performance. i want run it for everyone with permission as long as will be...
Hi, i need help with choosing right event, I want continually check if player has in inventory item XYZ and then do some stuff. What event is best...
Its working now correctly. Thanks for helping me.
thanks bitWolfy, and it seems like you somehow fixed infinite swaps. i have two questions. Why is your loop, which is adding players to...
ArrayList<Player> nearbyplayers = new ArrayList<Player>(); *some boring stuff* . . . for (Entity e : player.getNearbyEntities(radius, radius,...
hello, i wrote small plugin, which allowed players to disenchant certain types of armor/tools. but it doesnt works now. it seems like method...
Separate names with a comma.