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

    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

    • /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:

    • 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

    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

    This post has been edited 1 time. It was last edited by Codisimus Oct 7, 2011.
  2.  
  3. Offline

    Insanehero

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

    Hey Codisimus,

    I seem to be having a few errors with your plugin. These errors have been happening for quite some time now (1-2months). I had my developer look at your code to find the source of the error but he can't seem to fix it. So my last resort is to you.

    I am currently running the latest RB and Buttonwarp. Yes, there error still was happening before I had RB and buttonwarp, infact it was happening way back in #953.


    Its not just that certain buttonwarp is all of them. This is just one of them.

    Basically, this error happens about 1-4 hours after the server starts. It happens when a player hits any button after a certain amount of time. It seems as though when a player hits a button its opening more files than it should be. So after a while, lets say 100 buttonclicks, the server crashes because of all the files. I've tried reinstalling, reconfiguring, and redoing all the warps countless times. Nothing seems to work. I hope you can help me.

    Thanks :D
    Code:
    2011-12-08 16:08:49 [SEVERE] [ButtonWarp] Save Failed!
    2011-12-08 16:08:49 [SEVERE] java.io.FileNotFoundException: plugins/ButtonWarp/HumanShip.dat (Too many open files)
    2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.open(Native Method)
    2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    2011-12-08 16:08:49 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
    2011-12-08 16:08:49 [SEVERE]    at com.codisimus.plugins.buttonwarp.SaveSystem.save(SaveSystem.java:274)
    2011-12-08 16:08:49 [SEVERE]    at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInteract(playerListener.java:61)
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    2011-12-08 16:08:49 [SEVERE]    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    2011-12-08 16:08:49 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-08 16:08:49 [SEVERE] net.minecraft.server.MinecraftException: Failed to check session lock, aborting
    

    This post has been edited 2 times. It was last edited by Insanehero Dec 16, 2011.
  4. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Insanehero
    Thanks for discovering this, It has been fixed in Version 1.5.5
  5. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks man! Your the best!
  6. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Button times seem to be broken in 1.5.5 :L
  7. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ya i accidently broke it copying and pasting code, fixed in 1.5.6
  8. Offline

    Smokie23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you adjust the "You must wait to use that again" to "You must wait <time remaining> to use that again" so players know how long they have to wait before they can use it.
    This is exactly the plugin I been searching for!

    This post has been edited 1 time. It was last edited by Smokie23 Dec 25, 2011.
  9. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have already done that. Make sure you are using the latest version.
  10. Offline

    Prismavolt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    when i put the .jar file in my plugins folder and started my server, they said 'could not load plugins\buttonwarp.jar in folder 'plugins' : Vault' PLEASE HELP!!! D:
  11. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    install the plugin vault. it needs it to work
  12. Offline

    aalleexxx5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i can't make it work on my server...it is like the plugin never was installed. If i type "/plugins" it says: "dungon reward, iconomy, izone, bukkit compat, permissions, tntminer, chestshop" i cant type/bw or /bw make (any name), it just shows unknown command. type "help" for help.
  13. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    make sure you have the plugin vault installed
  14. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Loooool 2012 broke it. All buttons are saying you gotta wait 363 days.

    This post has been edited 1 time. It was last edited by Insanehero Jan 1, 2012.
  15. Offline

    Codisimus

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

    Mike1665

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Doesnt Work!!!! I Install and i do /pl Doesnt show up and when i do /bw It says unknown Command!

    This post has been edited 1 time. It was last edited by Mike1665 Jan 2, 2012.
  17. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    you have to install Vault
  18. Offline

    adde

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just wondering, is there a teleporter plugin that gives you permissions that you configure per teleporter?
  19. Offline

    SuperPyroManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Error im getting with /bw make

    Code:
    2012-02-03 22:21:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bw' in plugin ButtonWarp v1.6.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:178)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.IncompatibleClassChangeError: Expecting non-static method ru.tehkode.permissions.bukkit.PermissionsEx.has(Lorg/bukkit/entity/Player;Ljava/lang/String;)Z
    at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:83)
    at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:78)
    at com.codisimus.plugins.buttonwarp.ButtonWarp.hasPermission(ButtonWarp.java:185)
    at com.codisimus.plugins.buttonwarp.listeners.CommandListener.onCommand(CommandListener.java:105)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 14 more
  20. Offline

    bonani

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry for a stupid question, but; is it possible to bind the button to any command? Not only set prices and stuff, but for example /plot claim with Towny?
  21. Offline

    CKSpoiler

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, could you please update to R5? :)
  22. Offline

    martin143

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It does not work. It will not unzip the file.:(
  23. Offline

    prueck902

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    PLeas update the plugin to 1.2.3!!!
    I am dieng!!!!!
  24. Offline

    Roervig2473

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it should work
  25. Offline

    DiamondServers

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    my server is not reading the plguin at all:/
  26. Offline

    Kraftbefehl98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    VERY COOL PLUGIN, but "cost" doesn`t work. :(
  27. Offline

    melone99

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does it work on 1.2.5 ore 1.2.4?
    Matze97x likes this.
  28. Offline

    Matze97x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Awesome!! :) please make a Rank system for PEX group changing by pressing a button!! (sry im germ :p)
  29. Offline

    fischilii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    can i use it for minecraft version 1.2.5 ?
  30. Offline

    Matuggertug

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    please update to 1.2.5 :D
    Jdwede likes this.
  31. Offline

    User234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When I go to the link I will get a Dropbox 404 error!
    So is it another site i can download ButtonWarp?
  32. Offline

    Silentc0r3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    why do my normal players with no rank have permission to use a bw that I placed?

Share This Page