my vanish plugin wont work.

Discussion in 'Spigot Plugin Development' started by OrangeCheasy, Oct 19, 2019.

  1. #1 OrangeCheasy, Oct 19, 2019
    Last edited: Oct 19, 2019
  2. You're missing a colon after "commands" in your plugin.yml. Use this website to validate your ymls. http://www.yamllint.com/
     
  3. Java convention please! Class names should start with an upper case letter
     
  4. Also, if you are using the onCommand method from Bukkit, you need to annotate with @Override and make sure your class implements CommandExecutor
     
  5. That is not necessary. JavaPlugin already implements CommandExecutor. And an @Override annotation is considered as good practice but is also not necessary.
     
  6. Huh... never knew that