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
For the planned feature of "Add Datavalue support to lock repice configuration Either in the format <id>[:<dv>] or a change to material names instead of ids"
Please choose to do the <id>[:<dv>] way instead of item names, doing it as ID/DV would allow this to accept custom items that use unique DVs (like for my server - Reforged iron = 365:20)
@Klosjaarrr
lorelocks.bypass bypasses all locks
@Der_Wisch
Thanks for the update, is there a permission node for bypassing the protection?
Update :)
Added events
Allowed basic naming
Added multiple locks per key
Added permissions for different lock levels
Fixed doublechestsSorry for all those out there waiting for my answers, I'm working as software developer and got assigned to a bigger project and thus got not that much spare time. I'm looking into fixing some bugs in the next weeks to get at least a bugfix update out.
@sebdomsan54
Next updates will most likely contain only bugfixes, after most important bugs are fixed I'll make a content update :)
@Klosjaarrr
Next updates will contain bugfixes, but the copying of locks/keys will be (as I think its not that much change) one of the first things for the content update :)
@KnightRum
Some interresting ideas you have :)
- Permissions for lockpicking are a good thing, indeed, I'll definitly add this.
- Key creation without lockpick is a thing I already considered but couldn't think of how to do this, I'll give it a deeper thought and implement it most likely.
- I'll think of some fancy system for commands on events (success, fail, open with key), maybe with permission nodes for differend actions for different persons.
- A base version of a level modifier was included in my first test versions, because I had less experience with the bukkit API I removed it because it was buggy and I had some problems with it. I was planning to reimplement it later but now that someone asks I'll add it earlier I think :)
- A cooldown on picking a lock ... I'll implement it but It's not a feature which is that important in my opinion. When adding the eventhandling described above there will be plenty of workarounds so I'll add this later.
- The same like level modifier: I had this implemented but it was kinda buggy, I'll think of how to reimplement it :)
@tjdrago
You've got a message about this ;)
Generally it should open when you have the key in your inventory.
@tjdrago
Anyone have any idea how to fix this?
Alright I have a few things;
First when i added a key to a lock it had under the word Key and Difficulty a # with characters changing rapidly. How do I open a locked chest with a key? I tried right clicking with the key, but it didn't work.
a cooldown? or even a keychain....
maybe add teleport on fail or run command on fail.....perhaps damage player on fail......what about an exp modifier......higher percentage rate for higher level players
needs permissions....so only certain groups/classes can have lockpicking....i was thinking maybe using a mod like noitem to stop certain groups from even possessing or using lockpicks...BUTTT.....then you can't make a key....you should be able to make a key without a lockpick maybe
I would love to see all future features and bugfixes in the next update :) At least the doors, key naming and copy'ing the key would be really helpful, as well as the half chest bug. Any ideas how long it will take to implement/fix this?
when do you think the name system will be added
@XI_NANU_IX
The recipes are fully configureable (you can also add or remove locks) look >here< for reference
I'll discover the problems with chestshops, or with citizens like or11.
When they are just blank pieces of iron the problem would be that these shops would not save the item meta data.
For shops in general I can recommend the Shopkeepers plugin, Its just perfect for RPG Servers in my opinion.
This is one of my favorite plugins, it has really helped in my RPG/faction server, but i cant seem to sell lockpicks in Chestshops, Showcase shops, or have them looted out of Phatloots. Right now, the only way to get lock picks is to make them, and nobody wants to use gold and iron to do so. You should allow the lock pick recipe to be configured, or try to make this plugin compatible with others. Thanks for reading! I look forward to future updates!
@Zharghul
I'll try to reproduce this and it will be included in the next version.
@or11
I haven't used citizens with it yet, selling through villagers from the plugin Shopkeepers works thought.
As long as the trader does not change the items displayname, lore text or data/damage value everything should just work fine.
I'll look in this when I'm done with bugfixing and look for a workaround.
I know you can craft locks,but i would like to sell the lock with a npc, but the lock seems to get useless after selling it with DtlCitizensTrader.Are you able to fix the problem?
Hi... theres a problem when I go to make a key... When I make one it can open all the chests in one class of locks, like if I were to make a key for a Fine Lock it would then open all the Fine Locks, not just mine! I hope you fix it soon!
Any progress reports @Der_Wisch ? And also, nobody answered my question ._.
@oliver1706
The problem is nothing directly in the plugin, OPs automatically get all permissions, but I'll add some checks to prevent that :)
@CommodoreAlpha
I thought of multiple quality lockpicks but didn't gave it a deeper thought yet. Maybe varying break chance or an increasing chance (starting from maybe 5%) to not reset the lock.
@Der_Wisch
Thanks. I don't know Java, but I'm guessing it would be something like
if OP&&OPconfig==1 bypass elseif OP&&creative&&OPconfig==0 bypass else Lockpicking mode
Thank you for your help.