Need help with plugin.yml issues

Discussion in 'Plugin Development' started by BouncySlime555, Aug 2, 2015.

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

    BouncySlime555

    Hi there!
    Recently, I have started to learn bukkit, and I am using the plugin tutorial from here:
    http://wiki.bukkit.org/Plugin_Tutorial
    I came across an issue with the plugin.yml file, when I was testing something out. Below, I linked an image of the error I was getting when I was starting my server for testing the plugin.
    [​IMG]
    Also, below is what the plugin.yml file looks like it if it helps.
    Code:
    name:{ExplosionsMod}
    main:{com.enjin.slimecorp.ExplosionsMod.ExplosionsMod.java}
    version:{1.0 BETA}
    
          
    Please help me.
    Thank you!
     
  2. Offline

    Jakeeeee

    1. name: ExplosionsMod
    2. main: com.enjin.slimecorp.ExplosionsMod.ExplosionsMod.java
    3. version: 1.0
    Do not add {} :p
     
  3. Offline

    Ruptur

    @Jakeeeee
    Not sure if it would work either ways but there is not need for the .java at the end of the main
     
  4. Offline

    teej107

    @BouncySlime555 The main must be the fully qualified name of your JavaPlugin extended class. The file extension is not included and the name is case sensitive.

    More info about it can be found here: http://wiki.bukkit.org/Plugin_YAML
     
    Last edited: Aug 2, 2015
  5. Offline

    raymart23

    com.enjin.slimecorp.ExplosionsMod.ExplosionsMod.java
    I think you doesn't need .java ?

    PHP:
    namePluginName
    author
    You
    version
    1.0
    main
    com.enjin.slimecorp.ExplosionsMod.ExplosionsMod
     
  6. Offline

    Tecno_Wizard

    No, you don't.
     
  7. Offline

    Jakeeeee

    You don't need .java, I didn't catch that he put .java at the end...
     
Thread Status:
Not open for further replies.

Share This Page