bump, again :) Edit: Eh, nevermind, solved the problem myself :D
This might give you an idea: @EventHandler(priority=EventPriority.LOWEST) public void onCommandPreProcess(PlayerCommandPreprocessEvent event)...
/plugins is overriden by Bukkit. You can use the PlayerCommandPreProccess event and cancell it when the command is /plugins. Then do your in there...
You're checking if args length is 2 after you check if the length is 1, insied the same if. If you make the command with 2 args, the code in the...
bump
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){ if(cmd.getName().equalsIgnoreCase("test")){...
MOMOTHEREAL You could try this (I've only tested for chat so far... Also, the credit goes to Father of Time, I got the method from this thread...
Wrong section? http://forums.bukkit.org/forums/plugin-requests.13/
Hi! I am working on a minigame plugin, but I had a question about scoreboards. Each time I add a player to an arena, I add him to the arena's...
Verify_x You're making the command ecohelp in the Help class. In your main class, you're setting the command "ecohelp" to the class EcoHelp....
Could you post your code please? :)
package me.cruz2000; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Entity; import org.bukkit.entity.Player;...
Who would you want to have the permission? The person who clicks, or the target?
cruz2000 No problem! Sorry for all the trouble though!
cruz2000 Okay, I'm really really sorry, I think I got it this time. I had the same issue with a different check, about != and ==. It's late right...
Try this one? I shouldn't take the blaze rod now. package me.cruz2000; import org.bukkit.Bukkit; import org.bukkit.Material; import...
cruz2000 I thought you wanted it that way. It does take the other person's item and adds it to you, but also takes away your rod. Here's the fix:...
cruz2000 Oh my god, I'm so dumb! I wrote != instead of ==! Just notcied after debugging a bit... Sorry... Try this: package me.cruz2000; import...
You can try this: package me.cruz2000; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Entity; import...
Did you also make your calss implement Listener?
Separate names with a comma.