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 Aug 16, 2012@Codisimus
I was hoping there could be some way to prevent people from teleporting into the areas and from entering the areas.
WorldGuard has the ability to prevent entry into an area and there is a plugin for it called AntiPort which prevents people from teleporting to an area. If it would be somehow possible to use a similar method to prevent people from entering and teleporting into an area that would be perfect!
For example if they could select opposite corners of the area like WorldEdit does (with a configurable tool) and then mark that as the turnstile area it could then check on teleport or on move if they are going in there and if so it could cancel it.
-
View User Profile
-
Send Message
Posted Aug 13, 2012@Xcelsior1991
I have been putting off updating this because of the ease of breaking through Turnstiles using enderpearls. The only way I can think of to prevent this is to deny using enderpearls near Turnstiles. unless anyone else has any ideas? I am updating ButtonWarp currently, I believe Turnstile will be next
-
View User Profile
-
Send Message
Posted Aug 13, 2012Sooo, does anybody know when this is going to be updated? Wanted to use this on my server, but when i tested it, whenever someone else then the owner of a turnstile tries to open it, it throws an could not pass PlayerInteractEvent-Error...
-
View User Profile
-
Send Message
Posted Aug 12, 2012@Liger_XT5
Double thanks xD
-
View User Profile
-
Send Message
Posted Aug 11, 2012Can anyone confirm if this plugin works with 1.3.1-R1.0?
-
View User Profile
-
Send Message
Posted Aug 2, 2012I can't put a Turnstile sign...
15:39:58 [SEVERE] Could not pass event SignChangeEvent to Turnstile
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:460)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1266)
at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
8)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.util.NoSuchElementException
at java.util.LinkedList.getFirst(Unknown Source)
at com.codisimus.plugins.turnstile.TurnstileListener.onSignChange(Turnst
ileListener.java:421
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:302)
... 10 more
-
View User Profile
-
Send Message
Posted Jul 28, 2012erm i am not sure if this is a 1.2.5 plugin and if it is all is says everytime itry and exicute a command it says "/ts help" and does not do what i have told it to
-
View User Profile
-
Send Message
Posted Jul 26, 2012@harryjamesuk
Rename the group, if anything, use underscores instead.
-
View User Profile
-
Send Message
Posted Jul 26, 2012@harryjamesuk
You can do that. Just do the link command on the same button for each name. Just make sure only one turnstile is priced lol
-
View User Profile
-
Send Message
Posted Jul 22, 2012Idea:
To be able to link multiple gates to one button.
-
View User Profile
-
Send Message
Posted Jul 22, 2012How would I allow one of my groups called "V.I.P Pro Builders" Into a Turnstile due to the fact that they have spaces in their name...
-
View User Profile
-
Send Message
Posted Jul 7, 2012@ModzErAwesome
Ya same, i got one of those too and was hoping that this plugin wud work for the doors.... i guess i thought not
-
View User Profile
-
Send Message
Posted Jul 7, 2012@V0ROBEY I was just about to ask that xD
-
View User Profile
-
Send Message
Posted Jun 27, 2012-
View User Profile
-
Send Message
Posted Jun 19, 2012Can someone tell me how to make a turnstile stay open for other people after you, the payer, walk through it. I have a nazi zombie map as my server and I want to make it so you pay and the turnstile stays down for a while like 1 hour. I pay, but once everyone including me go through the turnstile closes behind us
-
View User Profile
-
Send Message
Posted Jun 15, 2012Very nice plugin! But can you make it that a person have to pay only once to open turnstile and then he wouldn't pay again. It'll be very helpful
-
View User Profile
-
Send Message
Posted Jun 13, 2012@MrKirky
I've been trying to get it to work as so far NO it has plenty of errors and it doesn't seem to want to charge for certain turnstiles.... but I'm thinking about picking up this project it seems easy enough...BUT i'm learning =P
-
View User Profile
-
Send Message
Posted Jun 11, 2012Will this work with 1.2.5?
-
View User Profile
-
Send Message
Posted May 30, 2012Hey! I'm here to say i love what you've done with this plugin! but I'm using 1.2.5-R3.0 and I'm getting errors if you need just let me know if your still coding for this plugin! If not still please let me know I'm just starting to write some of my own!
-
View User Profile
-
Send Message
Posted May 13, 2012any chance for an update...?