Filled Locking doors based on gametime

Discussion in 'Plugin Requests' started by Sonic5317, Apr 6, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Sonic5317

    Looking for a plugin to lock doors at certain times in the day such as night, there has been a plugin that does this already but it's outdated.

    Outdated plugin:
    http://dev.bukkit.org/bukkit-plugins/lockclock/

    Looking to use it to close in game NPC shops at night.

    What should it do?

    Be able to lock doors in between defined times

    Able to lock double doors

    Optional: Teliport players to outside an area (Set by command) after it is closed, this will help players from getting stuck inside closed areas
     
    Last edited: Apr 6, 2016
  2. Offline

    pie_flavor

    @Sonic5317 Outdated doesn't mean incompatible. Have you tested it?
     
  3. Offline

    Regablith

    The plugin works fine.
     
  4. Offline

    Sonic5317

    Yeah I have, the plugin spams an error, while this is happening the plugin does lock doors most of the time but switching time via command seems to break it.

    This is the error it gives:

    Code:
    23:13:35 [WARN] [LockClock] Task #373 for LockClock v1.0.1 generated an exception
    23:13:35 java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    23:13:35 at me.eccentric_nz.lockclock.LockClockRunnable.run(LockClockRunnable.java:26) ~[?:?]
    23:13:35 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:35 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:35 at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:35 at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:36 at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:36 at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]
    23:13:36 at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
    
     
    Last edited: Apr 6, 2016
  5. Offline

    DarkFuzzyCookie

    Working on an updated version, probably be done tomorrow around midnight.
     
  6. Offline

    Lordloss

    @DarkFuzzyCookie You are not the owner of this plugin, and its very likely that you dont asked him if youre allowed to edit his file. He is still an active developer, so please ask him if he updates his plugin, or if you get permissions to do it.
     
  7. Offline

    pie_flavor

    @Lordloss @DarkFuzzyCookie The plugin is under the GPLv3, so anyone can change it and release their own versions as they so please.
     
  8. Offline

    MisterErwin

    Obviously @Sonic5317 is using one of spigot's 1.9 builds.
    Spigot has a tool named SpecialSource for that(It basicly updates the plugin). See paragraph "CraftBukkit" here
     
    Last edited by a moderator: Apr 7, 2016
  9. Offline

    Sonic5317

    I managed to get in touch with the developer of this plugin and has very quickly released an update with a few new features also.
     
  10. Offline

    MisterErwin

    @Sonic5317 Mind tagging the Thread as Filled? ;)
     
Thread Status:
Not open for further replies.

Share This Page