Lockpick & Rent
Lockpick & Rent
This plugin adds new access features to areas protected by any protection plugin. You can open door (chest, levers, buttons...) with lockpicks, you can define free access, set the payment required to gain access. And you can even take daily rent for using doors, chests and other items. Lockpick-n-Rent was test with some plugin that provide protection: Towny, LWC, Lockette, Worlguard's regions and Road Protector; and I think it will work with any other "private" plugin.
Attention! Lockpick & Rent require any protection plugin installed on your server. Did not protects doors, chests... etc itself
I apologize for the lack of description of the plugin. I'm going to offer tutorial for you as soon as as I can.
Video
Servers using Lockpick&Rent
How to use it?
Just install it. After first execution config file will be created. You can edit it or setup plugin parameters by using command. And don't forget to configure player permssions.
Lockpicks...
There two kind of lockpicks: simple lockpick and advanced lockpick. By default gold hoe using as simple lockpick and diamond hoe is used as advanced lockpick. Each kind of lockpick is defined by parameters: Simple lockpick: chance - 10%, breaking step - 1%. Advanced lockpick: chance - 15%, breaking step - 10.
In addition both kind of lockpicks have a chance (default 30%) to be broken up to 1/3 of max item's durability.
If player is trying to pick the lock, and try is unsuccessful he will receive a damage (default - 6), and nearby players (default radius - 100) will receive warning message.
There is an additional permission, that increase chance to open locks and decrease chance of lockpick breaking (default - 10%).
...and Rents.
If you own a private (protected) area, you can define additional rules to access to any doors, chests, buttons, levers, furnaces... etc. Access to doors and other "switch-blocks" defined by special signs. There are some kind of access: free, limited (by player name or permission) and fee-access. For payments you can use any economy plugins supported by Vault with one limit: you can define only integer values as price for access. And you can define unlimited number of items as payment item (for example you can use gold, diamonds or... map with specified number).
Signs
There are twelve types of controls signs: [free], [day], [night], [access], [pay], [pay#<count>], [pass], [rent], [rented#<days>] , [protect], [player] and [sale]. All "control words" must placed in second line of sign. First line must contains owner name. Third line contains a price (for signs: [pay], [pay#xx], [rent], [rented#xx] and [sale]). Last line usually may contain anything you want, except signs [rented#xxx] and [player].
Additional information about signs
Permissions
Commands
Like this plugin?
You can buy me a chocolate!
@marvelpwn802
Strange. Which type of sign you tried? What plugin you use to protect chests?
@brinaq
I'm now working on recoding L&R, I hope this problem will be not found in next version. Thank you for information.
@RabidPigeon
Lockpick&Rent did not include any "locks": you must use any private plugin Lockette, LWC, RoadProtector, Towny, Worguard.... :) Lockpick will break every lock :)
@Andarne
Great idea with WG-regions. I will add it in next version.
How do I lock things?
thank you so much!' this plugin is amazing and awesome, but one problem. When I change the config and reload my server, it goes back to defaults. this is a real bummer because I want to change which Item the lockpick is. Please help. thank you
Looking good - you've peaked my curiosity!
However, I must ask - will this work with WorldGuard regions (i.e. Region1 = Owner: Andarne, chest-access: deny), and with Spout custom items?
This plugin's awesome! I just ask for one thing: Can you add damage value support to the lockpick items? Thanks!
Whenever I use this, the chest is either not openable or free. LPR isn't doing anything...
Is this plugin still active :) Looks awesome :D
@fromgate not just in some area. But only where is claimed land acording to Factions plugin.
@HavenOfKairos
If you don't need signs - just don't use it. Signs does not add anything that can affect at server performance.
@Yokil Able to change the words "pay", "rent", "sale", "players", "protect", "rented" ... So many servers multi-languages could use it.
Great idea! Now I'm working at multilingual support. I think it will be great addition! Thank you
@wumpyc
Hmmm.. You need to disable lockpicks at some area? I will think about it.
@Yokil
I'm not planning to add active actions to sings: teleport or something same. At our server we used two plugins to sold ticket for teleports:
1. Lockpick&Rent to sell tickets (tickets are MAP items with defined number. For example MAP:5 is ticket for one teleport MAP:7 - to another).
2. Private (not ready to be public yet) plugin that can use any item (including map) as payment for teleport (and another actions)
@Yokil
Hello, I will not leave plugin. Now I'm recoding some part of it. But after releasing next version, I'm going to upload sources at github.
If you are leaving the plugin, could release the source code?
Thank you!
I have 2 things that can make your plugin better (sorry if it has offended you).
Signs teleport - You buy a teleport to the coordinates placed in the sign (I think it would be easy and fast set).
A function that server to say that a grifer opened a chest of a player (Player that was stolen and thief), so servers could use your function more efficiently.
This one is complicated, however who knows ^ ^:
Able to change the words "pay", "rent", "sale", "players", "protect", "rented" ... So many servers multi-languages could use it.
Thanks for execelente plugin, I'm using and seeing it I can say that would be more flexible.
Thank you!
Can you make it compatible with Factions? So you can't lockpick in claimed land? Maybe make it configurable. PLEASE!
I can't edit the item lockpick ids for some reason. It is set up like this atm: lockpick: id: 280 chance: 2 broke: 1 adv-lockpick: id: 131 chance: 10 broke: 10