Inactive [SEC] Deadbolt 2.1 - Modular sign-based container, door, trapdoor protection [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by daemitus, Sep 3, 2011.

  1. Offline

    daemitus

    [​IMG]
    The leader in modular sign based block protection
    Features
    *No databases. In-game signs only.​
    *Super permissions support ONLY.​
    *Protects any type of furnace, dispenser, chest, door, or trapdoor​
    *Broadcast specific admin actions to those with "deadbolt.broadcast.xxx"​
    *Denies explosions, pistons, and redstone from circumventing protection​
    *Timed doors, [Timer:#], that toggle after a certain delay​
    *Server-wide protected blocks, use [Everyone] on line 3 or 4​
    *Compatible with Lockette​
    *Modular plugin hooking system, add your own easily​
    *Localization support​
    Notes
    As this is a Lockette-type plugin, also similar to Alerter or BlockLock, things may seem similar. This plugin was originally created as a continuation of Lockette by Acru to add trapdoor support and other recent developments. Portions of this project were reverse engineered from Lockette and the original idea for a sign-based locking system still belongs with Acru. Credit where credit is due. As this only supports super permissions, if you need a plugin that is more backwards compatible with older configurations, you may want to look at Lockette.

    If you have another plugin such as Cenotaph or ChestShop3 that you have integrated with Lockette and would rather use Deadbolt instead, I have created a LocketteSimulator that will allow you to use Deadbolt instead.

    Check GitHub for the most recent files, there is a slight delay in getting files posted to DevBukkit authorized by the staff.
    DeadboltBridge is a new system designed to incorporate your favorite plugin directly into Deadbolt.​
    To create your own or to view Deadbolt's static API, head over to​
    Currently available for download: here
    Worried about the long plugin names polluting your /plugins list? Give PluginList a try!​
    Localizations
    Have a completed localization? Drop me a link to it and Ill add it to the repository.​
    Once added, it is available for automatic downloading by changing the "language" setting in config.yml.​
    Issues?
    Visit github and open an issue.​
    Alternatively, try and find me at play.arkcraft.net

    If youve paid any attention to the Lockette thread, this was born out of my effort there.
    The next step is to bother all the other authors and get incorporated there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
    kahlilnc and Inscrutable like this.
  2. Offline

    Acru

    You didn't send me a message before you started work decompiling, so~

    How about an updated Lockette? A little late, but 1.4 is out now...
    Along with the mature trusted security, I've tried to 1-up Deadbolt in some areas~ I'll get to the others soon. ;3
     
  3. Offline

    LlmDl

    It's the Towny support I'm after. Lockette has no way to stop chests from being claimed in the Towny Wilderness, or the ability for townnames and nationnames to be added to signs. It's really too bad your guy who was watching your thread for you didn't mention it went into the inactive state 3 weeks earlier I guess.
     
  4. 2011-09-17 12:34:56 [SEVERE] Could not load 'plugins\Deadbolt.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: com/daemitus/deadbolt/Deadbolt : Unsupported major.minor version 51.0​
    Bukkit 1137​
     
  5. Offline

    Rockstar04

    Requires java version 1.7
     
  6. I guess I must still be on 1.6 on the server.
     
  7. Offline

    md_5

    Read the devbukkit comments. I will release version 1.3 later today and it will bring back Java 1.6 support among other new features (gate protection, force coloring) and a few bugfixes.

    All issues previously mentioned about this release are now fixed. Please download latest jar from link below (same folder)

    Version 1.3rc for the latest RB (1185) is out! It is an rc becuase we are still working through some minor bugs. The changelog is as follows:

    Version 1.3rc
    Gone back to Java 6
    Built with Craftbukkit 1185
    Coloring behaviour has changed, with options to force specific colors
    The chaining of all containers (dispensers, furnaces) is implemented
    Fence gates are supported
    Various small other bugfixes

    Known Issues
    Double timer doors are broken
    Force coloring of Signs placed directly onto walls is broken.
    Vertical trapdoor chaining has been removed because it was only half implemented

    TODO
    Lever and button protection
    Automatic protection when right clicked with sign.

    Builds are at github.
    Main jar is Deadbolt

    The rest are under appropriate folders.
    Remember Java 7 is no longer necessary!
    Please report issues / bugs / and feature requests

    md_5

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  8. Granted - '*' to admins, yet getting Deadbolt: Access denied.
    Also tried granting - deadbolt.*
    Trying to open doors etc.

    Attempting to place a sign with just [rpivate] above a door. says nothing nearby to protect.
     
  9. Offline

    md_5

    Well judging by what you have said remember that only superperms is supported. If a previous build worked for you go back. I called this rc cause it wasnt approved and appears thats what it is.
    Thanks for the heads up. Added to list of possible issues to check for tomorrow.
    Could also be op issue. Try making an admin op, that might be quick fix
     
  10. I use GM with it's built in population of superperms, but will test as op.

    EDIT: nope. Oped myself and placing a private sign above a door says nothing nearby to protect :(
     
  11. Offline

    md_5

    Ok Read the edit above, all issues except for those ones listed are fixed in latest build. I have put it under the same folder. Thanks for the heads up about all the issues.

    md_5
     
  12. Permissions are fixed in Groupmanager.
    I can't get +townname+ to work in Deadbolt though ;(
     
  13. Offline

    md_5

    Sorry but thats not my department, I have never used Towny, thats Daemitus, who has just arrived back.

    Actually though I think the format is +townname+ +nationname+

    This would explain your problems
     
  14. Offline

    daemitus

    Make sure +townname+ isnt the owner, but one of the various other authorized people. If youre still having issues, reply to me again. I swear I had this thing watched for notifications.
     
  15. Sorry I actually had to revert back to using Lockette as Deadbolt has fallen behind the update curve.
     
  16. Offline

    md_5

    How has Deadbolt fallen behind the update curve, aside from redstone protection and possible limit on locks everything is there. It works with 1240 and was built with 1185 (how else would gates be in?) and im sure @daemitus will update the title if it makes you feel better.
     
  17. Offline

    daemitus

    Pretty much. Everything works, Im out of ideas besides random bridge things. Theres some elusive bug with left click and wood doors, but ive yet to be able to produce it or even see it.
     
  18. Offline

    Darkhand81

    If a Towny town runs out of funds and the town is disbanded, will the chests in the town be unlocked too?

    If not, I'd like to request the option. :) This would keep admins from having to manually prune chests every time a region is disbanded.
     
  19. Offline

    LlmDl

    If not, I'd like to request the option. :) This would keep admins from having to manually prune chests every time a region is disbanded.[/quote]
    Towny does handle this. 2 ways:

    1. Deleting IDs on unclaim
    On a per-world basis you can have a list of IDs removed from townblocks when they are unclaimed (mayor command or upkeep). Signs are automatically in this list.

    2. Mayor's /plot clear command
    Also on a per-world basis, mayors have access to the /plot clear command. This command can only be used on an town-owned (no personally-owned by a resident) townblock. Typing '/plot clear' will erase the listed IDs, useful for when a player leaves town/is kicked from town and their lockette chests are on the property still.
     
  20. Offline

    Darkhand81

    Fantastic, thanks!
     
  21. Offline

    daemitus

    Yup, towny has since added in /plot clear. Although the Towny Bridge has the option for mayors to override protections in their own town, incase plots are shared.
     
  22. Offline

    agubelu

    Does the plugin support permissions groups?
     
  23. Offline

    daemitus

    Natively, no. I wrote a listener system such that I or you could hook in and modify the default behavior. If you look in the jar, there will be files like TownyListener, PermissionsExListener, etc. Grab whichever ones applies and put them in plugins/deadbolt/listeners. If you mean the old Permissions2/3.x, then no, I havent made one of those yet.

    With the listeners in the top level folder in the jar, just use [Groupname]
     
  24. Offline

    agubelu

    Yay! Thanks a lot! :)
     
  25. Offline

    Buckethead

    on startup with new 1.0

    Code:
    23:51:38 [SEVERE] Could not pass event REDSTONE_CHANGE to Deadbolt
    java.lang.NullPointerException
            at com.daemitus.deadbolt.events.RedstoneListener.onBlockRedstoneChange(RedstoneListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:525)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.BlockPressurePlate.g(BlockPressurePlate.java:124)
            at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:71)
            at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:414)
            at net.minecraft.server.Entity.move(Entity.java:613)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:751)
            at net.minecraft.server.EntityLiving.d(EntityLiving.java:913)
            at net.minecraft.server.EntityVillager.d(SourceFile:36)
            at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
            at net.minecraft.server.World.tickEntities(World.java:1142)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    23:51:39 [SEVERE] Could not pass event REDSTONE_CHANGE to Deadbolt
    java.lang.NullPointerException
            at com.daemitus.deadbolt.events.RedstoneListener.onBlockRedstoneChange(RedstoneListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:525)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.BlockPressurePlate.g(BlockPressurePlate.java:124)
            at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:63)
            at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:199)
            at net.minecraft.server.World.a(World.java:2321)
            at net.minecraft.server.World.doTick(World.java:1740)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    >
    i cant rember every thing all the time. bperms or permissions bukkit is the builtin one that come with craftbukkit. or neither?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  26. Offline

    md_5

    Neither, I pushed a fix for the error you had above.
    @daemitus
     
  27. Offline

    Buckethead

    ok now this happens from random events. log in, out doors redstone or not....

    Code:
    00:16:07 [SEVERE] Could not pass event REDSTONE_CHANGE to Deadbolt
    java.lang.NullPointerException
            at com.daemitus.deadbolt.events.RedstoneListener.onBlockRedstoneChange(RedstoneListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:525)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.BlockPressurePlate.g(BlockPressurePlate.java:124)
            at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:71)
            at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:414)
            at net.minecraft.server.Entity.move(Entity.java:613)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:751)
            at net.minecraft.server.EntityLiving.d(EntityLiving.java:913)
            at net.minecraft.server.EntityVillager.d(SourceFile:36)
            at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
            at net.minecraft.server.World.tickEntities(World.java:1142)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    wait like just now?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  28. Offline

    md_5

    Buckethead likes this.
  29. Offline

    Buckethead

  30. Offline

    daemitus

    Any idea what block is making that happen? Some custom spoutblock?
    at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:414)
     
  31. Offline

    Buckethead

    no idea. i dont read code. and i just have regular spout no other spout plugins yet

    and this happens from random events. both errors i posted

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016

Share This Page