Spigot LampControl 4.0.0-SNAPSHOT

Official LampControl plugin on Spigot

  1. Hey, I know about this issue and working on resolving it. Today, there will be update. Redstone doesnt works to lamps, you need to disable it in config (controls: redstone: false). I will set this to false by default.

    This plugin needs detailed description and I will work on it!

    Thanks for reporting!
     
  2. The red stone issue still seems to occur even when changing that setting. Still gives no console errors.
     
  3. Redstone still is not working, no matter what the config is set to. Also, the world edit issues are still persisting.
     
  4. I just saw that I uploaded wrong version, lol
     
  5. There is a new issue now:
    Code (Text):
    12/25/2018 23:42:56

    23:42:56

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:56

    23:42:56

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:56

    23:42:56

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:57

    23:42:57

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:57

    23:42:57

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:58

    23:42:58

    Could not pass event PlayerInteractEvent to LampControl v3.1.2

    Console

    12/25/2018 23:42:58

    23:42:58

    java.lang.NullPointerException: null

    ERROR

    12/25/2018 23:42:58

    23:42:58

    Could not pass event PlayerInteractEvent to LampControl v3.1.2
     
  6. I will look into it
     
  7. Console is being spammed by this

    [01:25:39 ERROR]: Could not pass event PlayerInteractEvent to LampControl v3.1.2
    java.lang.NullPointerException: null
    at cz.ceph.lampcontrol.events.ReflectPlayerInteractEvent.execute(ReflectPlayerInteractEvent.java:34) ~[?:?]
    at cz.ceph.lampcontrol.events.ReflectEvent.lambda$registerPlayerInteractEvent$0(ReflectEvent.java:72) ~[?:?]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:299) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:266) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:262) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1678) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:24) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot.jar:git-Spigot-573cdf2-bd36e20]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_191]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot.jar:git-Spigot-573cdf2-bd36e20]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot.jar:git-Spigot-573cdf2-bd36e20]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
     
    • Agree Agree x 2
  8. Lamps turn off when there is a block update now. Also, lamps are accessible to anyone now, regardless of whether it's in a WorldGuard region or not. The light item doesn't work either. :\
     
    #32 Jeremaster101, Jan 3, 2019
    Last edited: Jan 4, 2019
  9. Alright, I need to rewrite it at all. Can we contact in any other way?
     
  10. If you have discord, my discord name is @Jeremaster101#0464
     
  11. Cannot find u :/
     
  12. oh I messed it up its @Jeremaster101#0494
     
    • Winner Winner x 1
  13. Very nice plugin. I would suggest making the WE option to be compatible with worldguarde as a review suggested too. It would be nice to only allow players to use the command in their region.. and not other peoples.

    Other features work wonderfully.
     
    • Like Like x 1
  14. Needs update for 1.14.1.
    Error occurred while enabling LampControl v3.1.2_4 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_13_R2/command/CraftCommandMap
    at cz.ceph.lampcontrol.commands.core.CommandHandler.getKnownCommands(CommandHandler.java:110) ~[?:?]
    at cz.ceph.lampcontrol.commands.core.CommandHandler.containsCommand(CommandHandler.java:115) ~[?:?]
    at cz.ceph.lampcontrol.commands.core.CommandHandler.registerCommand(CommandHandler.java:149) ~[?:?]
    at cz.ceph.lampcontrol.commands.core.CommandHandler.lambda$loadCommands$0(CommandHandler.java:67) ~[?:?]
    at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_211]
    at cz.ceph.lampcontrol.commands.core.CommandHandler.loadCommands(CommandHandler.java:55) ~[?:?]
    at cz.ceph.lampcontrol.LampControl.onEnable(LampControl.java:79) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:761) [spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_13_R2.command.CraftCommandMap
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:81) ~[spigot.jar:git-Spigot-03bd4b0-49e15b4]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
    ... 16 more
     
    • Like Like x 1
  15. Gotta look into this :)