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]
-
View User Profile
-
Send Message
Posted Oct 9, 2012How can I delete someone's turnstile if I don't know the name of it?
-
View User Profile
-
Send Message
Posted Oct 8, 2012@Affengesichtsmann
Target the chest and use the '/ts collect' command.
-
View User Profile
-
Send Message
Posted Oct 8, 2012where do the items in the chest end up? is it possible to recieve the items later as the owner?
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Codisimus
I've done that but players can still can do this...
-
View User Profile
-
Send Message
Posted Oct 2, 2012@harryjamesuk
NoFraud mode is wut you are looking for.
When NoFraud mode is active then if a Player presses a button, the Turnstile will open and display the cost to the Player. Then who ever walks through the open Turnstile will be charged the money. Still only one Player can go through at a time and they will be pushed back if they do not have enough money.
Use the command '/ts nofraud (Name) true' to set a Turnstile to No Fraud mode.
\
There is also a setting in the config called 'NoFraudByDefault' if you set that to true then all future Turnstiles will work the way you want them to.
-
View User Profile
-
Send Message
Posted Oct 2, 2012Can you make it so people can't cheat entry?
E.G: A person with permission presses the button to enter but anyone can then enter when the fence is down.
-
View User Profile
-
Send Message
Posted Sep 11, 2012Hello, again. I guess, you didn't see my question) Can you, please, make function, that players have to pay only ONCE to open TurnStile? So they won't be charged again
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Codisimus
Ah cool. Well that would work too. But I don't know if it would even be necessary, though it might be a nice benefit for both plugins.
-
View User Profile
-
Send Message
Posted Sep 4, 2012@ryvix
If I were to do anything like that (which I doubt I'll have time to) I would use my RegionOwn plugin instead of WorldGuard
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Codisimus
So that might be able to partially solve ender pearls warping near the entrance of a turnstile allowing people to enclose the area, if even possible. But what about warp plugins and whatnot? Even if there was an optional WorldGuard integration which simply made teleporting to the selected area impossible would work but I don't think even using WorldGuard is completely necessary. I think I may have to work on something then. Thanks for the great plugin =)
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Codisimus
Ohhhh...I didn't see that 'Links' section
^^ Guess that means I need new glasses^^But good to know that you are updating Turnstile!
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Dustinduse
@Manuestaire
@Exician
@bobine22
@Xcelsior1991
I am working on the update now, and enderpearls will automatically vanish if they are within 3 blocks of a Turnstile. Expect an update this week/weekend. BTW there is a link to the source/github at the bottom of the main page
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Codisimus
But it is getting updated? Because I am using some ugly Multiverse-Portals construction atm and would like to change that to something like turnstile...Btw, why should it be the job of your plugin to prevent bypassing the tunrstiles with an enderpearl...there are enough plugins which are doing this out there, and if someone wants to prevent that, it should be enough if you put some solutions into the description, like a worldguard-region which prevents the use of enderpearls...they should install something similar to prevent users from using tp to get behind a turnstile anyway, which is easier by far. I admit, it would be a bit less work setting up a turnstile if your plugin would handle the enderpearl-issue, but with a bit of effort one can easily find a simple solution to fix that...
Anyway, if you decide against updating it, would you give out the source others could fix the errors?(Maybe I am a blind, haven't seen a Link on the repo-site-.-)
-
View User Profile
-
Send Message
Posted Sep 4, 2012When you update to 1.3 or 1.4
-
View User Profile
-
Send Message
Posted Sep 2, 2012I have really enjoyed this plugin in the past. I really do hope you update this as much as everyone else wants it. I know people getting past ts's with enderpearls is annoying but I have always found ways of preventing that. Anyways keep up the good work and I do appreciate the time you put into these plugins, thanks again.
-
View User Profile
-
Send Message
Posted Aug 31, 2012Hope you're working in an update, this is a great plugin.
-
View User Profile
-
Send Message
Posted Aug 27, 2012Error.
-
View User Profile
-
Send Message
Posted Aug 25, 2012I got lots of error at every interaction. I can create a turstile but other people can't pass it it only says: You don't have the money even if they have double of what they need
-
View User Profile
-
Send Message
Posted Aug 22, 2012This needs updated. i have this on my tutorial and it has players place 2 steak in a chest. you can place to steak in it but it wont open the gate untill you open the chest again. can you fix that asap as players get frustrated. also is there a way to have it track what player put stuff in the chest or pressed the button as so other players dont slip through and 1 player gets double charged?
-
View User Profile
-
Send Message
Posted Aug 19, 2012I have two questions about the plugin, whats the turnstyle sign, and how do NPC can be used together with this plugin. Thank you.