Plugin not working?

ke
- in Plugins
5

I have programmed a Godemod plugin it puts you in godmod and you get 20 (40) hearts but it doesn't work!

console error code:

Error occurred while enabling RushMode v1.0 (Is it up to date?)

java.lang.NullPointerException

at de.Kalio.rushpvp.main.Main.onEnable (Main.java:27) ~ [?:?]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

can someone help me?

Co

/ godmode not godmod

ke

Sry that doesn't help me either…

misspellings… In the plugin it is not

Co

I see

Co

Always write properly. It could have been because of it

ke

I know.