Inactive [TP] ButtonWarp v1.1 - Teleport using buttons with price/reward/custom messages [953]

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

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


    ButtonWarp (Previously DungeonReward) - Teleport using buttons with price/reward/custom messages:
    Version: 1.1 (7/16/2011)
    Supports iConomy, BOSEconomy, Essentials, Permissions
    Download Page

    This plugin is used to reward a player with money for reaching a certain region of the world.
    Or you can use it as a simple teleport using buttons.
    Money is added/subtracted when the user presses the button, the user is then teleported to a set location.

    If you are interested in this plugin be sure to check out PhatLoots.

    Features:
    • Buttons can also teleport users without giving any reward.
    • Deny taking items to a new World
    • Custom messages
    • Option to not teleport on button press (only charge/display message)
    • Set a cooldown time
    • Rewards can be negative to charge users to warp.
    • Set different reward values for different dungeons.
    • List and locate teleport locations.
    • Send money to player/bank account
    • Take money from player/bank account
    • Uses iConomy, BOSEconomy or Essentials to give users money.
    • Permissions to limit players from using, getting rewards, and using commands.
    • 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 /buttonwarp or /bw
    Show Spoiler

    • /bw make [Name] - Makes Warp at current location
    • /bw make [Name] nowarp - Makes a Warp that doesn't teleport
    • /bw move [Name] - Moves Warp to current location
    • /bw link [Name] - Links target button with Warp
    • /bw unlink [Name] - Unlinks target button with Warp
    • /bw delete [Name] - Deletes Warp and unlinks buttons
    • /bw amount [Name] [Amount] - Sets amount for Warp
    • /bw source [Name] server - Generates/Destroys money
    • /bw source [Name] [Player] - Gives/Takes money from Player
    • /bw source [Name] bank [Bank] - Gives/Takes money from Bank
    • /bw msg [Name] [Msg] - Sets message recieved after using Warp
    • /bw time [Name] [0'0'0'0] - Sets cooldown time for using Warp
    • /bw type [Name] [Type] - Sets cooldown type for using Warp
    • /bw list - Lists all Warps
    • /bw locate [Name] - Gives location of Warp
    • /bw rl - Reloads ButtonWarp

    Permission Nodes:
    Show Spoiler

    • buttonwarp.use - Needed to be able to use the warp
    • buttonwarp.getreward - Needed to be able to receive money
    • buttonwarp.make
    • buttonwarp.amount
    • buttonwarp.source
    • buttonwarp.msg
    • buttonwarp.time
    • buttonwarp.type
    • buttonwarp.admin.move
    • buttonwarp.admin.list
    • buttonwarp.admin.locate
    • buttonwarp.admin.freewarp

    Tutorial:
    NOTE: New Tutorial video, please watch before asking a question.


    Changelog:
    Old Versions + ChangeLog can be found at Download Page
    Show Spoiler

    Version 1.1 (7/16/2011)
    • Fixed nowarp
    Version 1.0 (6/26/2011)
    • Improved OP options
    • Updated Economy support
    • Fixed custom messages
    • Added rl command
    Version 0.9 (6/15/2011)
    • Added option of denying warp if trying to take items to a different world
    • Event is now cancelled if the warp event is cancelled
    Version 0.8 (6/12/2011)
    • Cleaned up code/fixed errors
    Version 0.7.5 (6/4/2011)
    • Cleaned up errors and added error messages
    Version 0.7.4 (6/3/2011)
    • Various fixes and code cleanup
    Version 0.7.3 (6/3/2011)
    • Added Essentials econ support
    Version 0.7.2 (5/20/2011)
    • Fixed ArrayIndexOutOfBounds '12' error
    Version 0.7.1 (5/16/2011)
    • Fixed creation of 'nowarp' warps
    Version 0.7 (5/15/2011)
    • Fixed location saving (no more looking straight up/down)
    • Actually fixed /bw make
    • Changed permission nodes
    • Added commands such as /bw source
    • Fixed all money issues
    Version 0.6.1 (5/4/2011)
    • Updated to iConomy 5
    • Few various fixes
    Version 0.6 (4/29/2011)
    • Fixed reload issues
    • Added custom messages
    • Fixed bank support
    • Added option to not teleport on button press (only charge)
    • Added cooldown
    • Renamed to ButtonWarp
    • Rewrote/Cleaned up code
    Version 0.5 (4/15/2011)
    • Improved Multiworld support
    • Many various fixes
    Version 0.4.1 (3/31/2011)
    • Few minor fixes
    • Works with build #612
    Version 0.3.3 (3/24/2011)
    • Fixed payment issues
    • Fixed Permission issues
    • changed dungeonreward.reward permission node to dungeonreward.amount
    Version 0.3.2 (3/22/2011)
    • Added confirmation messages (took out that you could set your own message)
    • Added a check to make sure the balance has enough money
    Version 0.3.1 (3/20/2011)
    • Fixed negative value adding money to account
    Version 0.3 (3/19/2011)
    • Fixed unknown command spamming chat
    • Fixed no Economy message spamming
    • Improved /reward list output
    • Added /reward msg (dungeonreward.msg) to set a custom message for when to press the button
    • Add option of negative value for paying to use warp
    Version 0.2 (3/19/2011)
    • Improved /reward make command (no more targeting, saves direction you are facing)
    • Added multiworld support
    Version 0.1 (3/18/2011)
    • Initial Release
     
  2. Offline

    Insanehero


    Hey Codisimus,

    I seem to be having a few errors with your plugin. These errors have been happening for quite some time now (1-2months). I had my developer look at your code to find the source of the error but he can't seem to fix it. So my last resort is to you.

    I am currently running the latest RB and Buttonwarp. Yes, there error still was happening before I had RB and buttonwarp, infact it was happening way back in #953.


    Its not just that certain buttonwarp is all of them. This is just one of them.

    Basically, this error happens about 1-4 hours after the server starts. It happens when a player hits any button after a certain amount of time. It seems as though when a player hits a button its opening more files than it should be. So after a while, lets say 100 buttonclicks, the server crashes because of all the files. I've tried reinstalling, reconfiguring, and redoing all the warps countless times. Nothing seems to work. I hope you can help me.

    Thanks :D
    Code (Text):
    1.  
    2. 2011-12-08 16:08:49 [SEVERE] [ButtonWarp] Save Failed!
    3. 2011-12-08 16:08:49 [SEVERE] java.io.FileNotFoundException: plugins/ButtonWarp/HumanShip.dat (Too many open files)
    4. 2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.open(Native Method)
    5. 2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    6. 2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
    7. 2011-12-08 16:08:49 [SEVERE]    at com.codisimus.plugins.buttonwarp.SaveSystem.save(SaveSystem.java:274)
    8. 2011-12-08 16:08:49 [SEVERE]    at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInteract(playerListener.java:61)
    9. 2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    10. 2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    11. 2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    12. 2011-12-08 16:08:49 [SEVERE]    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    13. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    14. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    15. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    16. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    17. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    18. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    19. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    20. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    21. 2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    22. 2011-12-08 16:08:49 [SEVERE] net.minecraft.server.MinecraftException: Failed to check session lock, aborting
    23.  
     
  3. @Insanehero
    Thanks for discovering this, It has been fixed in Version 1.5.5
     
  4. Offline

    Insanehero

    Thanks man! Your the best!
     
  5. Offline

    Insanehero

    Button times seem to be broken in 1.5.5 :L
     
  6. ya i accidently broke it copying and pasting code, fixed in 1.5.6
     
  7. Offline

    Smokie23

    Can you adjust the "You must wait to use that again" to "You must wait <time remaining> to use that again" so players know how long they have to wait before they can use it.
    This is exactly the plugin I been searching for!
     
  8. I have already done that. Make sure you are using the latest version.
     
  9. Offline

    Prismavolt

    when i put the .jar file in my plugins folder and started my server, they said 'could not load plugins\buttonwarp.jar in folder 'plugins' : Vault' PLEASE HELP!!! D:
     
  10. install the plugin vault. it needs it to work
     
  11. Offline

    aalleexxx5

    i can't make it work on my server...it is like the plugin never was installed. If i type "/plugins" it says: "dungon reward, iconomy, izone, bukkit compat, permissions, tntminer, chestshop" i cant type/bw or /bw make (any name), it just shows unknown command. type "help" for help.
     
  12. make sure you have the plugin vault installed
     
  13. Offline

    Insanehero

    Loooool 2012 broke it. All buttons are saying you gotta wait 363 days.
     
  14. fixed*
     
  15. Offline

    Mike1665

    Doesnt Work!!!! I Install and i do /pl Doesnt show up and when i do /bw It says unknown Command!
     
  16. you have to install Vault
     
  17. Just wondering, is there a teleporter plugin that gives you permissions that you configure per teleporter?
     
  18. Offline

    SuperPyroManiac

    Error im getting with /bw make

    Code (Text):
    1. 2012-02-03 22:21:47 [SEVERE] null
    2. org.bukkit.command.CommandException: Unhandled exception executing command 'bw' in plugin ButtonWarp v1.6.2
    3. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    4. at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    5. at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    6. at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
    7. at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    8. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    9. at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:178)
    10. at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    11. at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    12. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    13. at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
    14. at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    15. at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    16. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    17. at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    18. Caused by: java.lang.IncompatibleClassChangeError: Expecting non-static method ru.tehkode.permissions.bukkit.PermissionsEx.has(Lorg/bukkit/entity/Player;Ljava/lang/String;)Z
    19. at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:83)
    20. at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:78)
    21. at com.codisimus.plugins.buttonwarp.ButtonWarp.hasPermission(ButtonWarp.java:185)
    22. at com.codisimus.plugins.buttonwarp.listeners.CommandListener.onCommand(CommandListener.java:105)
    23. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    24. ... 14 more
     
  19. Offline

    bonani

    Sorry for a stupid question, but; is it possible to bind the button to any command? Not only set prices and stuff, but for example /plot claim with Towny?
     
  20. Offline

    CKSpoiler

    Hey, could you please update to R5? :)
     
  21. Offline

    martin143

    It does not work. It will not unzip the file.:(
     
  22. Offline

    prueck902

    PLeas update the plugin to 1.2.3!!!
    I am dieng!!!!!
     
  23. it should work
     
  24. Offline

    DiamondServers

    my server is not reading the plguin at all:/
     
  25. Offline

    Kraftbefehl98

    VERY COOL PLUGIN, but "cost" doesn`t work. :(
     
  26. Offline

    melone99

    Does it work on 1.2.5 ore 1.2.4?
     
    Matze97x likes this.
  27. Offline

    Matze97x

    Awesome!! :) please make a Rank system for PEX group changing by pressing a button!! (sry im germ :p)
     
  28. Offline

    fischilii

    can i use it for minecraft version 1.2.5 ?
     
  29. Offline

    Matuggertug

    please update to 1.2.5 :D
     
    Jdwede likes this.
  30. Offline

    User234

    When I go to the link I will get a Dropbox 404 error!
    So is it another site i can download ButtonWarp?
     
  31. Offline

    Silentc0r3

    why do my normal players with no rank have permission to use a bw that I placed?
     

Share This Page