When a boolean returns true it stops executing at that exact line. It would be inefficient to execute the whole task If u use return false it...
Try to use return statement so when the plugin should stop use return true;
Instead of if(commandLabel.equalsIgnoreCase("wolves")) { use if(command.getName().equalsIgnoreCase("wolves")){
I would to appreciate if someone could explain - In my case i just download from github
If my plugin name is jCommand and command is back u could use if(player.hasPermissions("jCommands.back")
I am not sure but do you mean if(player.hasPermission("<plugin>.<action"){ //a lot of action }
YOou in at least have to tell us when you want to give the items
package me.jozeth.jCommands.commands; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import...
Post the errors you recieve from console :)
Could you describe what u want a little bit more in detail:)
Hello Developers I want to use if-statements to check which entity/player killed player So i hoped somebody could help me setup my...
you should do if(sender instanceof Player){ //CommandSender here is sender //Do your action as player return true; } else { //Do your...
thanks for reply i will keep this in mind, i just forgot to add 0.1 in title i shall make a bukkitdev page
Separate names with a comma.