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

    Codisimus

    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

    Codisimus

    i didnt know essentials had econ... ya i can proly do that
     
  3. Offline

    Evan Melvin

    What's the syntax for the /reward msg command? It asks me to define a reward, then input the message, but only picks up the first word input.

    i.e.

    "/reward msg test You leave the dungeon"

    Results in "You" being printed when the button is pushed, and that's it.
     
  4. Offline

    Codisimus

    i got rid of that in the most recent update bc it wasnt working... now it just says "5 coins deducted from account" or "5 coins added to account" if people still want the ability to set a custom msg i may bring it back
     
  5. Offline

    MationMac

    Will be downloaded sometime this week.
     
  6. Offline

    Dennis Mejsedal

    Can you make this work with Real Shops Money system?
     
  7. Offline

    Codisimus

    UPDATE!
    • Fixed payment issues
    • Fixed Permission issues

    im looing into it

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

    woodzy

    hay plugin maker can you make it so you can have money taken out od a players account when useing the button?
     
  9. Offline

    Codisimus

    yup its already done... just try setting the reward to a negative amount. For example,
    /reward amount test -5
     
  10. Offline

    woodzy

    ok i have had my server up for some time now
    with permissons and updateding all the time i added the nodes and its tell ing me i
    dont have permisson. im the op/admin/owner
    any ideas?
     
  11. Offline

    Tim Fischer

    i have the same problem...
     
  12. Offline

    Codisimus

    i apologize for this, turns out i forgot an '!' so all the permissions were inversed... anyways i fixed it just redownload v0.3.3
     
  13. Offline

    kenjamen

    Is it possible to just get a reward when pressing the button? Either way this is cool!
     
  14. Offline

    Codisimus

    you can have it teleport you to right infront of the button... but the whole reason it teleports you away is so you can simply keep pressing the button to get more money. i think you should look at my PhatLoots plugin. its proly closer to wut your thinking
     
  15. Offline

    kenjamen

    good point, didn't think that thru
     
  16. Offline

    woodzy

    DUDE i love ur profile pic XD
    TY SO MUCH testing it now!!
     
  17. Offline

    Tim Fischer

    Thank you!
    Works fine
     
  18. Offline

    Bryce

    It doesn't seem to work for my server, not sure if its another plugin interfering with it, or the update I downloaded.
    Version 0.3.3
    When I type /reward link test while looking at the button(after I did /reward make test) it comes up with the message "You must link the Dungeon Reward to a button". Anything i'm doing wrong? [creeper]
     
  19. Offline

    Codisimus

    try targeting it from different spots
     
  20. Offline

    Bryce

    Still not working for me :confused:, tried from 34 different angles/spots while looking directly at it and a few on the block its placed on.
     
  21. Offline

    Codisimus

    when did you download it?
     
  22. Offline

    Bryce

    About 10-15 minutes ago.
     
  23. Offline

    Codisimus

    hmm it should be working... anyone else have this issue?
    wut craftbukkit build are you using?
     
  24. Offline

    Bryce

    I found the code
    if (!mat.equals(Material.STONE_BUTTON)) {
    player.sendMessage("You must link the Dungeon Reward to a button.");
    return;
    }
    Could it be that the material is not named stone_button on my server?
    I'm not sure of this, but it seems its not finding it for me so i'm taking a wild guess

    Uhm, I'm a real New to craftbukkit so.. How to do I check my build version? lol sorry

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

    Codisimus

    why would it not be named that?

    /version

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

    Bryce

    Quoted from the chat
    "This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    This server is also sporting some funky dev build of Bukkit!"
     
  27. Offline

    Codisimus

    you could try updating to the latest recommended build
     
  28. Offline

    Bryce

    Thanks that worked. I feel idiotic, sorry for bothering you lol.
     
  29. Offline

    Codisimus

    dont worry about it im glad i could help
     
  30. Offline

    woodzy

    i have this issue as well CB#556 updated this plugin yesterday
     
  31. Offline

    Codisimus

    well updating craftbukkit fixed it for him but your already at 556... umm any error? did you try targeting it from other places?
     

Share This Page