Spigot VisualLocks 0.1.3 for MC1.9.4

A locking system with GUI's!

  1. Kuliu submitted a new resource:

    VisualLocks [NOW FREE] - A locking system with GUI's!

    Read more about this resource...
     
  2. Would it be possible to have a feature where admins can lock blocks for other players: i.e /visuallock playerlock playername number

    Also it would be cool if the owners of the doors could edit the code without destroying the locked item.

    Thanks :D
     
  3. You can kinda edit the lock by running the /visuallock unlock command followed by /visuallock lock <Code> command. No need to break the block. Also that feature may be added im not sure yet.
     
  4. how to fix
    18.05 20:43:44 [Server] INFO ... 14 more
    18.05 20:43:44 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at me.kuliu.main.VisualLocks.onCommand(VisualLocks.java:67) ~[?:?]
    18.05 20:43:44 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    18.05 20:43:44 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_65]
    18.05 20:43:44 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_65]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.1-20150304a.jar:git-Spigot-c3c767f-33d5de3]
    18.05 20:43:44 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'visuallock' in plugin VisualLocks v0.1.3
    18.05 20:43:44 [Server] ERROR null
     
  5. NullBlox

    Patron

    Does this Lock Armor Stands?
     
  6. Awesome plugin. May I suggest a feature so doors etc. auto shut after x seconds.
     
  7. I also find that OPed players should be able to unlock doors and remove them with some permission.. I can actually lock an admin in a room of doors...
     
  8. I think it's a good idea add a file with the language for change it.
    (Sorry my english ).
     
  9. If you don't specify a code it throws a NPE on the console -

    [16:11:28 INFO]: grayhair issued server command: /visuallock lock
    [16:11:28 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'visuallock' in plugin VisualLocks v0.1.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
    at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at me.kuliu.main.VisualLocks.onCommand(VisualLocks.java:83) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.9.jar:git-Spigot-104c8c8-00d3334]
    ... 15 more
     
  10. Looks like it also throws errors in 1.9 stopping you from entering the code.


    15:28:38 ERROR]: Could not pass event InventoryClickEvent to VisualLocks v0.1.3
    rg.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1852) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
    at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
    aused by: java.lang.NoSuchFieldError: CLICK
    at me.kuliu.main.Lock.onInventoryClick(Lock.java:422) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-23e921f-8b69bdd]
    ... 15 more
     
  11. The plugin doesn't load for spigot 1.9.4.

    Can you help me? (Yes I have the latest version.)
     
  12. Error :(
    Possible to add config with text to translate?
    [00:53:16 ERROR]: nullorg.bukkit.command.CommandException: Unhandled exception executing command 'visuallock' in plugin VisualLocks v0.1.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-455072c-43ab266] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-455072c-43ab266] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:647) ~[server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-455072c-43ab266] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [server.jar:git-Spigot-455072c-43ab266] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [server.jar:git-Spigot-455072c-43ab266] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.kuliu.main.VisualLocks.onCommand(VisualLocks.java:73) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-455072c-43ab266] ... 15 more>