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. Also, unlinking doesn't seem to actually unlink.
    I'm doing
    /bw unlink warp1
    Button successfully unlinked!
    /bw link warp2
    Button is already link to warp warp1

    Also, in 0.7.1 getting this on /reload
    2011-05-17 00:37:45 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    2011-05-17 00:37:45 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 12
    2011-05-17 00:37:45 [SEVERE]    at ButtonWarp.SaveSystem.loadFromFile(
    2011-05-17 00:37:45 [SEVERE]    at ButtonWarp.ButtonWarp.onEnable(
    2011-05-17 00:37:45 [SEVERE]    at
    2011-05-17 00:37:45 [SEVERE]    at
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.reload(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(
    2011-05-17 00:37:45 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(
    2011-05-17 00:37:45 [SEVERE]    at
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.NetServerHandler.a(
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.Packet3Chat.a(
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.NetworkManager.a(
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.NetServerHandler.a(
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-17 00:37:45 [SEVERE]    at net.minecraft.server.MinecraftServer.h(
    2011-05-17 00:37:45 [SEVERE]    at
    2011-05-17 00:37:45 [SEVERE]    at
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  3. Offline


    I'll check it out when I get back home
  4. I think the last array exception might be caused by some save file corruption
  5. Offline


    I get the error ArrayIndexOutOfBoundException too.

    How to solve it?, i always lose my saved warps when i execute the server again :(
  6. Delete your warps file and re-create.
  7. Offline

    Jake Buly

    I wasn't sure if this was missed, so I am reposting it.

    Would you possibly be able be able to combine this with Essentials? I want to use prices on the button's but I don't use iConomy. Instead I use the Essentials currency system.

  8. Offline


    can you post your save file?
  9. There
  10. Offline

    Jake Buly

    Can Someone please answer me? anyone at all?
  11. Offline


    Been getting this error whenever i restart or reload my server
    2011-05-19 00:22:36 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 12
    2011-05-19 00:22:36 [SEVERE]     at ButtonWarp.SaveSystem.loadFromFile(
    2011-05-19 00:22:36 [SEVERE]     at ButtonWarp.ButtonWarp.onEnable(
    2011-05-19 00:22:36 [SEVERE]     at
    2011-05-19 00:22:36 [SEVERE]     at
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(
    2011-05-19 00:22:36 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    2011-05-19 00:22:36 [SEVERE]     at net.minecraft.server.MinecraftServer.b(
    2011-05-19 00:22:36 [SEVERE]     at net.minecraft.server.MinecraftServer.h(
    2011-05-19 00:22:36 [SEVERE]     at
    2011-05-19 00:22:36 [SEVERE]     at
  12. Someone worn't do. You need the dev to answer that. But I doubt this will happen. This is why I'm using iConomy - has the most support. Same thing with Permissions.
    This is probably because of a corrupt save-file.
    I'm getting this too​
  13. Offline

    louis zook

    Getting save error.. here is the error and the save file. Thanks in advance

    2011-05-20 09:44:46 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    2011-05-20 09:44:46 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 12
    2011-05-20 09:44:46 [SEVERE]     at ButtonWarp.SaveSystem.loadFromFile(
    2011-05-20 09:44:46 [SEVERE]     at ButtonWarp.ButtonWarp.onEnable(
    2011-05-20 09:44:46 [SEVERE]     at
    2011-05-20 09:44:46 [SEVERE]     at
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(
    2011-05-20 09:44:46 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    2011-05-20 09:44:46 [SEVERE]     at net.minecraft.server.MinecraftServer.b(
    2011-05-20 09:44:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(
    2011-05-20 09:44:46 [SEVERE]     at
    2011-05-20 09:44:46 [SEVERE]     at
    2011-05-20 09:44:46 [INFO] ButtonWarp 0.7.1 is enabled!
  14. Offline


  15. Offline

    louis zook

    Hey I am downloading it now to try it. :D

    AND IT WORKS! WOOT! Thank you so much Codisimus! Works perfect now! YAY!

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


    Shuan likes this.
  17. Offline


    I get booted for hacking too, even as admin. I was about to recommend all my clients swap to this port method too :( It works great but needs a workaround for that kick.
  18. Offline


    it is minecraft that causes this problem, I would be surprised if this doesn't happen with all other teleporting plugins
  19. Offline


    I tried it out on a few others. I use travel portals most atm and they've never had a problem, neither has the essentials warping. Its strange, no idea why it does it.
  20. Offline


    Thank you very much for the quick response, and update!
  21. Thank you so much!
    PS Hope you check out the /ts thread :)
  22. Offline


    Wut do you mean by this?
  23. Offline


    Sorry, didnt see anything about this in the couple of pages i read, but has anyone tested this with 733?
  24. Offline


    I googled the kicking error and some people think it may be caused by plugins, they have the same problem on other portal mods. Any way of knowing which plugin booted me? Or is it a built in thing from bukkit.
  25. Offline


    2011-05-22 16:24:10 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    2011-05-22 16:24:10 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 12
    2011-05-22 16:24:10 [SEVERE] at ButtonWarp.SaveSystem.loadFromFile(
    2011-05-22 16:24:10 [SEVERE] at ButtonWarp.ButtonWarp.onEnable(
    2011-05-22 16:24:10 [SEVERE] at
    2011-05-22 16:24:10 [SEVERE] at
    2011-05-22 16:24:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-05-22 16:24:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-05-22 16:24:10 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-05-22 16:24:10 [SEVERE] at net.minecraft.server.MinecraftServer.e(
    2011-05-22 16:24:10 [SEVERE] at net.minecraft.server.MinecraftServer.a(
    2011-05-22 16:24:10 [SEVERE] at net.minecraft.server.MinecraftServer.init(
    2011-05-22 16:24:10 [SEVERE] at
    2011-05-22 16:24:10 [SEVERE] at
    2011-05-22 16:24:10 [INFO] ButtonWarp 0.7.1 is enabled!

    I used bukkit v766 and i used only this pluggin
  26. Offline


    This has been fixed in the latest version
  27. Offline


    by new version meaning the one that is out or the one that is coming? sorry for nagging i have the same problem
  28. Offline


    The one that is out
  29. Offline


    Can someone post their BW save file please? I'm having a problem with setting the source of a button to a player. Each time I try to do the command it displays the help menu. I tried to do it by editing the save file for buttonwarps, but im not sure of the format for a player source.
  30. Offline


    The not saving bug isn't fixed

    2011-05-28 15:53:29 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    2011-05-28 15:53:29 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
    2011-05-28 15:53:29 [SEVERE]     at ButtonWarp.SaveSystem.loadFromFile(
    2011-05-28 15:53:29 [SEVERE]     at ButtonWarp.ButtonWarp.onEnable(
    2011-05-28 15:53:29 [SEVERE]     at
    2011-05-28 15:53:29 [SEVERE]     at
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(
    2011-05-28 15:53:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(
    2011-05-28 15:53:29 [SEVERE]     at
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.NetServerHandler.a(
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.Packet3Chat.a(
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.NetworkManager.a(
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.NetServerHandler.a(
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-28 15:53:29 [SEVERE]     at net.minecraft.server.MinecraftServer.h(
    2011-05-28 15:53:29 [SEVERE]     at
    2011-05-28 15:53:29 [SEVERE]     at
    2011-05-28 15:53:29 [INFO] ButtonWarp 0.7.2 is enabled!

Share This Page