You need to make your main class public.
You can loop through the keys from the configuration section, then send those as messages.
Use Bukkit.getPlayer(String) or Bukkit.getOfflinePlayer(String)
How would you suggest doing it then?
Add the "static" modifier to the ArrayList, then you will be able to access it from any other class.
config.createSection(playerName + ".kills"); config.createSection(playerName + ".deaths"); should be put in your PlayerJoinEvent class. You should...
In your PlayerJoinEvent, you can call the FileConfiguration.createSection(String) method to create a new section in the config.
use the SLAPI to save/load the object. import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import...
To get the sign's location, use Integer x = event.getBlock().getX(); Integer y = event.getBlock().getY(); Integer z = event.getBlock().getZ();...
You could use a config and store the signs, then get their coordinates and whatever other information you want to store with it.
Do you want the locations of the signs in a text file, like a list? or do you want to be able to get the locations of the signs again and use them...
How are you storing the plots? If using objects, you could create fields for a spawn point, and teleport them there when the plot is created Or...
In the second command, "class miner" should just be "class". "miner" is an argument, not part of the command name.
Look here: http://wiki.bukkit.org/Event_API_Reference
ItemStack itemStack = new ItemStack(Material.STONE,1); Enchantment enchantment = Enchantment.ARROW_DAMAGE;...
You can check that with the canEnchantItem(ItemStack) method in the Enchantment class....
You can't run a command from a listener, and vice versa. What exactly are you trying to do?
What do you mean exactly?
You could use a hashmap to store the player's name and whether or not they have run the command, then check that when the player tries clicking...
Check if the command name is "class", then check the arguments length, then see if the first arg is "miner".
Separate names with a comma.