He doesn't have one he took the source from the github which doesn't include the plugins.yml. Solution: Download the original plugin open it in...
The Material class is an ENUM meaning that the argument for setType is a Material Material.WHATEVER is a predefined instance of Material. So both...
I wasn't trying to be mean I was just trying to show you how stupid you were :P Okey maybe the words I used were a little strong. You should...
Change that to: Location loc = player.getLocation() .add(player.getLocation().getDirection()...
Basically when you're adding multiple items to the inventory with an array its the place of the item in the array. But I am only iterating over...
When you have a for loop setting lots of block with the above method will it A. Queue up alot of BlockChange packets or B. At the end of the...
The method Inventory.addItem() returns a hashmap of items that coulndn't fit in the players inventory just do something like:...
Sorry I've been damn derpy.... It turns out it wasn't the foliage dropping the items but the block being set underneath it breaking it. I'll just...
I find it kinda confusing because with items you have ItemStack.setDurabilty() but I haven't yet figured out what the Block version of it is....
Ya first change all of your getX() to getBlockX() (same for Y and Z) AND most imporantly REMOVE the Player player argument so: public void...
Are you sure you've registered the events in your onLoad()?
What you need to do is add the Jar containing the CurrencyAPI class to your java build path then you can import your CurrencyAPI class and acces...
It's really weird I tested this on my own server and it works just fine! are you sure that your spawned variable is defined by: private...
Check your console, if there's no errors this is all I can do.
I can fix that! Try this: @EventHandler public void onPlayerInteract(PlayerInteractEvent e) { Player p = e.getPlayer();...
You should make a sort of API class. In which you would have things like: public class currencyAPI { public currencyAPI instance;...
Good point holy shit. But still there's also blocks that don't have an inventory but still drop items (foliage like tall grass)
Oh sorry I derped horribly. @EventHandler public void onPlayerInteract(PlayerInteractEvent e) { Player p = e.getPlayer();...
Then you're still doing something wrong, Could you send the full code as of right now?
Hi guys today I decided to be lazy. So basicly imagine you have a Block type variable called b and it's resembles a Chest. When you would do...
Separate names with a comma.