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

    Pippin

    Hmmm when I do /bw msg <name> blah blah blah
    It works. But if I reload my server.. it dissappears.
     
  3. Offline

    Ross Gosling

    i dont even know what that is =/
     
  4. Offline

    Codisimus

    in the config, set it to true
     
  5. Offline

    Ross Gosling

    Urm this is what my config looks like, is it supposed to look so random?

    I used a word search and theres no 'op' in it
     
  6. Offline

    Codisimus

    well this isn't the config.properties file
     
  7. Offline

    Ross Gosling

    its the only file in the buttonwarp folder :confused:
     
  8. Offline

    Codisimus

    in that case the plugin shouldn't work at all...
    EDIT: Whoops my mistake... I thought we were talking about a different plugin. I'm sorry I'll add your request right away
     
  9. Offline

    Ross Gosling

    Ok i've now redownloaded it and it has a config
     
  10. Offline

    aheath4

    heyy great plugin. one thing when we use the warp we are sometimes tp'd underneath the map and it kills us? any suggestions? or is it just a bug :)
     
  11. Offline

    tr0y

    This keeps happening.
    At some point some buttons stop working and I can't link/unlink them. Seems like it's only happening for a random chunks. Other buttons in other areas of the map work. Is it because I have many buttons? :) Reload fixes the issue (until it comes back again) but we've got many players and reload takes a long time and disrupts gameplay :(

    Upd:
    It's always the same buttons that break :(

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

    dak393

    Is it all right with you if I add your plugin to CBUTD?
     
  13. Offline

    Codisimus

    @tr0y
    This happens with a few plugins, not just mine, and I've been trying to figure out why. I think it is a bukkit issue but can't find a solution. For now all I can say is to try to avoid putting buttons in those chunks.
    Isn't it already? If not I am actually changing my download links soon so it might only last for one update.
     
  14. Offline

    dak393

    ok perfect I believe they were at one point (I know you ment to) but now button warp is not listed (think its just that one that is not listed(probably due to the name change)) :)
     
  15. Offline

    Cenarius

    works like MAGIC !!
    thanks for your help and sorry for the late reply .. internet problems xD
     
  16. Offline

    tr0y

    Maybe you can implement a separate reload command for your plugin so I can restart just ButtonWarp?

    I have just figured that you cannot teleport to/from regions where that happens.
    The error is "Hole in Floor"

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

    Codisimus

    @tr0y I could add a reload command to this but I'm guessing it won't work since I'm pretty sure it is bukkit that needs to be reloaded. However, if it does work I suppose I could have it autoreload every once in a while.
     
  18. Offline

    dak393

    That would be a chunk load error and reloading the plugin would not help. There are plugins that reload chunks and reconnecting should fix the error :)
     
  19. Offline

    tr0y

    dak reconnecting will not help. It happens for every1, not for 1 person.
     
  20. Offline

    dak393

    you are talking about a user using a button warp and in the new location they are warped to they are trapped in a hole and can't move? Because that sounds like a chunk load error which can be remedied by the affected user disconnecting and then reconnecting to the server.
     
  21. Offline

    tr0y

    This is not what I'm talking about and that error is fixed in #860
     
  22. Offline

    dak393

    not entirely fixed, well ok hope you get it worked out :)
     
  23. Offline

    Ratchet

    hey Cod,

    I've been getting this error and my server has been crashing and i've been unable to figure out what was causing it:
    Code:
    2011-06-22 21:42:29 [SEVERE] java.util.ConcurrentModificationException
    2011-06-22 21:42:29 [SEVERE]     at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-06-22 21:42:29 [SEVERE]     at java.util.AbstractList$Itr.next(Unknown Source)
    2011-06-22 21:42:29 [SEVERE]     at java.util.AbstractCollection.removeAll(Unknown Source)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.Chunk.removeEntities(Chunk.java:476)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:241)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.World.doTick(World.java:1599)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-22 21:42:29 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-22 21:42:29 [SEVERE] Unexpected exception
    java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
        at java.util.AbstractList$Itr.next(Unknown Source)
        at java.util.AbstractCollection.removeAll(Unknown Source)
        at net.minecraft.server.Chunk.removeEntities(Chunk.java:476)
        at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:241)
        at net.minecraft.server.World.doTick(World.java:1599)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    one of my players said it happened exactly after they pressed a button to warp someplace, I don't know for sure it's buttonwarp of course but just wanted to let you know and see if you can look into it if it's possible.

    thanks
     
  24. Offline

    Codisimus

    @Ratchet
    hmm doesn't really look like it is related to ButtonWarp (or any other plugin for that matter) so I guess it could be anything.
     
  25. Offline

    iFuze

    Thx for the plugin, work just great.
     
  26. Offline

    Rizz95

    I have essentials on my server and when people try to use the button it say they dont have the permission to use it. Please help.
     
  27. Offline

    morizuki

    i tried putting amount in warp but the players can still go to the warp like it's free...
     
  28. Offline

    tr0y

    Admin? there's a freepass permission which you obv have.
     
  29. Offline

    morizuki

    no i mean i tried setting a cost in warp, but the players can still warp without losing some money..
     
  30. Offline

    tr0y

    Negative amount?
     
  31. Offline

    MrCamping

    Very interesting :D
    Is there a way, to make a player get a reward only once?
     

Share This Page