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]
Hai, great plugin but..you see the fence pops-up when i wanne enter, so it closes b4 i can get in... I tryed like 100 times and 100 times it closes b4 i can get in,well it actually closes when i close to it, i can cross over it.
Great plugin. I seem to be having permissions issues. I'm using permissionsbukkit 1.2. I made myself OP, and put in a turnstile. It works great with iconomy6, don't know what people are talking about. I change the owner of the turnstile to the world economy's account, basically the moneysink for the server. The money goes to that account, all is well. However, I then can't edit the turnstile, or delete it. And, I am OP. I changed the config file to ignore permissions to see if that would help, and it does not. Help please?
Please make something like /ts oneway [name] true/false to make one-way turnstiles, because if i enable the option in the config i am not able to do two-way turnstiles anymore... and i need them both :l
Ty
hmm... it sort of works now, but only with fence gates, and it doesn't automatically close after the set time
I love Turnstile and all, but every time I restart/reload the server it gives me some weird error... It tells me that it failed to load and turned off saving to prevent loss of data... It seems like you know this error, as you stated to have removed it, but it's still there...
I'm using Bukkit version 1337 and Turnstile 2.0.5, so I have no idea what could cause the problem...
@Codisimus
i am certain i linked the bottom part, but i'll try both again
edit: tested again; it does not matter if i link the bottom or top part of the door, the thing doesnt work, tried with a fence block too, same result
@WhiteNightFury
maybe you linked the top part of the door... you could try linking the bottom part or just wait for me to test it
@sammya
do you have essentials or BOSEconomy installed? it is proly linking to one of them
@Codisimus
no, i have put everything back the way it was already, but i do know what the setup was
it was like
D = iron door, B = bookcase, S = stone brick, # = iron bars and there was a button on the topright B and a sign on the iron bars above the door
but i tried with different materials, all with the same outcome, i tried with myself not being op or having admin permissions. still everything the same
i had edited the texts that turnstile puts out, and i figured if ! needs a \ then ' probably will to, so i had a text with you\'ll somewhere, may that be any help tested on CB1331 (after that i deleted the plugin and went to CB 1340 )
o is it free if im the owner? and btw it seems not to be doing Iconomy stuff its doing coin 60.0 which is kinda annoying but i guess that means it works the now TY :P btw suggestion is have where you can leave without having to do anything
This isn't working with iconomy. Are there any fixes?
@sammya
are you sure it isn't because you have the free node or are the owner of the Turnstile?
it seems its not working with iconomy please fix
@WhiteNightFury
can you take a picture or something to show me how it's set up
@TonyUzumaki
can I see your save file?
the darn thing doesnt work :(
i can walk through it back and forth as many times as i want, but it closes after the set time and no money is being paid
I can't collect items from chests.. ._. i crash everytime i try. Console gives me this error.
"13:34:29 [WARNING] Failed to handle packet: java.lang.NullPointerException java.lang.NullPointerException at net.minecraft.server.ItemStack.a(ItemStack.java:213) at net.minecraft.server.InventoryPlayer.h(InventoryPlayer.java:120) at net.minecraft.server.EntityHuman.s(EntityHuman.java:299) at net.minecraft.server.EntityLiving.s_(EntityLiving.java:280) at net.minecraft.server.EntityHuman.s_(EntityHuman.java:153) at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:213) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:305 at net.minecraft.server.Packet10Flying.a(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374 at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) "
@Lextao
Does it say that it is linked to either one?
Okay now, 2.0.2 doesn't seem to take money from iConomy nor Essentials databases...
@Joymo
Maybe try downloading it again... It shows up as version 2.0.2 for me.