Please Help Anyone... Im sad my server wont work :(

Discussion in 'Plugin Development' started by jiklo777, Jan 8, 2018.

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

    jiklo777

  2. Offline

    Zombie_Striker

    @jiklo777
    Bukkit cannot find the main class with a path of "org.hcfpvp.hcf.Hcf". Are you sure this is the correct path and correct name of the main class? Can you post an image of your project's hierarchy?
     
  3. Offline

    Max8801

    Or a copy of the main class
     
  4. Offline

    jiklo777

  5. Offline

    Zombie_Striker

    You forgot to include the class name to the path. Include ".HCF" to the end of "org.hcfpvp.hcf.Hcf"
     
    Max8801 likes this.
  6. Offline

    jiklo777

  7. Offline

    Zombie_Striker

    @jiklo777
    Yes. Put that in the plugin.yml.
     
  8. Offline

    jiklo777

    @Zombie_Striker I did that and got an error caused by:
    java.util.zip.ZipException: error in opening zip file
     
  9. Offline

    Zombie_Striker

    @jiklo777
    Can we see the full error message?
     
  10. Offline

    jiklo777

  11. Offline

    timtower Administrator Administrator Moderator

    @jiklo777 Remove the constructors from the class.
    And where do all the line numbers come from?
    Just noticed the comment at the bottom of the class: Why are you decompiling and trying to fix a plugin? Why not just contact the developer instead?
     
  12. Offline

    jiklo777

    @timtower I would but unfortunately I don't know the Developer and this was actually a leaked plugin so I don't think he would be too thrilled with helping me
     
  13. Offline

    Torhal Curse

    Locking this thread since you're asking for help on what is essentially stolen content.
     
Thread Status:
Not open for further replies.

Share This Page