Error occurred while enabling PotionG v1.0 (Is it up to date?)

Discussion in 'Plugin Development' started by Emis, Feb 19, 2019.

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

    Emis

  2. Online

    timtower Administrator Administrator Moderator

    @Emis Your command in the plugin.yml doesn't match the one in the Invisibility class.
     
  3. Offline

    Emis

    What Do you mean? The potion. use or potion? Sorry for misunderstanding by the way
     
  4. Online

    timtower Administrator Administrator Moderator

    The command executor, and the registred command in the plugin.yml
     
  5. Offline

    Dai_Kunai

    Yeah you have it labeled as /Labas in the command executor class and in plugin.yml you have this:
    Code:
    commands:
        hello:
          usage:
          description: Description
          aliases: [boy, invisible]
    This would make the plugin get the command /hello, which just wouldn't do anything.
     
  6. Offline

    Emis

    Thanks!!!! It worked, thanks!!! :D
     
  7. Offline

    Colinus999

    Don't forget to mark your Thread as Solved
     
Thread Status:
Not open for further replies.

Share This Page