set them to adventure mode?
new ItemStack(Material.<mat>, <amount>, (short) <data>);
@EventHandler public void onInteract(PlayerInteractEvent e){ if (e.getAction == Action.RIGHT_CLICK_BLOCK{...
I don't know where to start. The amount of errors in this code is making me sad. What do you want this to do, anyways?
Why are you using a method for this? You can simply do the following: // If you don't have a world object already Block b =...
int health = (int) p.getHealth(); int max = (int) p.getMaxHealth(); double percent = health/max; p.sendMessage("Your health is at " + percent + "%.");
Probably want something like this, just made it, super bored. package com.julian.annihilation; // Created by Julian on 2014-10-07 import...
Then you did something wrong.
have both commands registered in the plugin.yml, implement commandexecutor in your second command class, and in your onenable method in your main...
Yeah, I'm trying to get it to work now, my config is doing weird stuff. http://dev.bukkit.org/bukkit-plugins/colorchatz/...
I can do this pretty easily.
/rg addmember <region> g:<groupname>
Wouldn't you rather have fire just go out after a few seconds?
It doesn't throw errors, but none of the code in the method is thrown when the event is called. Agh ignore me I forgot to register the events, I...
yeah, I already did that.. That doesn't work either, which is what it stumping me.
Separate names with a comma.