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
Are there any permission nodes for this plugin? I use heroes and would like to make it so that only a locksmith profession can craft locks and lockpicks and an engineer to craft chest traps.
@MrMe1003
Thanks :)
You actually got me an idea here.
But I need to get some things done before I'll start working on a new plugin :/
Oh, cool ^_^; You're amazing at making GUI interfaces, btw. The perfect thing to go with this would be if you made some kind of pick-pocketing plugin. Full on thieving ^_^
@MrMe1003
Exactly this Idea is on my todo-list since a few versions ;D
I just need to find a bit time to implement it.
@MrMe1003
I was more thinking about handling the security of picked locks like this:
With this everyone can make a lock like the lock of th epicked chest but only the person with the key can make key duplicates. Click key with lockpick -> apply signature to lockpickto fresh lock Click key with lockpick -> apply signature to lockpick
Also, for locking doors (And a slightly new way to lock chests), could you make it so that, on locking the door, it gives you a key to that lock, and if you want to make more, you can craft the key with a configurable item, like, say, a piece of iron, and it duplicates it, giving you two keys to the door. This would be useful for chests as well, so thieves couldn't constantly make keys of all your chests after breaking in.
[Random idea] New craftable item: Keychain. when you right click with this item into open air, it opens up a storage interface for you to store keys in, making keys take up much less inventory space, or something similar to prevent keys from filling up your inventory if you have multiple locks and chests. The idea for how to make an object to store multiple keys may not be great, but I think the idea of somehow storing keys in a way so they don't individually take up an entire slot in your inventory each would be helpful and/or appreciated.
@xcuirsed
Hmm try to rename it (for example doors.yml.old) and try to create a door then. If then no new doors.yml is created it does not save.
Are there any plugins added after LoreLocks which you think could prevent it from saving or were there any permission changes for the servers file system?
@FatThumbs
Great news thanks :)
Der_Wisch, i updated the tutorial man :D
New update video for lore locks HD
It would seem there not saving in the door.yml however there is a few locks saved in the door.yml
Any ideas?
@xcuirsed
/save-all is a bukkit command thats right.
However I couldn't reproduce the problem on my local test version.
Could you please check what it says on startup? (It states the amount of doors loaded)
If the amount of doors loaded is 0 coul you then please check if the file "/plugins/LoreLocks/doors.yml" is created?
I believe it does it on restarts as for saving we just do /save-all I believe thats a bukkit command however I could be wrong.
@xcuirsed
Does it happen after restart/reload?
Also do you use some custom plugin to save/load your worlds or to start/stop the server?
Quick update with my problem: It only seems to be doors that lose there locks? chest work perfectly fine.
From Rise of kings again.
Right I'm having a slight problem with the locks disappearing a few hours after being placed. Any ideas on what could be causing this?
Thanks in advance.
Edit: It only seems to be happening with doors.
@Feazes
I'm currently working on some compatibility features (nothing for these kind of compatibility) so I'll look into this aswell.
Basics for such features are given throught the event feature I've implemented for such means.
So if your plugin would offer a command for the skill the administrator could set up an event like this for example:
Command to add exp to lockpicking skill: /skill lockpicking {player name} add {amount}
Configured lorelocks event:
However this is not meant to be a long time solution as it does not feature all possibilities, but it could serve as some kind of work around until I've implemented some API ;)
really like the plugin well done!!
just a suggestion? would it be possible to add an API, where you could listen for player failing to pick the lock and also an event for when they pick a lock successfully? would be pretty cool if you could do that then i would be able to make my skill plugin hook into it!
@Mcphiction
Permissions per crafting are not directly be possible but there is a way to work around that. I'll look into it in the next days.
Would permission nodes for the crafting of the locks be possible?
I'm one of the admins on Rise Of Kings, and for our professions we would need to have it so that only certain permission groups can craft the locks.
Would it be possible for permissions nodes to be added?
Thanks,
Mallander
@poonjab1_0
There are locks for doors already.
Just rightclick an unlocked door with a lock to apply it.
Is it possible to add this for doors too?