Deadbolt
Features
- No databases. In-game signs only.
- Super permissions support ONLY.
- Protects any type of furnace, dispenser, chest, door, trapdoor, cauldron, enchantment table, or brewing stand.
- 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
- Modular plugin hooking system, add your own easily
- Compatible with Lockette
- Optional sign coloring
- 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.
Check GitHub for the most recent files, there is a slight delay in getting files posted here authorized by the staff.
Usage
Place a sign next to the item you want to protect and type in the following
- Line 1: [Private]
- Line 2: Your name will be automatically filled, users with "deadbolt.admin.create" can specify someone else.
- Lines 3 and 4: You have a couple options for these lines
- Another player's name
- Unrestricted access via [Everyone] while preventing breaking
- Create an automatic timed door using [Timer:1] through [Timer:9]
Not enough room for all the names you need? Make another sign with the [More Users] on line 1
For ease of use in maintaining your signs without having to break them:
- Right click the sign to select it.
- Use "/deadbolt <line number> <text>" to directly modify that line.
When placing signs, valid locations are to the NORTH, SOUTH, EAST, and WEST of the target block.
Other valid blocks include:
- Doors: The blocks above and below.
- Trapdoors: The block that it is attached to (hinge-block) and directly above/below the trapdoor itself.
- Fence gates: Any block horizontally adjacent to the gate itself.
Use your imagination and hide those unsightly signs under walls.
Also, color is now available! Just add "deadbolt.user.color" and use &1-9,a-f in your sign.
Permissions
Configuration
Developer's Corner
DeadboltListener 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 the Developer's Corner
Currently available for download
- PermissionsBukkit, PermissionsEx, bPermissions, GroupManager
[GroupName]
- SimpleClans
[ClanName] [ClanTag]
- Towny
[TownName] [NationName] (All residents) +TownName+ +NationName+ (Assistant/Mayor only) 4 Config options: mayor,assistant,wilderness overrides.
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.
Available:
Issues?
The following issues are known:
- 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
Visit github and open an new issue.
Alternatively, try and find me at play.arkcraft.net.
@Melonking
Same problem here...
@Melonking
yeh same problem
One of my players with a longer name is having an issue where the last letter of their name is being cut off. It fits on the line, however it is still cut, even if they add the letter themselves.
I made a lock for them myself and it worked fine however.
After installing the latest version, the auto-expire function is still working and there's no way in the world to get rid of it. Also, your configuration section was last updated in December, and I can't find info about the auto-expire function nor how to disable it.
work on 1.2.3?
It seems that double doors are manipulated wrongly...
They have the wrong hinge corner sometimes after using !
Seems to be related to world conversion ... ?
@Deadbolt
Did you think about permission-suffix based access yet ?
Group access tends to only (and that is ok for groups) check for the top level groups, not inherited ones.
Permission-suffix based access would be similar just that [private] ... {Police} would check for a permission prefix + the suffix which would work with superperms in general !
configuration says like perm-based-prefix: 'deadbolt.permsuffix' or so, then the above example would result in the permission check for 'deadbolt.permsuffix.police' (preferably lower cased), which would do nicely for inheritance and make group-like access possible for all superperms compatible permission systems.
Another config option could be to "merge" checks, i.e. checking permission acces for the group-like syntax [Police] sameway as with the special syntax for permission suffix checks which could be {Police} then, or whatever it would be.
@Lockette I would love to see both merge, currently Lockette is being maintained in a too much hidden and too slow way - Deadbolt did update and does protect chests, that is most of what i need.
is there a way i can lock a door so it only works for one specific group ??
@JoshzPruitt
Not even close!
@daemitus
I would still like to see us merge with Lockette, btw big changes happening on github!
@JoshzPruitt Blame lockette for not updating in close to 6 months.
Is it true you reverse engineered this plugin from Lockette? Shame on you sir.
@Gnintendo
Its fixed :S
@TowelieDOH
I can confirm this bug! This is a MAJOR bug, please fix!
People with long names are having their chests truncated where they can't access the chests! Ahh!
you should have the auto expire default to disabled if the setting isn't set in the config
Moved from Lockette to this, thanks for always being up-to-date!
@valtn auto_expire_days: 0
What if a player's name does not fit on the line provided on a sign?
I am having a problem with that on the server a play on.
Putting his name on a second line did not help
how is that after 20 days things expires? is there any way of disabling that?
A server I play on regular has upgraded and all chests have locked. Is there any quick fix to remedy this?
ahh, can't update to new RB or 1.2 when it's ready until this is fixed :s