Plugin already initialized! Help

Discussion in 'Spigot Plugin Development' started by CrystalDev, May 11, 2015.

  1. I have the following error loading my plugin:

    Solved :)
    #1 CrystalDev, May 11, 2015
    Last edited: May 12, 2015
  2. Only one instance of your Main class can exist and is instantiated by Bukkit.
    • Useful Useful x 1
  3. Where you see the mistake?
  4. Your real mistake is watching TheBCBroz, but if you are talking about the exception being thrown, check whether you have the plugin twice in your plugins folder, or are instantiating the class anywhere else.
    • Like Like x 1
  5. I find the error:

    public class Main extends JavaPlugin{
    public final Logger logger = Logger.getLogger("Minecraft");
    public static Main plugin; <--- Remove Line
  6. I do not see TheBCBroz, it was part of a plug from a friend