@Roadrunner2222 you should check if the length of the args is higher then 0. If you try to get args[0] if it doesn't exists it will throw a...
@MrFloatingCow Can you show us what you tried?
Solved. I used this as a shortcut to acces the clans file from my main class. Stupid as I am I used it also to load the configuration file in my...
Debug 2 and 5 show @mine-care
When I try to save my custom config I get a NullPointerException. java.lang.NullPointerException [12:19:10 WARN]: at...
You can call the getOnlinePlayers() method from the Bukkit class.
You have to implement the CommandExecutor in the class you want the command executed from. Because CommandExecutor is an Interface you have to...
@mine-care Sorry posted to fast
@The_BloodHound If you want to have the commands in different classes you need to implement CommandExecutor in every class that has a command. In...
plugin.method();
Try putting the motd String in the config file between ' '
@amatokus check if the chest inventory is instaceoff DoubleChestInventory
Why are you getting the CommandSender if you are using an InventoryCloseEvent. Just use Player p = e.getPlayer();
use p.sendMessage(getConfig().getString("YourString").replace("%Player%", p.getName())
@CrossBowerMan What do you mean? it gives an error when you add them?
Separate names with a comma.