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!
Separate names with a comma.