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 2, 2012Ok, just discovered NoFraud mode :) No alterations needed I guess :)
-
View User Profile
-
Send Message
Posted Mar 2, 2012Works now! I knew you're working on it when I downloaded the source :) Thx. I just need to remove presurre plates and add some kind of warning when activating charged turnstiles without signs so it can't be used by griefers to set up turnstiles charged with high fees.
-
View User Profile
-
Send Message
Posted Mar 2, 2012@raunCZ
I just pushed the 1.2 update. Try again and it should work.
-
View User Profile
-
Send Message
Posted Mar 2, 2012Hi. I tried to build this plugin from source, but when I try to run it, I get exceptions about it not being able to load some classes (bukkit playerlisterner f.e.). I simply opened the netbeans project (with all the libraries linked) and rebuilt it. Am I doing something wrong?
-
View User Profile
-
Send Message
Posted Mar 1, 2012@Joobehy
any errors printed? which craftbukkit are you running?
-
View User Profile
-
Send Message
Posted Mar 1, 2012Whatever I do it keeps telling me /ts help in plain white text.
-
View User Profile
-
Send Message
Posted Mar 1, 2012@maheulbeuk
You need to download the plugin Vault
-
View User Profile
-
Send Message
Posted Mar 1, 2012hi, when i start my server with turnstile all version i have this error :
-
View User Profile
-
Send Message
Posted Feb 29, 2012You can add access via the plugin Towny? For example: players of a city can use the turnstile.
-
View User Profile
-
Send Message
Posted Feb 28, 2012Tested and everything seems to be in working order all though i am getting the attached console error at the exact point of walking through the turnstile, nothing noticeable in game though.
-
View User Profile
-
Send Message
Posted Feb 28, 2012@Codisimus
thank you it does work and yes that would be a good idea
keep up the good work :D
<edit> still getting issue it will not save so say if server is reset i come back on and have to make the commands again
-
View User Profile
-
Send Message
Posted Feb 28, 2012@ARavinMadMonkey
@whitedog2k12
did you turn on debug mode? if you are the owner then it will say you payed money, but the money goes right back to you so your balance does not change. I think I will have it print a different messages to owners to explain this.
-
View User Profile
-
Send Message
Posted Feb 28, 2012Hey mostly everything works but i have the same problem as ARavinmadMonkey It is not deducting money It pops Up in chat saying it has but when you /money it is the same
-
View User Profile
-
Send Message
Posted Feb 28, 2012Turnstile is starting but isn't linking with iConomy 6, can anyone help?
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Codisimus
Thanks Codisimus. v2.3.1 is working for me on 1.1 R4 so all good. Thanks
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Googz2110
actually I already uploaded the new version. The link to the stable build can be found at the bottom of the page or wait until it is approved.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Codisimus
No worries, thanks for the quick response Codisimus!
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Googz2110
fixed in dev build, will update soon. Thanks for finding this.
-
View User Profile
-
Send Message
Posted Feb 27, 2012Hi All
I am getting the below error: Any help is appreciated
19:45:13 [SEVERE] Error occurred while enabling Turnstile v2.4.0 (Is it up to da te?): null java.lang.NullPointerException at com.codisimus.plugins.turnstile.TurnstileMain.loadTurnstiles(Turnstil eMain.java:203) at com.codisimus.plugins.turnstile.TurnstileMain.onEnable(TurnstileMain. java:81) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:380) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Codisimus
Awesome news, will get on testing as soon as i get chance :)
Thanks