Inventory Not Opening - Custom Plugin - HELP! <3

Discussion in 'Spigot Plugin Development' started by 88p, Jun 10, 2017.

  1. Very messy mate, it honestly becomes a lot simpler if you assign certain code to certain classes.

    For example you should create your own listeners/events class and put it all in that.

    Main should be anything to do with enabling/disabling your plugin

    In terms of your plugin you don't have

    Code (Text):
    above your onEnable (yes you will need it for onDisable as well)
  2. it isnt compulsory to have the annotation, but it helps.
  3. Always good to have the annotation in my opinion
  4. Stack trace is outdated. That will fire if you have two classes that extend JavaPlugin.

    Sent from my iPhone using Tapatalk