LoreLocks
LoreLocks is a plugin which allows you to physically secure your chests with chest locks and traps.
Features
- Physical, Craftable Locks
- Lockpicking
- Innovative system to pick locks
- Pickproof locks
- Keys for locks
Locks
Locks come in 6 difficulties, 1-5 change the cylinder count of the lock and the 6th difficulty makes the lock unpickable, or in other words only the person which has the key can open the lock.
To create a key of a lock simply drop a lockpick on it.
Depending on the difficulty locks have a different amount of cylinders
- Difficulty 1 has 3 cylinders
- Difficulty 2 has 4 cylinders
- Difficulty 3 has 5 cylinders
- Difficulty 4 has 6 cylinders
- Difficulty 5 has 7 cylinders
Then place it in the first slot of the chest (upper left slot) to lock the chest. Make sure to create a key by dropping a lockpick onto the lock before locking the chest if you want to avoid picking your own chest every time.
If you forget to create a key from an unpickable lock ask an admin for help, he can bypass the lock and open the chest for you.
Traps
Traps are items which will secure your chest even more, to add a trap to a chest place it in the second slot, right next to the lock.
They are triggered when a player fails to pick the chest, i.E. whenever he clicks the wrong cylinder and the lock gets reset.
Types of traps
The damage trap
Damage traps damage the player which is trying to pick the lock every time he fails to pick the right cylinder. Power determines the amount of hearts (not half hearts) which are taken away.
The explosive trap
Explosive traps create an explosion on the location of the player failing to pick the lock. The explosion does not damage any blocks. For the power of explosive traps check this wiki article.
The poison trap
Poison traps apply the poison potion effect to the player failing, the power attribute determines the level of the poison effect.
The power attribute ranges from 1-127.
Media
Two videos to show the basics with the default configuration by EricAutopsy
Making locks and keys
Picking a lock
Video covering the plugin by Fat_Thumbs from SoulFire
Fat_Thumbs updated video
German tutorial by ModdyLP
Servers using this plugin
Due to request I'll add a list with servers using this plugin :)
Soulfire
A british minecraft server
Homepage: *click*
IP/Hostname: 193.35.58.2:25588
Owner: Debzy86
Necropolis
A modern zombie survival server
Homepage: *click*
IP/Hostname: necropolis-mc.com
Owner: docwho123456
EpikwestMC
The most epik Minecraft survival experience. Ever.
Homepage: *click*
IP/Hostname: epikwestmc.no-ip.org
Owner: Zoroark173
Rise of Kings
Rise of Kings - The challenging roleplay server!
Homepage: *click*
IP/Hostname: 85.236.100.202:28865
Owner: Imjoebaker
Home of the Weary Travelers
Home of the Weary Travelers - The next MMO experience!
Homepage: *click*
IP/Hostname: 91.236.254.75:25701
Owner: Famlen
[PVE] Medieval Survival Roleplay
[PVE] Medieval Survival Roleplay
IP/Hostname: arrawn1306.no-ip.biz:25565
Owner: Arrawn1306
Kings and Glory
Kings and Glory is a hard core roleplay server.
Homepage: *click*
IP/Hostname: 108.61.108.35:25574
Owner: mr_T87
⚔ Age of Adventure ⚔
A West Indies Adventure Role-play Server
Homepage: *click*
IP/Hostname: aoanetwork.net
Owner: ROYALEMAN
Also ive submitted a ticket about locks on doors breaking after a server restart. Locks just turn to renamed iron ingots after the restart.
Where can i download the latest build? Ones which havent been approved yet.
@Bughunter66
It's an bug I'm investigating. Somehow the wildcard permission (lorelocks.pick.*) does not work. Definitly working is just assigning all permissions.
User's are unable to pick locks on my server.. Is there anyway to fix this?
My permissions.yml looks exactly like this:
server.basics: description: Basic permissions default: true children: lorelocks.pick.*
Bug is fixed and version is uploaded.
@MrMe1003
Irondoors currently open but can only be closed by redstone ^^
The whole redstone handling is on my to-do-list but I've got still tons of other things to until I'll work on this.
Well, while I'm being that annoying guy who won't shut up at the new release, I might as well push my luck... Here's a random suggestion you can ignore if you like ;
I've noticed that locking iron doors is pretty much useless, as even if you pick a lock, you still need redstone to open the door, which is capable of opening the door anyway. I was wondering if you could adopt an approach similar to LWC, where locked iron doors can be opened by hand, without the need for redstone.
As a similar enhancement, I was wondering if you could adopt another LWC approach, in making it so doors (Iron or otherwise) cannot be opened with redstone once they are locked.
@MrMe1003
It is an error in the code to ensure that the lock isn't overwritten by the chests contents when picked (Items placed in the first slot are dropped when closing a picked chest.) It should only happen after the lock was picked once after restart.
I'll fix this as soon as I get home.
@Der_Wisch
Thanks, that seems to have worked.
An issue though, is if someone who has a key or bypass permissions opens a chest as someone who doesn't picks it, it spits out a copy of the lock that was used on the chest, while the original lock is still there, so it duplicates the lock..
@MrMe1003
The error is in line 175 pick-needed message.
Your text is
'It's locked'
and the ' in It's closes the text value so
s locked'
is there without any reason for the parser and it cancel's reading the config and uses the default config instead.Using
It´s
orIt`s
worked fine for me, try it out :)I just barely installed the plugin on my 1.5.2 server, and for some reason the plugin refuses to except the modified config. When I change the crafting recipe, lock/pick IDs, among other things, all settings return to the default when I launch. This is what my config.yml looks like: http://pastebin.com/tkLf7mCc
Uploaded a new Version and waiting for approval.
Good news are that I added permissions for crafting and config options to hide locks and trapsin picked chests.
The bad news are that I could not recover the previous changes to introduce an API for locking every kind of inventory from my broken hard disk. I'll focus first on other things to add/fix so this feature will be discontinued indefinitely :/
@Lukethenuke
I'll run some tests at my computer at work in the lunchbreak and post the results :)
HDD is already shipped but it's going to be a busy week at work so I don't know if I'll be able to finally make a release this week :s
Edit: Console commands are working fine after all.
This plugin is still actively worked on guys so you should definitely download it.
@MrMe1003
That would be an idea. I'm not sure if it is possible to access the hopper GUI but I'll give it a try when I find time to change the doors ;)
@Der_Wisch
Would it be possible to use a hopper-type inventory, with 5 slots?
@XI_NANU_IX
Possible is nearly everything. But I don't think that I'll add a way to lock chests like doors for two reasons:
1 The doorhandling makes far too much trouble how I made it currently. It makes problems everytime I touch it and the best thing would be to completely rewrite it when I find the time. When I'd add the same system for chests updates would take even longer because I'd get problems regardles of what I'm changing, doors or chests.
2 Chests have an Inventory where the player can easily visualize and handle the lock and traps. If bukkit would support two or three slot inventories (currently only nine-based numbers are supported) I'd add inventories to lock doors too.
But as MrMe1003 said I'm working on a feature to hide the lock in the picked chest so that should basicaly achieve the same thing :)
@MrMe1003
Maybe I'll maintain a second release line for the last minecraft version to maintain compatibility. I'll think of something :)
@XI_NANU_IX
He says below that a configuration option to hide applied locks is in the works. I assume this will give something to that effect.
I haven't really used this plugin much, as i have many others that I'm still in the process of configuring, but is it possible that you can make chests like doors where the lock isn't in the chest but rather applied to it? this would help for dungeon rewards and thief quests.
@Der_Wisch
Heh.. Well, as an additional request, I was wondering if you could have the update include backwards compatibility to 1.5.2. The reason being that my server runs Spoutcraft, and that tends to take quite a while to catch up to the latest version of Minecraft, so it's likely my server will be staying in 1.5.2 for a while.
Also, will it/can it be made possible to put locks on trapdoors, as well?
P.S. I Love this plugin to pieces ^^
@MrMe1003
You are not "That annoying guy" I can understand it :p
The update was planned for the 08.07.
But due to a crashed hdd (me running over my computer) I can't work on it at the moment (writing this in lunch break at work ) until the new hdd is shipped and I've installed everything I need :(
@C0nd3mn3d
All locks do automatically relock (when they are not removed)
A config option to hide locks in picked chests is already on my ToDo List.
As soon as I've fixed my problems I'll try to make a release as fast as possible :)