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!
It would be nice if you could add *yml with text to translate. :)
@tehmaker
I have some ideas for update. But I have not enough time. I will think about your suggestion.
Are you still working on this? I have updated it for myself, and will gladly take over this project if you are no longer able to continue it.
Does this plugin still work for 1.7.5? I can't get it to work on my server.
@s32ialx
Yes. Player needs permissions to use lockpicks. Don't give player permission and he will be not able to use locpick.
is there a way I can disable the ability to use the lockpick.
@mikeduffy
They did not buy building. They buy... "signs". If you place sign near the door sign will grant access to this door. http://dev.bukkit.org/bukkit-plugins/lockpick-n-rent/pages/main/signs/
@bunnyhop100
I'm going to recode this plugin. Then I will upload sources to github.
great for prison servers!
how do people buy the building what you press or command
Any chance of releasing the source for this plugin?
hey, I wanted to have a trapdoor where you have to pay with 1 diamond (example) to enter. So i created a sign, first line [fromgate], 2nd line [pass], 3rd line diamond. If i open the trapdoor it says access denied BUT i can still open the trapdoor! The text shows up but ther e is no protection... when i right click with my diamond it says that it worked and i can still open it. Added permissions: mclpr.rent, need help :)
@meiamone
Yes it works with 1.5.1 and 1.5.2
Does this still work with 1.5.1? This clearly looks like the best plugin of its kind. I wouldn't mind promoting it.
can you make it so people cant use picklocks in factions?
@fromgate Я думаю он имел в виду верстак.
Очередной идеальный плагин, о, лучший из плагиноделов!
@fromgate
What is CraftingBenches???
It won't work whit CraftingBenches. Why not??
@Andarne
One more addition about worldguard.
Lockpick&Rent will override worguard protection settings. If you protect chest with worldguard lockpicks or signs can be used to access chest to players (not owner of the chest).
And I'm planning to add additional worldguard regions support: ability to define areas where lockpicks will not work. It could be used to protects shops based on chests, for example...
@thewave271
You specify damage value for lockpick at config file