Solved How i can do this?

Discussion in 'Plugin Development' started by sipsi133, Jan 3, 2014.

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

    sipsi133

  2. JSON, hoverEvent



    for help doing it in Bukkit
     
  3. Offline

    sipsi133

    Its not working :( Is it event possible to do? if it is, how?
     
  4. Offline

    Bionicrm Retired Staff

    sipsi133 I'm sorry, but the unfortunately infamous "It's not working" comment means absolutely nothing. Exactly what is not working?
     
  5. Offline

    sipsi133

    Bionicrm I use the same code as in that video, but when i open my server, i get this error:
    Code:
    09:50:23 [SEVERE] Could not load 'plugins\Testi.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/mi
    necraft/server/v1_7_R1/Packet
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:184)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:306)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
            at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.ja
    va:245)
            at org.bukkit.craftbukkit.v1_6_R3.CraftServer.reload(CraftServer.java:61
    6)
            at org.bukkit.Bukkit.reload(Bukkit.java:277)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    24)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:19
    2)
            at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServe
    r.java:532)
            at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(Craf
    tServer.java:519)
            at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:
    276)
            at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:2
    41)
            at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:4
    93)
            at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java
    :425)
            at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:5
    83)
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R1/Packet
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:173)
            ... 14 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet
     
            at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader
    .java:70)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:53)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 17 more
     
  6. Offline

    Bionicrm Retired Staff

    Did you set up your plugin.yml correctly? sipsi133
     
  7. Offline

    sipsi133

    Bionicrm Yes.
    Code:
    name: Testi
    main: io.github.sipsi133.Testi
    author: sipsi133
    version: 0.0.1
     
  8. Offline

    Drkmaster83

    Your error is that you're exporting with a 1.7.2 CraftBukkit library but the server is running something different, such as 1.6.4 or whatnot.
     
  9. Offline

    sipsi133

    Drkmaster83 Yeah. I used spigot 1.6.4 :D But now is working. Thanks! I mark this as solved.
     
  10. Offline

    Necrodoom

    Locked. Unofficial builds are not supported here.
     
Thread Status:
Not open for further replies.

Share This Page