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 May 8, 2012@Codisimus
Well, I think if it had to be that way it might be ok. Just that sometimes people are setting them to like 50000 and then people are accidentally walking through them so I am thinking how do they know if they really did walk through them or not.
-
View User Profile
-
Send Message
Posted May 8, 2012<<reply 691112="">>
If I add a log, I don't think it would be viewable in game.
-
View User Profile
-
Send Message
Posted May 5, 2012Is there a way for an owner of a turnstile to see logs of who used the turnstile? For example if they want to issue a refund, how can they be sure who used it or if they are being truthful that they used it?
Edit: Was thinking it would also be cool if there was a way (with a permission) for admins to check the log as well of a certain turnstile. And was also thinking in the list of turnstiles maybe it could say who the owner is.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Lionel76
I'm sorry, I don't understand. what is 'vosu'?
-
View User Profile
-
Send Message
Posted Apr 23, 2012Hello I am writing this review to ask if you could spend your vosu plugin 1.2.5 please thank you in advance.
Sincerely, Lionel76 ===
-
View User Profile
-
Send Message
Posted Apr 21, 2012I just found a fail in the plugin.
if you made a door a turnstile, and you open the door while running extremely fast (Zombe's Flymod) you can go through the door without paying anything etc.
maybe add a feature that detects when people go through "closed" doors and cancels their movement?
-
View User Profile
-
Send Message
Posted Apr 20, 2012@AlucardEverlasting
yes, "/ts access (Name) [Group] - Allows only the specified Group will be able to use the Turnstile"
-
View User Profile
-
Send Message
Posted Apr 19, 2012@Codisimus
is it possible to let a certian group in a turnstile?
-
View User Profile
-
Send Message
Posted Apr 16, 2012@KyleBoyer
You can make a Turnstile next to it that has no cost
-
View User Profile
-
Send Message
Posted Apr 15, 2012can you make it so you can have a button to leave that is free?
-
View User Profile
-
Send Message
Posted Apr 15, 2012@AlucardEverlasting
I think for WorldEdit you can disable the Turnstile commands within certain regions, but I'm not sure how.
-
View User Profile
-
Send Message
Posted Apr 15, 2012@Codisimus
do you have WorldEdit integration where i can select areas That i want to use for turnstiles?
-
View User Profile
-
Send Message
Posted Apr 14, 2012@fipil
I fixed this in the dev build
-
View User Profile
-
Send Message
Posted Apr 14, 2012Hi, I'm receiving the following warnings (CB git-Bukkit-1.2.5-R1.0-b2149jnks)
13:38:30 [WARNING] Could not properly handle event BLOCK_PHYSICS: java.lang.IllegalAccessError: Synchronized code got accessed from another thread : com.codisimus.plugins.turnstile.Turnstile$1 at org.bukkit.event.Listener.onBlockPhysics(Listener:0) at sun.reflect.GeneratedMethodAccessor6.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:301) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:459) at net.minecraft.server.World.k(World.java:512) at net.minecraft.server.World.applyPhysics(World.java:500) at net.minecraft.server.World.update(World.java:461) at net.minecraft.server.World.setTypeId(World.java:433) at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:92)
at com.codisimus.plugins.turnstile.Turnstile$1.run(Turnstile.java:271)
-
View User Profile
-
Send Message
Posted Apr 10, 2012@domdomegg
They could, this should be used in an area that has block protection so that cannot be done.
-
View User Profile
-
Send Message
Posted Apr 9, 2012Sorry if I am missing something, but why wouldn't people just destroy the blocks around it?
-
View User Profile
-
Send Message
Posted Apr 7, 2012When I try make a turnstile it keeps saying "An internal error occurred while attempting to perform this command" and this appears in the console:
org.bukkit.command.CommandException: Unhandled exception executing command 'ts' in plugin Turnstile v2.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 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:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.codisimus.plugins.turnstile.TurnstileMain.hasPermission(TurnstileMain.java:183) at com.codisimus.plugins.turnstile.TurnstileCommand.make(TurnstileCommand.java:312) at com.codisimus.plugins.turnstile.TurnstileCommand.onCommand(TurnstileCommand.java:104) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
I last updated bukkit on my server on Wednesday, so 4/4/12 (not 100% sure exactly what version we were up to) and just updated turnstile today, 6/4/12. Going by American dates anyway, it was actually Thursday here when the update came out and it's Saturday now.
This occurs for all turnstile commands.
-
View User Profile
-
Send Message
Posted Apr 1, 2012@ultrafastphil
idk of any shop plugins that allow players to take items from a chest and then pay for it.
-
View User Profile
-
Send Message
Posted Apr 1, 2012Idea to add to this!
You should make it so that you have a shop and they walk in and take somthing from a chest
and dont buy it yet when they walk out the door and they have a specified item it charges them money but if they dont have any of the items they walk out free.
-
View User Profile
-
Send Message
Posted Mar 31, 2012Updated to 1.2.4