[RPG/MECH] Turnstile v1.9.1 - Charge players money/items to enter an area [953]

Discussion in 'Inactive/Unsupported Plugins' started by Codisimus, Mar 15, 2011.

  1. Offline

    Codisimus

    This page will no longer be updated. Please follow this project at the Bukkit Dev Page

    Turnstile - Charge players money/items to enter an area:
    Version: 1.9.1 (7/16/2011)
    Supports iConomy, BOSEconomy, Essentials, Permissions
    Download Page

    This plugin is used to create a Turnstile to prevent players from entering certain locations without paying money/items.

    The Turnstile is made up of a fence block, this block will disappear when a linked button is clicked. The block will reappear when walked through or after a certain amount of time. Money is deducted from the user when they press the button (or walk through the Turnstile if 'NoFraud' is set to true in the config). All money deducted is given to the owner/bank of the Turnstile.

    Turnstiles can also charge items by linking a chest instead of a button. Put the required item in and punch the chest to open the Turnstile.

    Format of Save file:
    Show Spoiler

    Code:
    DreknorIn;1;4;13;2;scudmaster;Codys_World;-174;55;-102;
    -175:55:-101;-174:55:-99;
    
    [Name];[Price];[Earned];[ItemID.Damage Value];[Amount of item];[Owner];[WorldName][x];[y];[z](of location of Turnstile);
    [x];[y];[z](of location of linked button/chest);[x];[y];[z] (of location of linked button/chest);

    Features:
    • Configurable properties.
    • Custom messages
    • No Fraud mode (Turnstile doesn't charge until walked through)
    • Restrict use of a specific Turnstile to a certain group
    • Make a Turnstile Free or Locked during a certain time of day
    • Autoclose timer
    • Create private Turnstiles only you can use
    • Only owners and admins can destroy Turnstile blocks, buttons, and chests
    • Edit turnstiles easily in game or in the save file
    • Only the owner/bank owner can edit a turnstile
    • Turnstiles can charge specific items instead of money
    • Durability support
    • Turnstiles can also be free to use
    • Charge users money to create turnstiles
    • Set different Turnstiles to unique prices and owners/banks
    • List and locate Turnstiles
    • MultiWorld support
    • Uses iConomy, BOSEconomy or Essentials to charge users money
    • Permissions to limit players from using turnstiles, for all commands (except help), and for admins
    • Included in CraftBukkitUpToDate for easy updating (make sure you come check the changelog if somthing is not working right)
    Commands:
    Commands can be written as /turnstile or /ts
    Show Spoiler

    • /ts make [Name] - Make target fence block into a Turnstile
    • /ts link [Name] - Link target block with Turnstile
    • /ts rename [Name] [NewName] - Renames the Turnstile
    • /ts unlink [Name] - Unlink target block with Turnstile
    • /ts delete [Name] - Delete Turnstile and unlink blocks
    • /ts price [Name] [Price] - Set cost of Turnstile
    • /ts price [Name] [ItemID(.Damage)] [Amount] - Set cost to item
    • /ts access [Name] public - Allow anyone to open the Turnstile
    • /ts access [Name] private - Allow only the owner to open
    • /ts access [Name] [Group] - Allow only specific Group to open
    • /ts free [Name] [TimeStart-TimeEnd] - Free during timespan
    • /ts locked [Name] [TimeStart-TimeEnd] - Locked during timespan
    • /ts earned [Name] - Display money the Turnstile earned
    • /ts collect - Retrieve items from the target Turnstile chest
    • /ts owner [Name] [Player] - Send money for Turnstile to Player
    • /ts bank [Name] [Player] - Send money for Turnstile to Bank
    • /ts list - List all Turnstiles
    • /ts info - Gives info of Turnstile
    • /ts help - Displays Turnstile help page

    Permission Nodes:
    Show Spoiler

    • turnstile.open - Needed to be able to activate Turnstiles
    • turnstile.openfree - Player/Group is not charged to open Turnstiles
    • turnstile.make - Needed to make/link/unlink/delete Turnstiles
    • turnstile.makefree - Player/Group is not charged to make Turnstiles
    • turnstile.set.free - Allows Player/Group to use /ts free
    • turnstile.set.locked - Allows Player/Group to use /ts locked
    • turnstile.set.price - Allows Player/Group to use /ts price
    • turnstile.set.owner - Allows Player/Group to use /ts owner
    • turnstile.set.access - Allows Player/Group to use /ts access
    • turnstile.set.bank - Allows Player/Group to use /ts bank
    • turnstile.earned - Allows Player/Group to use /ts earned
    • turnstile.admin.list - Allows Player/Group to use /ts list
    • turnstile.admin.info - Allows Player/Group to use /ts info
    • turnstile.admin.ignoreowner - Player/Group can edit any Turnstile regardless of being the owner

    Tutorial:
    NOTE: New Tutorial video, Please watch before asking questions.




    ToDo:
    • Send items to owner
    • Add option of using a door instead of a fence block
    • Add pressure plate support
    Changelog:
    Old Versions + ChangeLog can be found at Download Page
    Show Spoiler

    Version 1.9.1 (7/16/2011)
    • Added rename command
    • Now allows multiple Turnstiles per block
    • Fixed Access
    • Added color support for all customizable messages
    Version 1.9 (6/26/2011)
    • Improved OP options
    • Updated Economy support
    • Fixed collect command
    • Added option of door instead of block
    • Added pressure plate support
    Version 1.8 (6/12/2011)
    • Cleaned up code/fixed errors
    • Added /ts collect command to retrieve earned items
    Version 1.7.6 (6/4/2011)
    • Cleaned up errors and added error messages
    Version 1.7.5 (6/3/2011)
    • Various fixes and code cleanup
    Version 1.7.4 (6/3/2011)
    • Added Essentials econ support
    Version 1.7.3 (5/20/2011)
    • Fixed durability support
    Version 1.7.2 (5/20/2011)
    • Added decimal support
    Version 1.7.1 (5/16/2011)
    • Readded the useOpenFreeNode and useMakeFreeNode options in config
    Version 1.7 (5/15/2011)
    • Changed permission nodes
    • Allow right clicking a button to open
    • Made Turnstiles unbreakable
    • Added command to allow group specific Turnstiles
    Version 1.6.1 (5/4/2011)
    • Updated to iConomy 5
    • Few various fixes
    Version 1.6 (4/29/2011)
    • Added durability support
    • Added custom messages
    • Fixed reload issues
    • Added No Fraud mode (Turnstile charges when walked through)
    • Added option to restrict use of a specific Turnstile to a certain group
    • Added option of making a Turnstile Free or Locked during a certain time of day
    • Added autoclose timer
    Version 1.5 (4/15/2011)
    • Improved multiworld support
    • Other various fixes
    Version 1.4.3 (4/4/2011)
    • Fixed isOp() conflicting with Permissions
    Version 1.4.2 (3/31/2011)
    • Few minor fixes
    • Works with build #612
    Version 1.4.1 (3/30/2011)
    • Can now use with left or right hand
    Version 1.4 (3/30/2011)
    • Fixed turnstile creation
    Version 1.3.3 (3/30/2011)
    • Updated to build #602
    • Changed the way you create turnstiles. Now you must target the fence block that will become a Turnstile
    Version 1.3.2 (3/28/2011)
    • Added private Turnstiles, Set price to -808 to make it so only the owner can enter
    Version 1.3.1 (3/28/2011)
    • Fixed error of crashing if owners name is < 5 letters long
    Version 1.3 (3/26/2011)
    • Added protection for Turnstile blocks, buttons, and chests
    Version 1.2.1 (3/24/2011)
    • Various fixes
    Version 1.2 (3/23/2011)
    • Fixed multiworld support
    Version 1.1 (3/23/2011)
    • Fixed paying with items not opening Turnstile
    Version 1.0 (3/23/2011)
    • Added an autoclose timer (set to -1 as default in config file meaning it will stay open until walked through)
    • Added '/ts earned [Name]' command (no permission node)
    • Fixed config
    • Added option of setting price to all (saved as -411 in save file) which will clear a players balance as the cost
    • Fixed error of turnstile opening without enough money
    • Fixed permissions reload
    • Fixed/added lots of other things I can't even remember
    Version 0.9 (3/22/2011)
    • Fixed error of no confirmation messages for iConomy
    • Added a check to make sure the balance has enough money
    • Implemented option of paying with a specific item
    • Added config file with the following options
      • CostToMakeTurnstile=0
      • useIgnorePriceNode=False
      • useIgnoreCostNode=False
    Version 0.8.3 (3/19/2011)
    • Fixed unknown command spamming chat
    • Fixed no Economy message spamming
    • Changed /ts locate to /ts info (turnstile.admin.info)
    Version 0.8.2 (3/19/2011)
    • Added multiworld support (you must rename save files to Turnstile[WorldName].save or turnstiles will not be loaded)
    Version 0.8.1 (3/18/2011)
    • Fixed /ts bank not working
    • Added /ts bank to help page
    • /ts bank now only works with BOSEconomy linked
    Version 0.8 (3/18/2011)
    • Added support for BOSEconomy banks
    • New node turnstile.admin.bank
    • New command /ts bank [Name] [Bank]
    Version 0.7.1 (3/17/2011)
    • Mispelled commands display help screen
    • If owner is set to "server" then money is not added or deducted from the owner
    • Button now only works when turnstile is closed
    Version 0.7 (3/17/2011)
    • Turnstile now closes after being walked through
    • Fixed error of "Turnstile successfully loaded with Permissions!" being displayed multiple times
    Version 0.6.1 (3/16/2011)
    • Fixed error that Permissions was required
    Version 0.6 (3/16/2011)
    • Added support for Permissions
    Version 0.5 (3/16/2011)
    Version 0.4 (3/15/2011)
    • Limited commands to the owner of the turnstile
    • Other various fixes
    Version 0.3 (3/15/2011)
    • Initial Release
     
  2. Offline

    Monkey_nuts

    can you set up a function where you only have to pay to use a button :D
     
  3. Offline

    randeri221

    can someone help me?
    Code:
    16:37:19 [SEVERE] java.io.FileNotFoundException: plugins\Turnstile.jar (■■∞ε≥°δ·
     αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙÷σΘ∩)
    16:37:19 [SEVERE]       at java.util.zip.ZipFile.open(Native Method)
    16:37:19 [SEVERE]       at java.util.zip.ZipFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at java.util.jar.JarFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at java.util.jar.JarFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.moveFile(TurnstileMain.java:9
    3)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.checkFiles(TurnstileMain.java
    :79)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.onEnable(TurnstileMain.java:5
    7)
    16:37:19 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    16:37:19 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    16:37:19 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    16:37:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    16:37:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    16:37:19 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    16:37:19 [SEVERE] java.io.FileNotFoundException: plugins\Turnstile.jar (■■∞ε≥°δ·
     αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙÷σΘ∩)
    16:37:19 [SEVERE]       at java.util.zip.ZipFile.open(Native Method)
    16:37:19 [SEVERE]       at java.util.zip.ZipFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at java.util.jar.JarFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at java.util.jar.JarFile.<init>(Unknown Source)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.moveFile(TurnstileMain.java:9
    3)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.checkFiles(TurnstileMain.java
    :82)
    16:37:19 [SEVERE]       at Turnstile.TurnstileMain.onEnable(TurnstileMain.java:5
    7)
    16:37:19 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    16:37:19 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    16:37:19 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    16:37:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    16:37:19 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    16:37:19 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    16:37:19 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    16:37:19 [SEVERE] [Turnstile] Missing value for CostToMakeTurnstile in config fi
    le
    16:37:19 [SEVERE] [Turnstile] Please regenerate config file
    16:37:19 [SEVERE] Error occurred while enabling Turnstile v1.9.1 (Is it up to da
    te?): null
    java.lang.NumberFormatException: null
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at Turnstile.TurnstileMain.loadConfig(TurnstileMain.java:133)
            at Turnstile.TurnstileMain.onEnable(TurnstileMain.java:58)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    plz help
     
  4. Offline

    DeathAssault

    will there be a update with a dispenser so u can make like a casino gamble thing
     
  5. Offline

    olimoli123

    Hey, could you implement superperms ? or permissionsbukkit thanks
     
  6. Offline

    Bharel

    update please :)
     
  7. Offline

    Ludi95

    nice plugin good job but 953 update please
     
  8. Offline

    killer8600

    update to iconomy 6 please
     
  9. Offline

    Lextao

    Update to #1060 and fix the iconomy issue please :S
     
  10. Offline

    THA_D

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:58:40 [INFO] [AdvancedMobs0.3.7] Auto saved
    09:59:27 [INFO] [PLAYER_COMMAND] Tha_D: /time day
    10:00:14 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:15 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:15 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:16 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:16 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:16 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:16 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:16 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:17 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:17 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:23 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    10:00:28 [INFO] /94.231.101.83:52287 lost connection
    10:00:33 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Register.charge(Register.java:24)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:162)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerLis
    tener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >HELP ME! I NEED THIS TO WORK!
     
  11. Offline

    THA_D

    UPDATE AND HELP WITH ISSUES MAN!
     
  12. Offline

    Codisimus

    Check out my plugin ButtonWarp.

    To everyone else:
    Sorry for being inactive, I was working 2-3 jobs this summer and had no time to work on plugins. I'm back down to 1 job + school for now so I should be able to keep my plugins updated. I hope I didn't lose too many people. I want to get all my plugins updated by next week but have no idea how much work that requires yet.
     
  13. Offline

    Monkey_nuts

    no i mean like just to use it but i dont wan't it to take you anywhere i just want you to press a button to enter say a carnival game and it costs you to get in
     
  14. Offline

    gameswereus

    I understand :p
     
  15. Offline

    Nomanoclass

    I BOSEconomy and everything works EXCEPT ^ ^ the bank that is not credited.
    And when I restart the server (log attached): "[INFO] Turslite Load failed, saving turned off to prevent loss of date."
    [GRAVE] java........

    Thank you for finding my solution.

    My turnstile.save

    Code:
    cartrendu;0.0;0.0;328;1;0;0;0;0;Nomanoclass;public;RPG;-1166;64;-73;
    -1165:64:-72;
    troglo;5.0;0.0;0;0;0;0;0;0;nomanoclass;public;RPG;-1166;64;-76;
    -1165:64:-76;
    acadporte;0.0;0.0;0;0;0;0;0;0;Nomanoclass;nomanoclass;a12c5;RPG;-1140;64;-1;
    -1139:64:-1;
    acadsortie;0.0;0.0;0;0;0;0;0;0;Nomanoclass;nomanoclass,a12c5;RPG;-1148;60;-1;
    -1149:61:-1;
    acsortie1;0.0;0.0;0;0;0;0;0;0;Nomanoclass;public;RPG;-1140;60;-2;
    -1141:61:-7;
    acsortie2;0.0;0.0;0;0;0;0;0;0;Nomanoclass;public;RPG;-1140;60;-1;
    -1141:61:-7;
    
     

    Attached Files:

  16. Offline

    moomoohk

    hey codsimus
    ridiculous plugin. i absolutely love it. i've integrated it to work with the war plugin and voxelport (you pay through a ts then walk onto a port which tps you to a warzone) and it's just great. this plugin is so amazing. one thing though: i'm an admin and i've been trying to make a restricted admin zone but i keep stumbling across this problem. when i set the ts access to admins it confirms that access had been set but it doesn't let me through... console says:

    00:22:53 [INFO] moomoohk used command "/ts access adminaccess admins"
    00:22:55 [SEVERE] Could not pass event PLAYER_INTERACT to Turnstile
    java.lang.NullPointerException
    at Turnstile.Turnstile.hasAccess(Turnstile.java:198)
    at Turnstile.Turnstile.checkBalance(Turnstile.java:158)
    at Turnstile.TurnstilePlayerListener.onPlayerInteract(TurnstilePlayerListener.java:403)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    maybe i'm doing something wrong. does it set access to groups defined with permissions or something else? other than that great plugin. if i stumble across anything else i'll post it here.
     
  17. Offline

    Codisimus

    @moomoohk
    Wut version of permissions are you using?
     
  18. Offline

    moomoohk

    3.1.6
     
  19. Offline

    Codisimus

    I still have quite a bit of work to do including updating to newest permissions...
     
  20. Offline

    moomoohk

    ah i see well take your time (at least for me) it's not that important. the rest of the plugin works great so i'm content. you did a good job
     
  21. Offline

    Nomanoclass

  22. Offline

    ryanjjjj

    when are you updating this to 1060? my server heavily requires this plugin, please dont let it die!
     
  23. Offline

    Nomanoclass

    I found it! That's my fault. Sorry
     
  24. Offline

    Master666

    thanks. I've been searching for plugin that acts like "toolbooth" for weeks
     
  25. Offline

    darth2499

    plz update this for 1185!
     
  26. Offline

    Codisimus

    an0x likes this.
  27. Offline

    an0x

  28. Offline

    Redstorm3265

    Update to iConomy 6 Please
     
  29. Offline

    Codisimus

    the dev build should work... but I will release the next version within 24 hours
     
  30. Offline

    BlancoLanda

    I'm going to use it for my station! The dropbox servers ain't working fine now... I have to wait to download dev build. I'm waiting for RB!! :)
     
  31. Offline

    dyrnwyn

    Iconomy is still acting pretty glitchy with just about every plugin out there. Don't stress it.

    And keep up the great work! I use this to block bookcases on my magicspells mod. Unusual way to set up a shop, but your mod makes it work fantastic. Love the concept and am planning to add it into several other key points. *Thumbs up*
     

Share This Page