Jump to content

Eigenes Plugin funktioniert nicht


 Share

Recommended Posts

Ich programmiere mit eclipse in eclipse kommt keine einzige fehlermeldung

Kaum exportiere ich es und packe es in den plugins ordner und starte den server kommt eine fehler meldung

Error occurred while enabling LobbySystem v1.0 (Is it up to date?)
java.lang.NullPointerException
    at me.Flexii.LobbySystem.main.registerCommands(main.java:52) ~[?:?]
    at me.Flexii.LobbySystem.main.onEnable(main.java:31) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:416) [spigot.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:382) [spigot.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:337) [spigot.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:257) [spigot.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-870264a-0a645a2]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
[20:49:35] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[20:49:35] [Server thread/INFO]: Done (4,371s)! For help, type "help" or "?"

 

wäre schön wenn mir wer helfen kann danke im vorraus.

Link to comment
Share on other sites

Hast du den Command, den du in der main (Zeile 52) registrierst in der plugin.yml eingetragen? Ansonsten poste am besten den betroffen Code + füg Codes, Errors o.ä. im Code editor.

 

 

 

//Thema moved

Edited by Joey
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...
B
B