Hmm yeah, I can take a look at the minecraft mechanics, that's a good suggestion. I can't pre-define buildings and I can't have players define...
Create an inventory with: Inventory GUI = Bukkit.createInventory(<Player player>, <Integer size>, <String name>); Then to add an item:...
Is the permission registered in your plugin.yml? I'm not sure if it's possible to write == in this case, for objects I always use .equals....
You can save all the orientation data of blocks placed in the world of your concern and have them load again when someone rejoins the world.
I'm working on remaking my temperature plugin, but I want to make it a little more extensive than last time. For it to properly work I need to...
Thanks
My question is simple: is there any way to implement sounds from the new resource packs in Bukkit? If I've overlooked a thread where this is...
I left it to be a block change because I couldn't get meta data from the block when using sendBlockChange. The lag issue is solved now, thanks for...
I see, I will change my code then On the other hand, is it still possible to work with skulls if you're working with block updates? I need to...
The current scripts iterates over the area to see if any heads are there. Those heads are then removed and new ones are placed that correspond...
Hey I'm working on a sort of hologram table which displays the locations of players by putting their skull on a block corresponding with their...
if(enabledWorlds.contains(p.getWorld().getName() You are getting the world of the player issuing the event, so it will occur in every world....
Did you register your events?
Get the target block and check if it's a gold block: public void interact(PlayerInteractEvent e){ if(e.getPlayer().getTargetBlock(null,...
How did you solve this?
Separate names with a comma.