Turnstile
Version 2.7.0
NOTE: This plugin requires you have Vault enabled on your server
This plugin is used to create a Turnstile to prevent players from entering certain locations without paying money/items.
A Turnstile is a gate made up of a fence block or a door, this gate is only opened by paying money (triggered by either pressing a linked button, standing on a linked pressure plate, or walking through it) or placing specific items in a linked chest. The gate will close once someone steps through it or after a certain amount of time. Money/Items goes to the Turnstile owner (Money may go to a bank)
Features:
- Supports all major Economies and Permission Plugins thanks to Vault
- You can change what command this plugin uses by editing the plugin.yml (found inside the plugin jar file)
- MultiWorld support
- Configurable properties
- Custom messages
- Turnstiles can charge specific items instead of money
- Turnstiles may be set to charge money and allow the Player to pass for free for a given amount of time (like a day pass)
- Set different Turnstiles to unique prices and owners/banks
- Make Turnstiles one way
- Players can be charged either when they open the Turnstile, or when they walk through it
- Restrict use of a specific Turnstile to a certain group
- Create private Turnstiles only you can use
- Make a Turnstile Free or Locked during a certain time of day
- Autoclose timer
- Create Signs that automatically display and update Turnstile information
- Charge users money to create turnstiles
- Only owners and admins can destroy Turnstile blocks, buttons, and chests
- Only one person may look into a Turnstile Chest at a time
- List and locate Turnstiles
- Durability support
- Supports fence blocks, iron or wood doors, trapdoors, and fence gates
Permission Nodes:
- turnstile.open = Needed to open a Turnstile
- turnstile.sign = Needed to make a Turnstile Sign
- turnstile.make = Needed to make a Turnstile (/ts make)
- turnstile.set.price = Needed to set the price of a Turnstile (/ts price)
- turnstile.set.owner = Needed to the owner of a Turnstile (/ts owner)
- turnstile.set.access = Needed to set who has access to a Turnstile (/ts access)
- turnstile.set.bank = Needed to set the bank that a Turnstile is connected to (/ts bank)
- turnstile.set.free = Needed to set the time that a Turnstile is free (/ts free)
- turnstile.set.locked = Needed to set the time that a Turnstile is locked (/ts locked)
- turnstile.earned = Needed to see how much a Turnstile has earned (/ts earned)
- turnstile.collect = Needed to collect money/items from a Turnstile (/ts collect)
- turnstile.list = Needed to see a list of Turnstiles (/ts list)
- turnstile.info = Needed to See info about a Turnstile (/ts info)
- turnstile.openfree = Open Turnstiles free of charge
- turnstile.ignoreowner = Edit other Players' Turnstiles
Commands:
Turnstile Signs:
Turnstile Signs can automatically update information
Each Sign can display two pieces of information such as:
- Name: The name of the Turnstile
- Price: The amount of money to use the Turnstile
- Cost: The item cost to use the Turnstile
- Counter: The amount of Players who used the Turnstile
- Money: The amount of money the Turnstile has earned
- Items: The amount of items the Turnstile has earned
- Access: Whether the Turnstile is public or private
- Status: Whether the Turnstile is open, free, or locked
Format:
- ts link
- [Turnstile Name]
- [Information type 1]
- [Information type 2]
@Codisimus
Oh okaaay! Then there is no need for another plugin, because I really like this idea.
Thanks a lot sir. Keep up the good work! :)
@TheDavroar
My plugin ButtonWarp can do that, however it shouldnt be needed as Turnstile has ways to prevent Players from walking through turnstile that they didnt pay for.
@Codisimus
Oke awesome! And is it also possible to link a command to the pressureplate/button or whatever?
Would be cool if someone pressed the button, money was being charged and he gets teleported to the other side of the Turnstile. To prevent people passing through an open Turnstile which they didn't pay for.
@TheDavroar
Yes, you may change the owner to "server".
This is awesome for dungeon entrances etc. But I am having 1 question.
Is it possible to make the server owner of a turnstile. So as I said. People just have to pay to enter a dungeon, so the server will get the money, which is another money sink in the game. Money must be created by farming, but there must also be a way te remove it again. Else you will rape your economy :p
Is it possible to give single permissions for single turnstiles?
@Liger_XT5
I am changing the way Turnstiles are restricted to certain people, mainly bc there were always problems like this.
@ander23
@Kervinou
If you would read a few posts down, he's recoding the plugin, most likely from scratch.
@Codisimus
Not sure if this is on your list of bugs, but I've been unable to list multiple Permission Groups per TS. If I list them as shown, I'm guessing it's reading them all as one line, if I separate them, it comes up with the help menu. If I list just on group, ts works just fine, for that one group that is, unless you have the override permissions, lol.
+1
for update to 1.6.2 thanks
Please update to 1.6.2
Can you add a feature, so we can open the turnstile, and let a certain amount of people through it before it closes (or after a certain amount of time of the people limit is not reached)?
Like I want that 10 people can enter the turnstile and then it closes. If 10 people doesn't walk through it before 30 seconds, it'll close too.
Can i make it so that peapel used a special singed map/book
To prevent future headaches, I have decided to completely re-write my Turnstile plugin.
In case you don't follow me on twitter, I am going to work on bug fixes for this plugin now and get it back up to date. Then I have an interesting feature that I will be adding for the this upcoming release. I think a lot of you will find it very useful.
@mikew2012minecraft
Yes, I do not yet have documentation for this feature but it is '/ts cooldown'. I made it thinking it would be used for inn type rooms, but it should work for a vault too.
I apologize for the lack of updates. Please view my latest video announcement at http://youtu.be/p6UOYgXmp4k for an update on the status of this and other plugins of mine.
Hi, Is it actually possible to add items like 383:90, while something like 383:82 isn't allowed.
I actually need this
Sincerly, Mike4898
Can I use this plugin like a vault e.g. they have a certain amount o f time in it to store stuff?
I setuped everything in bpermissions... I can make a ts and setup it, but when i try to set nofraud mode or cooldown, it writes "You don't have permission to do that". By the way, i wrote every permission note in "admin" group, and i'm admin, but i still don't have permission. Please, help.
@asmartgoat
If you have a shop plugin like Chestshop, you can make it so that when your player buys a piece of paper (ticket) and throw it through a fence+pressureplate, it will activate all iron doors or whatever you use for a certain length of time. I use this redstone + chestshop method for my zoo/safari and stuff. :) I use Turnstile for arena armor.
@Codisimus
Does this work with 1.5 currently? I gave a player $3000 to get pass a turnstile which cost $3000, and they told me they didn't have enough money.
Is it possible that once one turnstile has been opened, all will open for free for the specified time?
That would be really great for a Transport Ticketing system. Thanks for your help :)