Solved Commands not working

Discussion in 'Spigot Plugin Development' started by Kierriath, Jun 5, 2017.

Thread Status:
Not open for further replies.
  1. Like I said before :p, you probably didn't register your class to bukkit/spigot and the error is coming from where you have 2 onEnables, also I recommend setting up the config on your main and keeping the onEnable + onDisable in main too.
     
  2. Why make two threads are you dumb?
     
    • Funny Funny x 1
  3. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    http://bukkit.gamepedia.com/Plugin_Tutorial#Using_a_separate_CommandExecutor_class
    The error you're having is two classes extending JavaPlugin.
     
  4. Ok if he spotted his mistake why open a new one? Even if he's new it's common sense lol
     
  5. He should have stuck with the first thread he made. You don't make a new thread with the same problem as the other one.
     
  6. Like I said above he is new and I don't want to spam his topic with unwanted hatred, so please stop talking about it he is new so get off his back.

    Also please deleted your post on here so the helpful ones can be seen
     
  7. @Kierriath Maybe by learning Java first and than the Spigot/Bukkit API you would know the problem. Its basic stuff.
     
  8. Thanks for the help!
     
  9. I'm ready, I found a fix, thank you for the support!
     
    • Like Like x 1
Thread Status:
Not open for further replies.