1.16.5 Plugin doesent work, but why???

Discussion in 'Spigot Plugin Development' started by Lolmaster5000, Jul 2, 2021.

Thread Status:
Not open for further replies.
  1. Hello! I make a plugin for me and my friends, but when I import it to the server and reload the server and write /pl my plugin is red and I dont know why bcse there are no errors or something in my plugin. Also I dont have any acess to the console, that makes it harder to unsderstand what the problems are.
     
    #1 Lolmaster5000, Jul 2, 2021
    Last edited: Jul 2, 2021
  2. You will need to see the console and see the error log to know what is going wrong
     
  3. ok i will try to contact my friend
     
    • Like Like x 1
  4. ok, heres the error
     
    #4 Lolmaster5000, Jul 2, 2021
    Last edited: Jul 2, 2021
  5. Here's your error, put "dagger" instead of "drill" inside the dagger() method
     
    • Useful Useful x 1
  6. Great, so what happens is you are trying to register the same recipe over and over, you should un-register your recipes once your plugin gets disabled, using Bukkit#removeRecipe(NamespacedKey)

    EDIT: nvm
     
    • Like Like x 1
  7. Thanks it works!!!
     
Thread Status:
Not open for further replies.