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

    Cenarius

    i dunno if this was suggested before ..
    may i suggest to add a future to take money from player "A" and give it to player "B" ?
    is it possible :D
    that could come in handy ^_^
    thanks :)
     
  3. Offline

    anklesneeze

    Is there a way to have a time limit for after the warp? then execute another warp after the time is up. To give limited time access to a certain area? I have a idea to have ppl pay to access a reward maze area and after so many minute they get teleported out...
     
  4. Offline

    Codisimus

    /bw source [Name] [Player] - Gives/Takes money from Player
    should be easy enough to add.
     
  5. Offline

    Cenarius

    aw so if i made bw source "something" A 5000 it'll take 5000 from player "B" (the one who presses that button) and give it to player A ?
    cause i thought it only takes money or gives money to player A ...
    but thanks it's clear right now :D
    i'll try it and figure the rest out ^_^
    thank you :D
     
  6. LOVE the Mod/Plugin!! [diamond][diamond][diamond] for you!

    Two quick questions tho.

    1) Is it set up to limit player rewards to say 1 time use but still warp them away?

    2) Again, I Love the mod/plugin, but we dont use any Economy plugins. We would love to use it to give a play say 2 diamonds?

    Are either one of those possible with the current version if not was it available in any older versions?

    Thanks again!!

    -TP
     
  7. Offline

    Codisimus

    maybe try using my plugin PhatLoots
     
  8. Offline

    tr0y

    Hey, any chance to see source for it?
     
  9. Offline

    Codisimus

    for this or PhatLoots?
     
  10. Offline

    tr0y

    This and Turnstiles and PVPreward :)
     
  11. Offline

    Codisimus

    Source for PvPReward (as well as PhatLoots) is available on the download page, I will release the sources for ButtonWarp and Turnstile with their next updates
     
  12. Offline

    tr0y

    We'd love the current version as well. We're big fans already, just need to add one feature. Pretty please? :D
     
  13. Offline

    Codisimus

    when I release sources I release it for every single version. wut feature are you going to add? maybe I should just add it myself, then You want have to update every version
     
  14. Offline

    tr0y

    It's very simple. Right now we already have it working and I just wanted to add it to your plugin so we don't have to have two plugins for pretty much the same.
    Btw, /bw unlink doesn't seem to work for me :D
     
  15. Offline

    Codisimus

    I'll test that out. And just ask if you don't understand some of the code... I still need to get around to commenting methods and such
     
  16. Offline

    Ross Gosling

    How do you charge players for using the button???
     
  17. Offline

    tr0y

    set the price for the warp, i think it's the /bw amount
     
  18. Offline

    Ross Gosling

    but it gives them money =/
     
  19. Offline

    Codisimus

    to charge you set it to a negative value
     
  20. Offline

    Ross Gosling

    i tried that and it didnt reduce or add money
     
  21. Offline

    Cognito guy

    I just don't understand what I did wrong.
    This happens after the first startup:

    After I reload it just stays the same :(

    ("Het systeem kan het opgegeven pad niet vinden" means: "The system can not find the specified path")
     
  22. Offline

    Codisimus

    You need to create the /lib folder, the next version will do this automatically
     
  23. Offline

    Cognito guy

    thanks for the fast response but: where do I need to create this?
     
  24. Offline

    Codisimus

    where you see the plugins folder there should also be a lib folder
     
  25. Offline

    Cognito guy

    Wow thanks a lot!
     
  26. Offline

    tr0y

    Hey, unlinking doesn't work for me for some reason. It says it worked ok but the button still works and i can't link it to another warp :(
     
  27. Offline

    Codisimus

    I found the problem and fixed it, I have to go to work now but should be able to update afterwards
     
  28. Offline

    tr0y

    Awesome, can't wait
     
  29. I have a problem with /bw source!
    Every time i type /bw source Test Trader it shows me the help-menu!
     
  30. Offline

    tr0y

    Any update? :)
     
  31. Offline

    Codisimus

    my mistake, thanks for finding this error
    I fixed unlinking and will update once I move things over to my new website
     

Share This Page