Just check number of players at connect and then kick player if server is full & player is non-OP Then you set your maxplayers at server level to...
How I do to enumerate all available worlds on a server at start? This should include nether, theend and such, and also all "extra worlds" on a...
Thanks. I did this instead: public class ChunkAutoClaimer extends JavaPlugin implements Listener, Runnable { public void onEnable() {...
s.sendMessage(ChatColor.RED + "Coords: " + player2.getLocation().toString()); Try it. If it wont work, try player2.getLocation() only. Also...
How I do to read config belongning to a another plugin via getConfig()? The plugin in question does not need any "own" config, so I want to...
Could anyone verify this issue? If its true and unfixed, I could add a check that checks if its not air above the chest, and thus not open the...
Now I updated this to Version 1.6, adding Wilderness protection. Just waiting for approval.
Thats not possible without modifying indivual packets. You will need something that decides "active player". For example you can use nearest...
How you gonna detect which player is which? nearest player? Player press button to read "his" stats?
Cannot find this somewhere. If I want to get the height of a placed block, should I get its X coordinate, Y coordinate or Z coordinate? I guess...
Yep, updateInventory does work currently, without using setItemInHand. But wonder, since the method is depreciated, bukkit dev team might remove...
How I do to resend what its in hand? SetItemInHand wont work, seems like its executed before event finalization. Also tried with getScheduler...
I think this depends on the order the block are spawned in, for example if you "load" the ladder before the block behind it, the ladder will spawn...
Separate names with a comma.