crzytlp You can use: loc.add(x, y, z); Or: loc.subtract(x, y, z); These methods return locations whose co-ordinates are greater then or lesser...
Cheesepro Make sure your class implements Listener, add @EventHandler before the onDeath method and register the events in your onEnable.
Tabbin "args" is an array, so you have to use args[0] and args[1] instead of arg0 and arg1.
fireblast709 I have, and I was trying to say that I use the same method in different places, other than SignChangeEvent. So you're saying I should...
fireblast709 I use this method in several other places, the lines can't be changed through an event there. Any workaround to this?
I call this method on a SignChangeEvent, and it doesn't do anything. Doesn't throw any errors either. Any immediate help would be appreciated....
SeaniePlays Just use two methods. (onJoin and onQuit) And use if/else checks for the permissions instead of using a separate method for each...
What is the output? Post the stacktrace, if there is one.
B3N909 Loop through the player's inventory contents using the advanced for loop and check if the type of the ItemStack is Material.LAVA_BUCKET. If...
Create a local boolean called let's say canSpawn and check if it is true when the command is executed. If it is, teleport them to the spawn, set...
gamemster2468 Yes, I've had this problem before. I'm guessing the problem is caused where you call an instance of your main class....
Does it throw a certain error? If so, post it.
Glad to help.
zShiver There is a static method in the Integer class called parseInt(String). Here, it tries to recognize the given string as an int, and if the...
vbcnxm Be sure to register it in your plugin.yml. And also, does it throw any errors or say Unkown command?
mkezar Not if you be more detailed about your question. For example: When you want to create so called "tornadoes". Is it on a certain event? etc.
AngelopoulosfilmsYT I edited it. Try it now.
@EventHandler public void onLogin(PlayerLoginEvent e) { if (e.getPlayer().isBanned()) {...
1. Set the block type to Material.AIR. 2. Spawn a falling block with the block type. 3. Set a velocity for the falling block. 4. Voila.
PandaTooth Try this in the class where you call the start method: Bridgicide bridgicide = new Bridgicide(); bridgicide.Start(StartReason.NORMAL);...
Separate names with a comma.