*bump*
package me.nivek1212.towerJump.Listeners; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener;...
Hm now I get this error: Incompatible operand types org.bukkit.Material and net.minecraft.server.v1_7_R3.Material in Eclipse @EventHandler...
I want that Players only place blocks in water, thats why I use getBlockReplacedState(). Now I have this @EventHandler void...
Hey guys, I'm making a minigame and I want players to only place blocks in water. But when I do the following @EventHandler void...
It worked thanks :)
Yep, but it still doesn't work: @SuppressWarnings("deprecation") @EventHandler (priority=EventPriority.HIGHEST) public void...
Yeah, I'm removing the item. 1.But when I reload/rejoin and press Q, I get 2 Lime Green Dyes on Slot 9. 2.When I press Q again, I end up with 1...
Now the Item stacks up to 2 when I relogg and press Q and Stacks infinitly +1 when I press CTRL+Q, but it stays in slot 9....
Now it's droppable again. It wasn't droppable before, but it went from slot 9 to slot 1, but I want it to stay at slot 9
Hey guys, I tried to make a Plugin, that makes Items undroppable, but it doesnt work properly. When I press Q, the item goes from slot 9 to slot...
That's the Code @EventHandler public void onClick(PlayerInteractEvent e) { if(e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() ==...
You put the else one bracket too much down.
Hey Guys, So with the PlayInteracterEvent you can check if the player is right-clicking with a specific item. But how can you detect if the item...
Try PlayerRespawnEvent instead of PlayerDeathEvent, because schedulers doesn't work, if the Player needs hours to respawn //Oops: Haven't seen...
Ah i got it: The problem was, that I saved the config and then deleted it. I wanted to load the config and delete it, but I messed something up....
Ok, now i have this: public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { Player p = (Player) sender;...
The Arraylist should look like this public ArrayList<Player> eventwaits = new ArrayList<>(); No, because he wants this for all spectators and...
You have to register Events: public class Main extends JavaPlugin implements Listener{ public static ArrayList<String> KeeperofThings =...
Separate names with a comma.