API's.. API's..
create your own command registration
You never restate the Color.
No, like this: package me.pedropicas.MPTCore; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.Command; import...
You check if there are arguments AFTER the code has executed. Try this statement before the code: if(args.length == 0) {...
@Bloxcraft Did you even read the code? I did use color codes. (not trying to be rude) [IMG] Bump. Can someone Please help. EDIT by Moderator:...
I've never worked with cases but shouldn't you do switch (yourItem.get type); case Material.IRON_BLOCK; case Material.YOUR_ITEM; Instead of just...
@AdamQpzm either way it turns out to be "". Can someone help please?
I give up.
Now your saying cohm.ent is from your RemoveEntities class. Before you were saying it was the CommandHandler class.
Why do you reffer to the class inside the class? Thats like doing public class Main extends JavaPlugin { Main plugin; @Override public void...
What. So you set ent.. but ent is also in command handler class... so.. there are two ents? I'm extremely confused.
Whats the "cohm"
[IMG] Here's a better version that catches arguments: [IMG] You can add as many commands as you want. @EventHandler public void...
I don't know what "comh.ent" is, and it could be null.
Separate names with a comma.