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

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Dyramisty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
     
  3. Offline

    Hitman4Hire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could you add a feature that allows a button to teleport someone to their /sethome
     
  4. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    UPDATE!

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

    Hitman4Hire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Aww no essentials /home support?
     
  6. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Essentials doesn't have a good API to work with :(
     
  7. Offline

    Dyramisty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    CB:935
     
  8. Offline

    Hitman4Hire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Darn, well if you get around to it that would * GREATLY * appreciated.
     
  9. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The only reason I was able to support essentials econ was thanks to coding done by Niji
     
  10. Offline

    tr0y

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Why would anyone use Essentials Eco :)
     
    Codisimus likes this.
  11. Offline

    Zeeky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Seems like it needs an update to work :3
     
  12. Offline

    Alesana

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm getting this error ... everything is up to date, i'm using Recommended Build: 953 (MC: 1.7.2)

    Code (Text):
    1. 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
    2. java.lang.IllegalAccessError: tried to access field ButtonWarp.Warp.economy from class ButtonWarp.ButtonWarp
    3.     at ButtonWarp.ButtonWarp.loadConfig(ButtonWarp.java:111)
    4.     at ButtonWarp.ButtonWarp.onEnable(ButtonWarp.java:41)
    5.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    6.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    7.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    8.     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    9.     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    10.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    11.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    12.     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    13.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    14.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Any idea?
     
  13. Offline

    dzekins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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?
     
  14. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    are you using the latest bukkit build?
     
  15. Offline

    dzekins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    935
     
  16. Offline

    Ratchet

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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?
     
  17. Offline

    p67738

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Codismus on my server won't work! Why not? [creeper] [lava]
     
  18. Offline

    p67738

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    >:O It still doesn't work on my server >:O
     
  19. Offline

    p67738

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    :mad: I'm mad now.
     
  20. Offline

    Scusemua

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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:

    24.250.113.74:25565
    No Hamchi! On From 10,11,or 12 a.m to 10,11, or 12 p.m eastern standard time united states
     
  21. Offline

    MegaMan_Juno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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(Warp.java:318)
    22:38:04 [SEVERE] at ButtonWarp.Warp.access$200(Warp.java:19)
    22:38:04 [SEVERE] at ButtonWarp.Warp$1.run(Warp.java:110)

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

    MegaMan_Juno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I use essentials also and can not get it to work.
     
  23. Offline

    rolandostar

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Your plugins are kind of runescape-minecraft mix, its great!
     
  24. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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(SaveSystem.java:41)
    19:47:07 [SEVERE] at ButtonWarp.ButtonWarp.onEnable(ButtonWarp.java:42)
    19:47:07 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    19:47:07 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    19:47:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    19:47:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    19:47:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    19:47:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    19:47:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    19:47:07 [INFO] ButtonWarp 1.0 is enabled!
     
  25. Offline

    Ikkyino

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Every time I 'stop' the server and restart it.. My .save gets corrupted or something?
    I'm using build 953.

    Code (Text):
    1. 14:51:22 [INFO] [ButtonWarp] Load failed, saving turned off to prevent loss of data
    2. 14:51:22 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
    3. 14:51:22 [SEVERE]     at ButtonWarp.SaveSystem.loadFromFile(SaveSystem.java:41)
    4. 14:51:22 [SEVERE]     at ButtonWarp.ButtonWarp.onEnable(ButtonWarp.java:42)
    5. 14:51:22 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    6. 14:51:22 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    7. 14:51:22 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    8. 14:51:22 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    9. 14:51:22 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    10. 14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    11. 14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    12. 14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    13. 14:51:22 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    14. 14:51:22 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15. 14:51:22 [INFO] ButtonWarp 1.0 is enabled!
    16. 14:51:22 [INFO] [ButtonWarp] Successfully linked with Permissions!
    17. 14:51:22 [INFO] [ButtonWarp] Successfully linked with iConomy 5!
    18.  
    19.  
    This is my save.
    Code (Text):
    1. FRAHFRAH;;0;ikkyino;world;-338.26678139369784;52.0;-285.77737595668316;7.949937;116.69653;none;user;world,-334,53,-285,ikkyino,187'14'47'34,~;
    2. testages;;0;server;world;-346.4490329126073;52.0;-288.15347120526025;10.649938;73.34654;none;user;;
    3. testages2;;0;server;;;;;;none;user;;
    4.  
    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.
     
  26. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  27. Offline

    KINGOFYOU

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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?
     
  28. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    there is a setting in the config to turn that off
     
  29. Offline

    Fuzetsu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hey could u update this and phatloot? i really want them on my server ;P thanks.
     
  30. Offline

    Codisimus

    My BukkitDev Profile
    My Plugins (12)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I just updated them, is something not working?
     
  31. Offline

    Fuzetsu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it says that its not up to date :eek:
     

Share This Page