org.bukkit.command.CommandException: Unhandled exception executing command 'createhub' in plugin Hub v1.0 at...
Where would I put the stuff back into the inventory.
How would I load them back into the inventory then? I have them saved
package me.main.listener; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.bukkit.Bukkit; import...
I have an array of itemStacks. The array = all the items in a custom object. The items set inside the object are set in another class as it gets...
I don't know how to use fields or maps? Have you got a link
Bukkit.getServer().getScheduler().runTaskLater(Main.inst(), new Runnable() { public...
if(e.getCurrentItem().isSimilar(Totem.getInstance().totemc)){ p.getInventory().addItem(Totem.getInstance().totemc);...
@EventHandler public void invClick(InventoryClickEvent e) { Player p = (Player) e.getWhoClicked();...
I'm still confused whats wrong and how do I fix it. I got the eco manager from a video. I wasn't sure where to start with a custom currency
@EventHandler public void invClick(InventoryClickEvent e) { GOLD_NUGGETMeta.setDisplayName(ChatColor.BOLD + "GOLD_NUGGET");...
What about the worldjoinevent. your fix seemed to work thx Also the full inventory things if you have 1 block and mine another it wont stack and...
I'm confused what lines do I need to change
public class Join implements Listener { @EventHandler public void JoinEvent(PlayerChangedWorldEvent e){...
s switch (block) { case SPRUCE_FENCE: e.setCancelled(true); return; case SMOOTH_STAIRS:...
My plugin ignores worldguard and breaks the blocks anyway
@EventHandler public void onBlockBreak(BlockBreakEvent e) { RegionManager set = wg.getRegionManager(e.getPlayer().getWorld());...
...........Of course haha. Been a while since I done plugin creations. Thanks for the help
public class Join implements Listener { public void JoinEvent(PlayerJoinEvent e){...
I have probably done many posts on here about my prison plugin. Mine a block, auto smelts and goes into inventory. I have also implement...
Separate names with a comma.