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


    ugh.. it's not that..

    I put a fee of $300 for everytime you warp using buttonwarp, but for some certain reason, it doesn't deduct your money when you warp..
  3. Offline


    are you using essentials? bc for some reason ppl are having lots of trouble with that
  4. Offline


    nope.. using iConomy..
  5. Offline


    are you using the new RB bc I didn't update to it yet
  6. Offline


    Hi the / bw -100 Amount not work
  7. Offline


    using 860.. :D
  8. Offline


    Hey man, I'm really looking forward to use this plugin, although it installed fine (created the files etc.) it doesn't read my permission nodes, I added the use nodes for everyone and the creation nodes for admins, though any command we try we get the "You do not have permission" message. It doesn't give any errors in the console and it loads fine. I'm using the latest bukkit version aswell for permissions.

    Edit: I'm using the latest of Groupmanager
    Edit 2: Works fine now after a couple of reloads, except, while running your plugin all of my /money & /bank commands won't work, however the iConomy system itself keeps running.
  9. Offline


    Could you add a feature that allows a button to teleport someone to their /sethome
  10. Offline



    I added a reload command but I doubt it will help :(
  11. Offline


    Aww no essentials /home support?
  12. Offline


    Essentials doesn't have a good API to work with :(
  13. Offline


    Updated to 1.0, though still no /money & /bank commands, any clue what this might be? No console errors either. It just tells me: Unknown console command: type "help" for help.

    And when I turn off buttonwarp the commands return.

    Thanks in advance.

  14. Offline


    Darn, well if you get around to it that would * GREATLY * appreciated.
  15. Offline


    The only reason I was able to support essentials econ was thanks to coding done by Niji
  16. Why would anyone use Essentials Eco :)
    Codisimus likes this.
  17. Offline


    Seems like it needs an update to work :3
  18. Offline


    I'm getting this error ... everything is up to date, i'm using Recommended Build: 953 (MC: 1.7.2)

    2011-07-02 22:23:35 [SEVERE] Error occurred while enabling ButtonWarp v1.0 (Is it up to date?): tried to access field ButtonWarp.Warp.economy from class ButtonWarp.ButtonWarp
    java.lang.IllegalAccessError: tried to access field ButtonWarp.Warp.economy from class ButtonWarp.ButtonWarp
        at ButtonWarp.ButtonWarp.loadConfig(
        at ButtonWarp.ButtonWarp.onEnable(
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(
        at net.minecraft.server.MinecraftServer.e(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.init(
    Any idea?
  19. Offline


    time after time the warps get brocken and anyone that warp there with button got stuck into ground and dies.. why and how to fix it?
  20. Offline


    are you using the latest bukkit build?
  21. Offline


  22. Offline


    hey @Codisimus
    my server has been having random lockups and a few times now my players have said that it has happened at the exact moment they pressed a button warp button, there's nothing in the log so I can't give any more info than that unfortunately, but maybe know that you know there's a problem if you looked you might find the cause?
  23. Offline


    Codismus on my server won't work! Why not? [creeper] [lava]

    >:O It still doesn't work on my server >:O

    :mad: I'm mad now.

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


    This is so amazing! It helped my server so much! It opened the door for so much more stuff I can do!

    Come join my server that has this mod:
    No Hamchi! On From 10,11,or 12 a.m to 10,11, or 12 p.m eastern standard time united states
  25. Offline


    Hey everything sets up correctly but when i go to use it, i get a error,

    22:38:04 [SEVERE] Exception in thread "Thread-30"
    22:38:04 [SEVERE] java.lang.NullPointerException
    22:38:04 [SEVERE] at ButtonWarp.Warp.receive(
    22:38:04 [SEVERE] at ButtonWarp.Warp.access$200(
    22:38:04 [SEVERE] at ButtonWarp.Warp$

    I set it to a test warp at 5 but here is the error I get. any advice?

    I use essentials also and can not get it to work.

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


    Your plugins are kind of runescape-minecraft mix, its great!
  27. Offline


    Getting this error,

    19:47:07 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    19:47:07 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
    19:47:07 [SEVERE] at ButtonWarp.SaveSystem.loadFromFile(
    19:47:07 [SEVERE] at ButtonWarp.ButtonWarp.onEnable(
    19:47:07 [SEVERE] at
    19:47:07 [SEVERE] at
    19:47:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    19:47:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    19:47:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.e(
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.a(
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.init(
    19:47:07 [SEVERE] at
    19:47:07 [SEVERE] at
    19:47:07 [INFO] ButtonWarp 1.0 is enabled!
  28. Offline


    Every time I 'stop' the server and restart it.. My .save gets corrupted or something?
    I'm using build 953.

    14:51:22 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    14:51:22 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
    14:51:22 [SEVERE]     at ButtonWarp.SaveSystem.loadFromFile(
    14:51:22 [SEVERE]     at ButtonWarp.ButtonWarp.onEnable(
    14:51:22 [SEVERE]     at
    14:51:22 [SEVERE]     at
    14:51:22 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    14:51:22 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    14:51:22 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.e(
    14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.a(
    14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.init(
    14:51:22 [SEVERE]     at
    14:51:22 [SEVERE]     at
    14:51:22 [INFO] ButtonWarp 1.0 is enabled!
    14:51:22 [INFO] [ButtonWarp] Successfully linked with Permissions!
    14:51:22 [INFO] [ButtonWarp] Successfully linked with iConomy 5!
    This is my save.
    When I do /bw list, it only shows FRAHFRAH:0, testages:0, I'll try and find out exactly what does this and try to replicate it's behavior each time.

    EDIT: Also when using /bw rl, it duplicates everything :/ (which might be causing the issue in the first place)

    EDIT2: Okay, I've narrowed it down to everytime I make a warp that doesn't warp you (nowarp), after reloading the server it throws out that error up top.
  29. Offline


  30. Offline


    Hey im having problems getting the warping between worlds to work. I make it perfectly and it says you cant take items to another world. I have looked everywhere to try and fix this any ideas?
  31. Offline


    there is a setting in the config to turn that off

Share This Page