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 Feb 3, 2013Hello again. I'm using bperms and i'm op on server. I also have already written perm notes in bpermission plugin for turnstile. But i can't do anything, it writes "you don't have permission to do that". Please help.
-
View User Profile
-
Send Message
Posted Feb 1, 2013@Codisimus Server is ACE minecraft IP: join.acemc.net:25570
Also its not my server so you will need permission from the owner (BarnabyD) to get any files.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@chickenmobile
Mind If I come on your server to see exactly wut is happening? perhaps you could send my the Turnstile folder as well.
-
View User Profile
-
Send Message
Posted Jan 31, 2013I would like to report a bug. If you create a sign with
/ts link tsName MONEY
the turnstile glitches out and says that you enter the turnstile from the wrong direction. And still charges the player even though they can't enter. I know this is the problem because when I destroy the sign, it works fine (a friend tested it for me when it was free).
I got a lot of people who's money has gone after they tried to enter. Therefore everyone has been tp'ing inside my farm instead of paying to use it. It has taken me over a week to make this farm and I am also very angry.
Please fix this. Thanks
-
View User Profile
-
Send Message
Posted Jan 28, 2013@Lama0
Most likely it is free bc you are OP.
Other possible cases are:
If you are unsure which is the cause turn debug mode on by setting debug to true in the config.
-
View User Profile
-
Send Message
Posted Jan 28, 2013How to hook BOSEconomy into this? I set price to 5 for a turnstile, one with a button, and it says it costs 5, however, when I hit the button, I don't get charged (no message) and the turnstile still opens. I then check my money with /econ (BOSEconomy's command for balance) and I still had the same amount as I did.
Is there a way to hook into a specific economy plugin? Or is this some bug? Vault is installed.
-
View User Profile
-
Send Message
Posted Jan 23, 2013Finally!
-
View User Profile
-
Send Message
Posted Jan 20, 2013@NinjaKingRo
I knew I was forgetting something... thanks for the reminder.
-
View User Profile
-
Send Message
Posted Jan 19, 2013@Codisimus
3 weeks later....
-
View User Profile
-
Send Message
Posted Jan 17, 2013@Codisimus
Thanks, it will let me see if that event is causing some lag.
-
View User Profile
-
Send Message
Posted Jan 16, 2013@cuddyier
It is pretty high, this is because it is preventing ppl from using enderpearls to teleport through open Turnstiles. To do this I must watch the pearl as it flies through the air and continually check to see if it is anywhere near a Turnstile. There isn't any good way for me to make the task more efficient.
That being said I will make this EnderPearl Protection optional so it won't lag your server if you want to handle EnderPearls some other way.
-
View User Profile
-
Send Message
Posted Jan 16, 2013Here is a timings report I did on turnstile, it seems quite high... http://puu.sh/1OEIX and this is the task #11, http://puu.sh/1OEKI
-
View User Profile
-
Send Message
Posted Jan 6, 2013Thank you for your great work C: Can't wait for update)
-
View User Profile
-
Send Message
Posted Jan 1, 2013I fixed the one way issue. and I will release it once I add the feature requested by @V0ROBEY.
Turnstiles will be able to charge only once for a specific amount of time.
for example, once I pay to use the Turnstile then I could use the Turnstile again for free for the rest of the day. This will work similar to the cooldown times in my plugin PhatLoots
-
View User Profile
-
Send Message
Posted Dec 31, 2012update coming this week...
-
View User Profile
-
Send Message
Posted Dec 31, 2012After a while without this plugin I am ready to give it a go for our new RP world :)
When will the pay once open forever work?
-
View User Profile
-
Send Message
Posted Dec 28, 2012Even so this needs an update to fix the direction bug
-
View User Profile
-
Send Message
Posted Dec 23, 2012Yes, using "OneWay=false" indeed fixes the issue It's probably related to this breaking change in bukkit : https://github.com/Bukkit/CraftBukkit/commit/54ef53e958a0ca4692a4fa6db1f87ec400013409
-
View User Profile
-
Send Message
Posted Dec 23, 2012edit your Turnstiles files OneWay=true to OneWay=false
It worked for me on 1.4.6
-
View User Profile
-
Send Message
Posted Dec 22, 2012Same