There's player.setItemInHand(ItemStack) which will probably do what you want here.
I think it's most likely downloads from BukkitDev staff during the approval process, although some of the users of my plugins have figured out...
There is most likely no players on the server during onEnable. What are you trying to do with this information?
I might suggest the PlayerTeleportEvent and check if the source and destination worlds are different.
Looks like it wouldn't work if I did anyways: https://bukkit.atlassian.net/browse/BUKKIT-5650
Are you talking about joining the server or changing to a new world?
I used to do that in the past. I don't see why a workaround needs to be made that a whole file needs to be created in order to fix an issue that...
However: the list would have to be saved to a file if the server reloaded or restarted, otherwise the player wouldn't be killed as they should.
The Fancy Whale Player.updateInventory does not fix this issue, neither on logout nor login.
In response to the first suggestion, that would require storing player uuids through reloads and restarts, which I'd prefer not to do. I'll try...
I'm not sure exactly what you mean by this. Do you mean you want to get a player when the plugin starts up? There would most likely be no players...
In my plugin I kill a player on logout if they are tagged as in combat and a setting is such that it does so. I've been coming across a huge issue...
I'm fairly sure this would violate the BukkitDev submission guidelines found here:...
I would suggest making sure that your ClickListener class implements Listener.
I'd suggest checking this: http://wiki.sk89q.com/wiki/WorldGuard/Regions/API#Simple_permission_queries From what I can tell it has everything you...
Separate names with a comma.