Solved How to solve this problem?

Discussion in 'Plugin Development' started by liaosunny, Aug 14, 2017.

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

    liaosunny

    upload_2017-8-14_16-2-48.png
    The plug-in I made could not be loaded in the server.
    But I can not solve it.
    I want a person's help.
    My code:
    upload_2017-8-14_16-5-23.png
    plugin.yml:
    upload_2017-8-14_16-5-50.png
    list:
    upload_2017-8-14_16-6-10.png
    Who can help me?Thank you very much.
     

    Attached Files:

  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    liaosunny

    Java 8?Ok,thank you very much.Let me have a try.
     
  4. @liaosunny No need to log your plugin. Bukkit will do it for you.
     
  5. Offline

    liaosunny

    Oh,I used the Java 8.And I I solved the problem.Thank you timtower.
     
  6. Offline

    AdamDev

    If your problem is solved. Please change your forum to solved.
     
  7. Offline

    Zombie_Striker

    @liaosunny
    Few things:
    1. You have no association to the creation or maintenance of bukkit. Do not use com.bukkit in the package name. Instead, use a domain you own, your email address, or use the format "me.<name>.<project>"
    2. There is no reason to stay on an outdated version. Update your server.
    3. I highly recommend you rename the jar to be bukkit or spigot, what it actually is, instead of this ambiguous start.jar
    4. If your problem has been solved, mark this thread as solved.
     
  8. Offline

    liaosunny

    Ok,I changed the title
     
  9. @liaosunny @Zombie_Striker
    Actually, 'me' is very bad practice for packages. If you are going to use your username/alias as a package, you should put your two letter country code as a tld.

    From the Java Language Specification:
     
Thread Status:
Not open for further replies.

Share This Page