PaymentDoors
Features
PaymentDoors allows a player to lock an iron door and it cannot be opened unless the person trying to open the door has a sufficient amount of levels/money, which are stated on a sign on the door.
Love my work? Feel free to donate, anything is appreciated! :)
Donate: https://www.paypal.me/hquirit
Permissions and Commands
Command | Permission |
---|---|
/doors | paymentdoors.use |
Layout
- First, place an iron door down. Then, place a sign on the front of the door (by hold down shift).
- On the first line, put [PaymentDoors]
- On the second line, put the value of levels that the player has to pay to open the door (eg. 1)
- Enable Vault to do the following in the config file.
- On the third line, put the value of cost that the player has to pay to open the door (eg. 50)
Notes
- To open a PaymentDoor, left click the sign. The player will be charged based on the price/cost on the sign.
- To close a PaymentDoor, left click on the sign again. The player will not be charged for closing the door.
Known Bugs
- None!!! :)
Source
- Source
To-Do
- Add permission to bypass the payment
- Disable the placement of items that are capable of opening the door
- Add the ability to transfer paid level to the owner of the door
Special Thanks
Don't forget Henz!, the person who made most of this possible!
HEya !! Can we get this updated to 1.10.2 minimum, and also add more than just iron doors ? Maybe also add gates, fences, etc :)
This is seriously flawed. I placed the sign over the iron door as it says in the description and it keeps taking my money and lvld but the door never opens. I check the config and by little amount there I declared its not the config thats messed up. Ive restarted my server, my client and tried many other things. This plugin just seems to be bugged
Can you please include support for wooden doors and gates? in a few of the buildings on my server an iron door would be out of place and the ability for a gate to remain locked unless a player pays a fee would be great. If you could also make it so that the door can be set with a timer or perhaps to limit it so that only the player who payed the fee may passthrough the open door?
going to completely re-code the whole plugin soon, sorry for the absence.
Please, update this soon, as I would like to use this plugin in the near future. If you use these versions with Craftbukkit 1.6.4, the plugin will take your money, but will not open the door at all!
I have tried to fix some of these myself, and if you add the latest craftbukkit.jar to the external JAR's in Eclipse, that would fix some of the issues. The main issue are things not being resolved to a type.
PLEASE HELP! When I put the sign with a price, example, it costs $500, you lose the $500 but the door won't open until you don't have enough money. If you had 2000, I have to click the sign 4 times to get $0 and then the door opens...
@Adrenalineq
I'll update this tonight, I've had other things to work on.
@HenzQ
When update come out ? ;P
@Adrenalineq
Sure, why not. I'll make this configurable.
@HenzQ
Maybe teleport will be better ? ;> When player click the sign, plugin teleport player behind door :P
2.0 will be released once approved. We will take most of your suggestions afterwards, please check your config after downloading.
@IngrownPenguin
I've added your suggestions, just enable the usage of vault in the config.yml file.
@Skepter
Your sign work at ALL SIGNS :) check your code again.
can you add timer support so it closes after 5 seconds for example, maybe on the sign like line 3 = time in seconds, also maybe have a cost in vault, so i can charge players $50 to use a door
I am hoping to get the bugs fixed by next week, but I cannot add the timer feature sadly.
@Gamerboy59
Xdddddd what a dodger :|
@Adrenalineq
Just place a pressure plate behind the door.
If you would make it with a time, so a player can only be there for a special time, it yould be one of the best plugins!
So whats happended when player X buy access and dont close doors ? :)
all players will be can enter \o/