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
Hmmm, following Icyshadowblade's comments and your way to fix it Der_Wisch I open the jar file and go to the config doc and change the permissions, IT doesn't have the craft permission for basic users to create locks. Do I have to input this into the actual server permissions? or add it to the config inside the .jar file?
@Der_Wisch
Thank you. It's all working now.
@FlOppythp
Sorry bud, I'm still on the config problem you talked about.
The config fix I talked about was a missing text (trying to pick a door without lockpick shows the same message as trying to pick a chest)
@IcyShadowBlade
Did you check if you have the permissions needed for lock crafting?
Lockpick-permissions are configured in the plugin it self but as locks are dynamic the permissions are not automatically granted.
@wonderdude73
I'll check your config, but on a first guess it could be the levers used as lockpicks. Try to avoid using blocks with custom values they can't normally get. Bukkit seems to mess them up as they tend to lose their data value when dropped.
I'll put the suggestion on my todo list. Can't guarantee when I'm implementing it as I have no idea how hard this would be to do (could be super easy or really hard).
@Der_Wisch
sorry for the late response. Here is my config file: http://pastebin.com/1YniBque The material I use for locks are name tags lockpicks are levers.
Also great job on fixing the unlocking doors glitch, that was stressing me out :P
Hopefully it'll be up soon :3
Also a suggestion would be an option to keep your keys if you die. I made a custom script in Denizen to do it, but it only seems to work 99% of the time :/
I just downloaded the plugin onto my server, didn't configure anything. When I started up my server, I could craft lockpicks, but couldn't craft any locks. I am running CraftBukkit 1.7.2-R0.3 with LoreLocks v2.2.2.2. There probably is another post about this, but if you know how to fix it, then try to help.
New version uploaded and awaiting approval.
Bug with unlocking doors and a small text-config bug is fixed.
Now completely checking the configuration for errors.
@Proxwian
I checked it to make sure but I can't seem to reproduce this.
Is it under special conditions or could you tell how exactly you get them?
@wonderdude73
Ok I'll try to recreateit with the video and fix the bug when found ;)
€dit:
Could you send me your config or tell me what (material) exactly you used for the locks?
Hey i found very bad bug: players can took lock cylinders with SHIFT from lock gui. Please fix it!!!!
@Der_Wisch
For the dupe glitch, you have to drop the locks you get. I recorded a short video to show you exactly how to reproduce it. And the glitchyness there is with the crafting.
https://www.youtube.com/watch?v=OuZKKv8LoM8
Also the plugin would really benefit from being able to lock iron doors!
@WickedSarah
You need to add the correct permissions to your groups:
http://dev.bukkit.org/bukkit-plugins/lorelocks/pages/permissions/
Okay I was trying not to bother you, but I really need help. I'm new to the Permissionsex thing. For some reason you can only create a lock when you are OP and when permissions ex isn't installed. As soon as I make permissions and groups no locks can be made, not even if you're admin. On your permissions list it looks like a lot of the permissions are set to false by default but no where in the config can I find out how to change it to true. I really want other members to be able to use this as I think its an awesome plug in, but I'm getting so frustrated at this point. Is it just not compatible with pex?
@wonderdude73
I'll check the issue with the lockpick, but adding a key-signature to a lock should be as you explained, I'll check this aswell.
€dit:
I can't reproduce the issue with dropping one or more lockpick/s onto one or more lock/s. In every case one or more key/s is/are created for the lock/s.
The problem with dropping a key on a lock not applying the signature to the key however is intended. I didn't add it because I was going to add keychains in the coming versions ( which will be delayed because of bugfixing, sorry :/ ). Depending on how difficult the whole bugfixing turns out to be I'll think of adding it and converting multi-signature keys into keychains when I'm adding them.
There seems to be a ratherserious duplication bug.
If someone drops a lock pick onto a bunch of locks (in a stack) it duplicates all the locks.
There's also no way to add locks to a key?
I thought you'd be able to drop the key onto a lock and it would add the hidden lore so you could open it with the key :0? Not sure if it's just my imagination that it used to be there, but it doesn't do anything now.
@FlOppythp
I'm looking into the problem with breakchances but it's taking it's time and it's hard to find :(
@wonderdude73
Check out the give-Command entry in the minecraftwiki.You can add NBT Tags in these commands.
Every Item with properly formatted Lore will act as a lock.
€dit:
Untested, but it should work like this:
/give @p minecraft:iron_ingot 1 1 {display:{Lore:["§7Difficulty: 2§r"],Name:"§fBasic Lock§r"}}
Amazing plugin!
I really wish you'd add a way to give the locks with a command, or some way to obtain locks besides crafting.
We have quests, npc shops and more ways we'd like to be able to sell locks and perhaps even keys if doable.
But right now that doesn't seem to be possible :(
Hmm I looked into this placement issue for the last version and thought I'dve fixed it but as it seems this is not the case.
I'll look into this two issues ;)
@FlOppythp
She*
Anyways, try going into your config file and change two things...
LockPickBreakChanceRate = 0.05
LockPickBreakMinChance = 0.01
Make sure those two settings are just as I've written above. As long as you leave those two settings alone, the plugin seems to work fine. :) (Well except for the painting glitch I pointed out).
Hey Der Wisch, I have a pretty serious issue using your plugin. It works fantastically for a while, but it will randomly stop working at certain times. I'm not sure what the cause of this is since every time it stops working seems to be completely random. My problem is that the plugin will occasionally skip the interface for lockpicking and just allow access to the chest regardless of if you have lockpicks or not. It still gives messages about having a key though, and the items can still be crafted, so the plugin itself doesn't completely break, its just skipping the lockpicking interface.
Here's the error it catches...
I found the fix to this is to delete the config file and let it go back to the default settings, but that's not practical since I want to use custom settings. As soon as I put my settings in there, it stops working again.
Here is my config file...
So the TL;DR is that the plugin works fine for a while, even with the config file above, but will eventually start skipping the lockpicking interface. The only way to fix this is to delete the config file.
As you can imagine, I can't let my server rely on this plugin for chest protection until I know this isn't gonna happen anymore. :s
EDIT
I didn't change the LockPickBreakChanceRate and LockPickMinBreakChance values from their default and this has yet to happen yet again, but I did run into another pretty serious issue. If you place a block above a door (like a sign) it just unlocks the door. I found this out after someone on my server put a painting above their door and it removed the lock. Now people are using this to break into houses. :s
@FlOppythp
I looked for it but couldn't find much yet. Did you try running it without anticheat?
This is exactly what I was looking for without having to add a new mod, thanks a lot !