Beiträge von Melone

    aber was du mit package Teil über den Imports meinst verstehe ich nicht

    Ich habe in der Denn Richtigen Pfad angegeben und die Klasse ist klein geschreiben will ich es kucken wollte ob er die klasse findet wenn ich die Nochmal mache und da habe ich die Klein gemacht

    hallo ich habe grade mein plugin Expotiert und habe denn fehler und imm Internet finde ich nicht hilfreiches auser das er die Klasse nicht findet (habe die main Klasse auch neu Erstellt)


    Code
    name: Lobby
    main: de.melone.main.main
    author: Melone
    version: 1.0
    commands:
    gm:

    ja habe ich habe ihn auch mal verucht neu einzutragen


    plugin.yml


    name: Freebuild-Systeam

    main: de.melone.main.Main

    version: 1.0

    author: Melone145


    Commands:


    gm:

    immer wenn ich mein command hinzufüge komm der Fehler hir


    [11:20:22 ERROR]: Error occurred while enabling Freebuild-Systeam v1.0 (Is it up to date?)

    java.lang.NullPointerException

    at de.melone.main.Main.onEnable(Main.java:22) ~[?:?]

    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:741) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.Bukkit.reload(Bukkit.java:535) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot.1.8.8.jar:git-Spigot-db6de12-18fbb24]

    at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]

    und so jetzt besser

    aberr jeztz ist das player was ich gemein habe wieder fehlerhaft (also ist Rot)



    ich kann Progammieren aber nur keine Bungee Plugins


    und das


    Player player = Bukkit.getPlayerExact("Example");


    ist auch auf der seite und ich baruche ja auch für denn


    Code
    player.sendPluginMessage(this, "BungeeCord", out.toByteArray());

    etwas denn am ender Steht player

    Villiger_Event



    Main


    ich bkomme nur das


    org.bukkit.event.EventException

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1315) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) [?:?]

    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at java.base/java.lang.Thread.run(Thread.java:844) [?:?]

    Caused by: java.lang.ClassCastException: de.melone.lobby.listener.Villiger_Event cannot be cast to org.bukkit.plugin.Plugin

    at de.melone.lobby.listener.Villiger_Event.onfree(Villiger_Event.java:35) ~[?:?]

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

    at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]

    ... 15 more