MittelEgo Posted January 26, 2019 Share Posted January 26, 2019 Hey, ich habe erst angefangen programmieren zu lernen und habe mich entschieden mit Minecraftplugins anzufangen. Ich habe jetzt ein paar Commands,doch wenn ich versuche diese auszuführen,kommt die Meldung: "An internal error occurred while attempting to perform this command". In der Konsole kommt diese Meldung: [14:23:10 INFO]: MittelEgo issued server command: /countdown [14:23:10 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'countdown' in plugin Beginner v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [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.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_201] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_201] 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.lang.Thread.run(Unknown Source) [?:1.8.0_201] Caused by: java.lang.IllegalArgumentException: Null class cannot have a plugin at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.java.JavaPlugin.getPlugin(JavaPlugin.java:521) ~[spigot.jar:git-Spigot-db6de12-18fbb24] at de.mittelego.lernen.commands.CountdownCommand.onCommand(CountdownCommand.java:22) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-db6de12-18fbb24] ... 15 more Ich würde mich über jede Hilfe freuen! Ich bin wie gesagt,ein Anfänger und bitte daher etwas geduldig mit mir umzugehen Link to comment Share on other sites More sharing options...
Xenox003 Posted June 23, 2019 Share Posted June 23, 2019 Hallo, bin zwar auch neu versuche aber trozdem dir zu helfen. Wenn du eventuell mal den quellcode des commands reinschickst könnte ich dir vielleich weiterhelfen Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now