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. Offline


    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.

    • 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 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

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

    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


    The easiest way is to keep deleting the errored lines but you will have to recreate those warps...


    Finally got a stable build
    I got 3 plugins that I will be creating soon I hope. The first one Is a simple plugin that allows players to buy specific chunks so only they can build on them.


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  3. Yeah now its working, big thanks! :)
  4. Offline


  5. Offline


    Negative values dont work for me. I set them /bw amount test -10
    but it doesnt add or take any money from a player.
  6. Offline


    do positive values work? make sure it is linked to your economy plugin
  7. Offline


    Thank you good sir, if you ever need further testing...
  8. Offline


    Positive valuse work, and add a specified amount of money to account.
    Negative values don't add or take.
  9. Offline


    Thank you very much!
  10. Offline




    this is like Auto Region Guard = my fav ;) except its so outdated im worried an update will = plugin death, someone has picke dit up but they have moved to sql dependancies :s all crazy now sql is probably good for some ppl but im the kinda person who just likes a txt lol, i will be very! eagerly looking forward to this, the buying thing will save me alot of work since with ARG there is no buying system :s

    please tag or PM me when this does materialize and good luck in your studies ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  11. Offline


    GREAT PLUGIN I LOVE IT! only one thing says: button warp failed to load saving is now turned off why is this? im new to all this so yeah ive done somthing wrong
  12. Offline


    your data file is corrupted... if you don't mind remaking the Warps just delete your save file.
  13. Offline


    kk my world glitched...i was experimenting with world edit and suddenly all the grass turn into gold blocks i only put 10 radius aswell so i might need to report tht to thm...thanks anyway!:)
  14. Offline


    I love your plugin, I've been using it on my server, as it's the most reliable warp plugin I've found, it even works multiword! :D

    I do have a request though... You know how you can set if taking items between worlds is allowed or not on warp?
    Well I'd love it if there was an option to set it for each worlds instead of a global switch. This would allow for SO MUCH variety.

    Thanks for reading this, and goodluck with everything you do :)
  15. Offline


    I added this to my todo list. I going to make it so you can set it for each warp individually. This way you can disallow warping with items even to the same world
  16. Offline


    That'd be pretty much amazing. I honestly can't seem to find any better warp plugins, so I'm sticking with yours. Thanks for the quick reply :D
  17. Offline


    Okay, what am I doing wrong?
    I just want a button that you can only use if you have enough money. No teleport but a short message.

    I made a button and did the following steps:

    - /bw make test nowarp
    - /bw link test
    - /bw amount 10

    Whenever I press the button the console gives me this report:
    17:23:46 [SEVERE] Could not pass event PLAYER_INTERACT to ButtonWarp
    at org.bukkit.craftbukkit.CraftServer.getWorld(
    at com.codisimus.plugins.buttonwarp.Warp.activate(
    at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInt
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(
  18. Offline


    what version are you using?
  19. Offline


    Puleeeez update this for the newest build. Its the best out there but doesnt work for iconomy. Also adding a warmup time woud be freakin fantastic
  20. Offline


    it is updated, follow it on the Bukkit Dev page at
  21. Offline


    oh well it says 953, thanks, well i cant get it to work with econemy. Doesnt take money. So any advice on that. Build 1317
  22. Offline


    i used this on a previous server of mine, it worked great. i really wish you would update it though... oh and look into this small (actually its a big problem) problem:
    when i teleported it made my original world... odd, i started getting pieces of the other worlds pasted into my original... please see if this plugin is what was causing it?
  23. Offline


    There is no forun on your site. How are we to ask questions and such? The main page comments?

    Will you be adding superpermbridge support or permissionbukkit support? Cool plugin, but i'm not changing permissions again just to use it.
  24. Offline


    Thanks a lot for last update ;)
    gg to u for new save format !
  25. Offline


    Error (404)
    We can't find the page you're looking for. Check out our FAQ or forums for help. Or maybe you should try heading home.
  26. Offline


    Any idea if you will be updating this? I use it for my starting area and it stopped working after 1.0.0 (bukkit)
  27. Offline


    Got an error when trying to set the access to a certain group... Whats wrong?
    29.11 17:28:33 [Server] INFO ... 16 more 29.11 17:28:33 [Server] INFO at java.lang.ClassLoader.loadClass( 29.11 17:28:33 [Server] INFO at java.lang.ClassLoader.loadClass( 29.11 17:28:33 [Server] INFO at 29.11 17:28:33 [Server] INFO at 29.11 17:28:33 [Server] INFO at 29.11 17:28:33 [Server] INFO at Method) 29.11 17:28:33 [Server] INFO at$ 29.11 17:28:33 [Server] INFO Caused by: java.lang.ClassNotFoundException: ru.tehkode.permissions.PermissionManager 29.11 17:28:33 [Server] INFO at 29.11 17:28:33 [Server] INFO at 29.11 17:28:33 [Server] INFO at net.minecraft.server.MinecraftServer.w( 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetServerHandler.a( 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetworkManager.b( 29.11 17:28:33 [Server] INFO at net.minecraft.server.Packet15Place.a(SourceFile:39) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetServerHandler.a( 29.11 17:28:33 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact( 29.11 17:28:33 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent( 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent( 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent( 29.11 17:28:33 [Server] INFO at$11.execute( 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInteract( 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.Warp.activate( 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.Warp.hasAccess( 29.11 17:28:33 [Server] INFO java.lang.NoClassDefFoundError: ru/tehkode/permissions/PermissionManager
  28. Offline


  29. Offline


    Yes, Version 1.5.2 is out
    Fixed in 1.5.2
    When I get my website set back up I'll be sure to post it on there. Thanks!
  30. Offline


    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
    2011-12-08 16:08:49 [SEVERE] [ButtonWarp] Save Failed!
    2011-12-08 16:08:49 [SEVERE] plugins/ButtonWarp/HumanShip.dat (Too many open files)
    2011-12-08 16:08:49 [SEVERE]    at Method)
    2011-12-08 16:08:49 [SEVERE]    at<init>(
    2011-12-08 16:08:49 [SEVERE]    at<init>(
    2011-12-08 16:08:49 [SEVERE]    at
    2011-12-08 16:08:49 [SEVERE]    at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInteract(
    2011-12-08 16:08:49 [SEVERE]    at$11.execute(
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.ItemInWorldManager.dig(
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkManager.b(
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.MinecraftServer.w(
    2011-12-08 16:08:49 [SEVERE]    at
    2011-12-08 16:08:49 [SEVERE]    at
    2011-12-08 16:08:49 [SEVERE] net.minecraft.server.MinecraftException: Failed to check session lock, aborting
  31. Offline


    Thanks for discovering this, It has been fixed in Version 1.5.5

Share This Page