So i made a little plugin where you can claim chunks, to check if the chunk is claimed i do this:
In which class? Lootdrop or Main
Works thank you
EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Error occurred while enabling Champ3 v1.0 (Is it up to date?)
java.lang.IllegalArgumentException: Name cannot be null
How can I check how many players are asleep ?
How can i give a player the "Community.King" permission
when i executed a command like /king ?
And remove it when i do for example /removeking
I was wondering how to make /chestlock and /chestunlock command
so i can lock the chest for other players
Okay i got this now, but now could you please help me how to make a /chestlock command?
p is the player
Can someone please send me the code how i can shrink the world border 25 blocks on the Player death event?
I really dont know...
I now have this code: p.getPlayer().getWorld().getWorldBorder().getSize();
but i cant set the size after getSize() "Cannot invoke setSize(int) on...
I think i got it p.getPlayer().getWorld().getWorldBorder().setSize(-25);
I testing it
Separate names with a comma.