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.
on server startup version 1185. newest deadbolt http://pastie.org/2591270
Rewrote a significant portion of things while MD_5 kept things running with updates. Going to try and expand the bridge system a little tonight. With any luck, I should be able to push the release tomorrow.
@Black_Goat
Fixed closing. WIll work on jumpy doors
@Black_Goat
Cannot get a sign to fail. Maybe get me on your server or something. Sorry bout my debug messages. Fixed. Wall signs is Bukkit being completely retarded.
Failed sign example (which does not work, and cannot be edited with /deadbolt):
L1 &4[Private]
L2 Inscrutable <I leave it blank, the plugin puts my name here>
...
I didn't see any options for force-colouring in the config though, so I suspect I may have
to delete the old config and auto-regenerate it (if that works?).
But as I said, if I use /deadbolt 1 &4[Private] then the sign gets colour and works.
It only applies to signs on walls, so I guess it's a known bug.
[EDIT] I have been testing on the new RB1185 (HOORAY) and also DLed the new config.
I note that doors on timers (if closed prematurely) still do the open-shut dance at the end of the timer.
Also observed that the Timer number is spammed in the server log every time a timed door is opened.
But what the hell, IT WORKS! These are only minor quibbles :P
@Black_Goat
We are having some issues with timer doors ever since the routine was modified to cater for farm gates. Coloured signs placed directly onto walls is a known issue only when force-colours is set to true. And what exactly do you mean by failed sign?
Hello again! I have been testing Deadbolt 1.3 (latest md_5 revision) under Craftbukkit 1166 (and 1153). It *mostly* works as expected, ... but: Double Doors do not close with config Timer on (all the other doors and hatches do). Also, colours do not seem to work for signs above/below doors and on Hatches (weirdly, I can edit it in and it works.) Colours DO work on signs directly in front of doors, and on Chests. Oddly it still adds my name on a Failed sign :P
Delete you english.yml. It will update with the latest strings. Sorry about that, but signs were broken above and below doors in the RC. Fixed yesterday. Redownload using same link
Doors now stay whole, signs under doors are non functional (1.3 rev, Bukkit 1149) Also to note: It still says to use /lockette # test to edit signs (but really uses /deadbolt # text).
All issues except those listed in the thread are fixed in latest 1.3 build.
@Melonking
O.k the Towny bridge is updated (thought I triple checked before release) Anyway to use a bridge first install Deadbolt.jar and the appropriate plugin (Towny.jar) Run your server once to make sure they are both configured and enabled. Then place the appropriate bridge in the plugins folder (Deadbolt-Towny.jar)
O.k guys just the heads up. I've done some further testing and I can now confirm 2 issues not shown before are: a) Timer doors will split in half b) Doors above signs do not work (something I dont use so missed in testing) Thanks for that the Towny bridge is now at version 1.3
A little confused about the Bridges. I assume you need the deadbolt.jar and the bridge in your plugins folder?
The towny bridge says it is v1.2, is that its own version? or is that related to the version of deadbolt, as in does that mean it only works with deadbolt 1.2? I asume it is relates to the deadbolt version as I am getting the major minor issue. If that is the case when will it also be updated to 1.3.?
Sorry for any confusion. Gates worked fine in 1.3 (same as in Lockette 1.4), no prob there. The half door problem is the issue. Thanks for the quick response!
O.k looks like 1.3 is the rc i said it would be. The timer issue seems probable but im 90% certain gates were working. If you are using permissions make sure they have user.* or user.create.gate. Either you or me forgetting to not test gates when non op. Will check tomorrow morrning.
I got an issue with Deadbolt 1.3: All my doors are getting split in two. Only the lower half is affected by the auto-close timer. MC 1.8.1,CB-1147, Java 7. Deadbolt 1.2 works well, except no gates :( Otherwise, Nice work chaps, my players love the coloured sign text.
Please Read
Version 1.3 released. Changelog on forum Java 6 NOT required
WHAT? Lockette has got a feature we don't. Well it will make it into 1.4 along with lever and button protection.
You should add the, right click a chest with a sign to auto lock it feature from lockette.
@melikoth
Don't worry I'm gonna release version 1.3 later today which goes back to Java 6. If you want to switch staright away download 1.0 or 1.1
md_5