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

    The easiest way is to keep deleting the errored lines but you will have to recreate those warps...

    @X8105
    @Lykkepillen
    @JoshP95
    @anklesneeze
    @kalez
    @jammasterz
    @NVX
    @MAKroy
    @vongard
    @Duginox
    @VitalViper
    @bobeeb
    @Pegas101
    @gegenwind
    @chrisgun
    @mrjoeman1200
    @kcguy2112

    Finally got a stable build
    @Nickexp
    I got 3 plugins that I will be creating soon I hope. The first one Is a simple plugin that allows players to buy specific chunks so only they can build on them.

    @esuni
    @cvxx7q
    @samw888
    @Eclipse54
    @Keegan
    @kelendo1
    @Duginox
    @Crazyman1569
    @Iswim536
    @xThiieNx
    @Ketrel
    ^^^

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

    Alexi Kantelus

    Yeah now its working, big thanks! :)
     
  4. Offline

    JoshP95

  5. Offline

    Sydael

    Negative values dont work for me. I set them /bw amount test -10
    but it doesnt add or take any money from a player.
     
  6. Offline

    Codisimus

    do positive values work? make sure it is linked to your economy plugin
     
  7. Offline

    X8105

    Thank you good sir, if you ever need further testing...
     
  8. Offline

    Sydael

    Positive valuse work, and add a specified amount of money to account.
    Negative values don't add or take.
     
  9. Offline

    VitalViper

    Thank you very much!
     
  10. Offline

    cvxx7q

    huhwa!?

    :p

    this is like Auto Region Guard = my fav ;) except its so outdated im worried an update will = plugin death, someone has picke dit up but they have moved to sql dependancies :s all crazy now sql is probably good for some ppl but im the kinda person who just likes a txt lol, i will be very! eagerly looking forward to this, the buying thing will save me alot of work since with ARG there is no buying system :s

    please tag or PM me when this does materialize and good luck in your studies ;)

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

    toxin1873

    GREAT PLUGIN I LOVE IT! only one thing tho....it says: button warp failed to load saving is now turned off why is this? im new to all this so yeah ive done somthing wrong
     
  12. Offline

    Codisimus

    your data file is corrupted... if you don't mind remaking the Warps just delete your save file.
     
  13. Offline

    toxin1873

    kk my world glitched...i was experimenting with world edit and suddenly all the grass turn into gold blocks i only put 10 radius aswell so i might need to report tht to thm...thanks anyway!:)
     
  14. Offline

    inkwriter

    I love your plugin, I've been using it on my server, as it's the most reliable warp plugin I've found, it even works multiword! :D

    I do have a request though... You know how you can set if taking items between worlds is allowed or not on warp?
    Well I'd love it if there was an option to set it for each worlds instead of a global switch. This would allow for SO MUCH variety.

    Thanks for reading this, and goodluck with everything you do :)
     
  15. Offline

    Codisimus

    I added this to my todo list. I going to make it so you can set it for each warp individually. This way you can disallow warping with items even to the same world
     
  16. Offline

    inkwriter

    That'd be pretty much amazing. I honestly can't seem to find any better warp plugins, so I'm sticking with yours. Thanks for the quick reply :D
     
  17. Offline

    MagicCoconut

    Okay, what am I doing wrong?
    I just want a button that you can only use if you have enough money. No teleport but a short message.

    I made a button and did the following steps:

    - /bw make test nowarp
    - /bw link test
    - /bw amount 10

    Whenever I press the button the console gives me this report:
    17:23:46 [SEVERE] Could not pass event PLAYER_INTERACT to ButtonWarp
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.CraftServer.getWorld(CraftServer.java:613)
    at com.codisimus.plugins.buttonwarp.Warp.activate(Warp.java:92)
    at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInt
    eract(playerListener.java:58)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:330)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:265)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  18. Offline

    Codisimus

    what version are you using?
     
  19. Offline

    Wiinick

    Puleeeez update this for the newest build. Its the best out there but doesnt work for iconomy. Also adding a warmup time woud be freakin fantastic
     
  20. Offline

    Codisimus

    it is updated, follow it on the Bukkit Dev page at http://dev.bukkit.org/server-mods/buttonwarp/
     
  21. Offline

    Wiinick

    oh well it says 953, thanks, well i cant get it to work with econemy. Doesnt take money. So any advice on that. Build 1317
     
  22. Offline

    mahari3

    i used this on a previous server of mine, it worked great. i really wish you would update it though... oh and look into this small (actually its a big problem) problem:
    when i teleported it made my original world... odd, i started getting pieces of the other worlds pasted into my original... please see if this plugin is what was causing it?
     
  23. Offline

    wankerpants

    There is no forun on your dev.bukkit.org site. How are we to ask questions and such? The main page comments?


    Will you be adding superpermbridge support or permissionbukkit support? Cool plugin, but i'm not changing permissions again just to use it.
     
  24. Offline

    Crisssss

    Thanks a lot for last update ;)
    gg to u for new save format !
     
  25. Offline

    Dan_Dano

    Error (404)
    We can't find the page you're looking for. Check out our FAQ or forums for help. Or maybe you should try heading home.
     
  26. Offline

    VitalViper

    Any idea if you will be updating this? I use it for my starting area and it stopped working after 1.0.0 (bukkit)
     
  27. Offline

    xLiaMz

    Got an error when trying to set the access to a certain group... Whats wrong?
    29.11 17:28:33 [Server] INFO ... 16 more 29.11 17:28:33 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 29.11 17:28:33 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) 29.11 17:28:33 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 29.11 17:28:33 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) 29.11 17:28:33 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 29.11 17:28:33 [Server] INFO Caused by: java.lang.ClassNotFoundException: ru.tehkode.permissions.PermissionManager 29.11 17:28:33 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 29.11 17:28:33 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) 29.11 17:28:33 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) 29.11 17:28:33 [Server] INFO at net.minecraft.server.Packet15Place.a(SourceFile:39) 29.11 17:28:33 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592) 29.11 17:28:33 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266) 29.11 17:28:33 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) 29.11 17:28:33 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330) 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.listeners.playerListener.onPlayerInteract(playerListener.java:58) 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.Warp.activate(Warp.java:84) 29.11 17:28:33 [Server] INFO at com.codisimus.plugins.buttonwarp.Warp.hasAccess(Warp.java:153) 29.11 17:28:33 [Server] INFO java.lang.NoClassDefFoundError: ru/tehkode/permissions/PermissionManager
     
  28. Offline

    Dex3D

  29. Offline

    Codisimus

    Fixed.
    Yes, Version 1.5.2 is out
    Fixed in 1.5.2
    When I get my website set back up I'll be sure to post it on there. Thanks!
     
  30. Offline

    Insanehero


    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
    
     
  31. Offline

    Codisimus

    @Insanehero
    Thanks for discovering this, It has been fixed in Version 1.5.5
     

Share This Page