Solved java.lang.NullPointerException: null help

Discussion in 'Plugin Development' started by MutatedOrange, Jul 25, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    MutatedOrange

    hey so I made my first plugin, sorry if this is a dumb mistake but when I load up the test server I get this message: Screenshot_65.png

    Don't exactly know whats going wrong, here is my main class. Screenshot_66.png
    And the command class:
    Screenshot_67.png
    Anyone know? I'm sure its a stupid mistake :(

    EDIT: Got it solved by a third party, it was a stupid mistake (also wow 3500 people have viewed!)
    thanks for the support guys :)
     
    Last edited: Jul 27, 2019
  2. Offline

    timtower Administrator Administrator Moderator

    @MutatedOrange You didn't register the DingDong command in the plugin.yml
     
  3. Offline

    Machine Maker

    In case you don't know how to do that, take a look at this resource.
     
  4. Offline

    MutatedOrange

    Screenshot_69.png there is my Plugin.yml, as far as I can tell I registered it, is there a specific name I should give the command?
     
    Last edited: Jul 26, 2019
  5. Offline

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page