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 Mar 31, 2012@Baffu
place the items in the linked chest, then target the chest and type "/ts price"
-
View User Profile
-
Send Message
Posted Mar 31, 2012ok I have the devbuild, what command to set a turnstile calles test to 2 diamond and 1 iron
-
View User Profile
-
Send Message
Posted Mar 29, 2012@Baffu
just to keep you updated, I finished the update and will be testing it tonight.
EDIT: You can use the Dev build (seems to be working fine) I just have to finished fixed Turnstile Signs
-
View User Profile
-
Send Message
Posted Mar 28, 2012@silentnight18
Did some testing...
The counter for some reason only works after the server is reloaded.
The other issues is proly bc it updates the sign at two different times (once for the top value and once for the bottom one
Come to think of it, those two are proly the same issue, they are working with an outdated state.
I am nearly done with my 2.5.0 update which adds enchantments. I'll make sure that this is worked out for that update.
-
View User Profile
-
Send Message
Posted Mar 27, 2012@Codisimus
Counter doesn't update properly in some situations on signs, other options work perfect, but others are updating funkily, updating upon button press then reseting when passing through, others oppositely reacting. If you want any help on Turnstiles, I sorta specialize in Sign plugins if you want me to look into making your signs all efficient and what not, PM me =)
-
View User Profile
-
Send Message
Posted Mar 25, 2012@Baffu
I wanted to get this updated this weekend, but in addition to adding the option of charging multiple items I am also add the option to charge enchanted items. Because of this it is taking a little bit longer. Thank you for your patience.
-
View User Profile
-
Send Message
Posted Mar 24, 2012@Baffu
Im planning on getting ButtonWarp and Turnstile updated tonight.
-
View User Profile
-
Send Message
Posted Mar 24, 2012Codisimus. I know you said this plugin is next but approximately when will we have a 1.2.3 version?
-
View User Profile
-
Send Message
Posted Mar 21, 2012Setting a turnstile to go to a bank, changes the turnstiles owner to that bank. also the money doesn't go to it...
We are trying to use it with Towny, with all money going to the towns bank account. Any ideas?
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Codisimus When will this be updated to 1.2.3?
-
View User Profile
-
Send Message
Posted Mar 19, 2012Had any chance of looking into the "recognising group" trouble I'm having? Would love to be able to use this for some of my stuff :)
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Flenix1
yes, you can make a Turnstile that will only be used for exiting. Make the price 0 of course and you will want the OneWayTurnstiles setting to be true. this way players can not let their friends into the subway by opening the free Turnstile for them. If you need additional help feel free to pm me. I could hop on your server and show you how I would set it up.
-
View User Profile
-
Send Message
Posted Mar 18, 2012Is it possible to let people out without paying, so they only pay on the way in? Trying to make a subway system, but paying on exit doesn't make sense :P
-
View User Profile
-
Send Message
Posted Mar 9, 2012@Sacredox
I fixed that in the newest version
@Baffu
No sorry, that version was just a quick fix of some issues.
-
View User Profile
-
Send Message
Posted Mar 9, 2012So as the new version is out is the multi item price working?
Also does it work with the 1.1 of bukkit as I have yet to update.
-
View User Profile
-
Send Message
Posted Mar 9, 2012Nice plugin! Thank you =)
I noticed when testing that if I create a status sign it doesn't behave like the others. I tried to use Status on the first line and Counter on the 2nd line. But it just said open on the sign afterwards. Then I tried to break the sign and put another sign there but whenever I type on the sign it erases it in a second and I can never type anything on it.
-
View User Profile
-
Send Message
Posted Mar 6, 2012using bukkit dev 2037 and everything is working but i get a console error when i put up a link sign with a counter on it when i go threw, haven't tested with other players yet.
-
View User Profile
-
Send Message
Posted Mar 3, 2012@Codisimus:
I'm getting an error right now with 1.1.-R6: It happens right when I go through the turnstile, but everything appears to be working properly. It's just making my console all sorts of messy.
-
View User Profile
-
Send Message
Posted Mar 2, 2012@Baffu
In the next version, you will set the (item)price of a Turnstile by placing items in a chest. Then in order to open the Turnstile, the chest must contain all the items.
In other words, yes I will add that feature.
-
View User Profile
-
Send Message
Posted Mar 2, 2012Would it be possible to have multiple items? For example 4 diamonds 2 gold ingots and a diamond pickaxe to open the gate?