ButtonWarp
This plugin is no longer being updated, check back in a few months for more information!
Version 2.2.2
NOTE: This plugin requires you have Vault enabled on your server
This plugin is used to reward a player with money for reaching a certain region of the world.
When the Player presses a linked button or stands on a linked pressure plate they will teleport and receive money.
Warps can also be set to take money instead of give it (pay to warp)
This can also be used to charge players to press a button (to activate redstone)
Features:
- Supports all major Economies and Permission Plugins thanks to Vault
- You can customize what command this plugin uses by editing the plugin.yml (found inside the plugin jar file)
- MultiWorld support
- Configurable properties
- Easily edit Warps in game or from the save file
- Custom messages
- Displays time remaining until Player can use the Button of the Warp again
- Supports Buttons, Switches, Pressure plates, and Detector Rails
- Money can be given or taken when activating a Warp
- Commands can be executed when activating a Warp
- Different reward values can be set to different Warps
- Warps can be set to not teleport you anywhere but simply charge money to use a Button
- Option to deny warping if the Player is carrying items
- Optional Warp delay where Players must stand still
- Optional cool down including cool down type and cool down time
- List Warps and Warp info
- Link Warp to Player's Money or a Bank Account
- Reset individual Buttons, all Buttons linked to a Warp, or all Buttons linked to every Warp
Permission Nodes:
Commands:
Tutorials:
Setup:
- Make a Warp (stand where you want the Warp to take you to)
- /bw make test
- Link a button (or pressure plate)
- /bw link test (you must be targeting the button you wish to link)
- Add a reward (target a linked Chest or add the PhatLoots name like so "/bw reward test 100")
- /bw reward 100 (warper will get 100 currency)
- Add a message (the message will be displayed to the warper)
- /bw msg test Congrats! Here is 100 coins, You have been warped back to the Spawn.
- Set a cooldown time
- /bw time 1 6 45 30 (Player will not be rewarded more money until waiting 1 day, 6 hours, 45 minutes, and 30 seconds.)
Video:
Use Custom Command Instead of /bw
How to receive support
ThyCelestia handles most of the In-Game support for this plugin, so when he Joins your server, do not call him out as a fraud trying to gain Permissions, he is seriously there to help with the Plugin.
How to get him to Join your server: There is an template below, use it to tell us your In-Game name, Server IP and issues you are having, Please inform your staff that ThyCelestia may be joining within the next few days and do not ban him for trying to help.
Application: In-Game Name:
What time you are online(Include TimeZone):
Issue you are having with our Plugin:
-
View User Profile
-
Send Message
Posted Jan 15, 20132.1.2 is mainly buggy, and downgrading is no longer possible :/
could you please fix all the issues that persist?
-
View User Profile
-
Send Message
Posted Jan 15, 2013@Codisimus we still have problems with bw 2.1.2 sometimes we got a chunkload error by warping to another world. if the chunk in the other world is offline, we got the chunkload error and sometimes the server is crashing because of this. if you need the full java error or crash report, feel free to conact me we use buttonwarp with multiverse and nolagg, hope this helps
-
View User Profile
-
Send Message
Posted Jan 14, 2013I Use Bukkit 1.4.6r0.3 and ButtonWarp v 2.1.2
13:47:21 [WARNUNG] Could not properly handle event PLAYER_TELEPORT: java.lang.IllegalAccessError: Synchronized code got accessed from another thread : java.util.concurrent.ThreadPoolExecutor$Worker at org.bukkit.event.NLTCListener.onPlayerTeleport(NLTCListener:0) at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer.teleport(CraftPlayer .java:369) at org.bukkit.craftbukkit.v1_4_6.entity.CraftEntity.teleport(CraftEntity .java:189) at com.codisimus.plugins.buttonwarp.Warp.asyncTeleport(Warp.java:418) at com.codisimus.plugins.buttonwarp.ButtonWarpCommand$1.run(ButtonWarpCo mmand.java:100) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java: 53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsync Task.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 13:47:21 [INFORMATION] This error is logged only once: it could have occurred mu ltiple times by now. 13:47:21 [INFORMATION] Potential failures may occur in other plugins handling th is Event. 13:47:21 [INFORMATION] Please contact one of the authors of plugin 'ButtonWarp': Codisimus
-
View User Profile
-
Send Message
Posted Jan 13, 2013Actually now that I peruse through my past 8 crash reports within the past month... They all point to your plugin. I did some light research and as a shot in the dark, it sounds like there's an async event happening that's killing the main thread from Button Warp.
EDIT: Did more looking around and it's starting to look like that teleporting is not thread-safe.
-
View User Profile
-
Send Message
Posted Jan 13, 2013This ArrayIndexOutOfBounds error in console was thrown and as a result my server threw a ticking entity ConcurrentModificationException error and crashed my entire server:
2013-01-13 18:39:26 [SEVERE] Exception in thread "pool-1-thread-72" 2013-01-13 18:39:26 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin ButtonWarp v2.1.2 generated an exception while executing task 15465 at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ArrayIndexOutOfBoundsException: 70 at java.util.LinkedList.toArray(LinkedList.java:1040) at java.util.LinkedList.addAll(LinkedList.java:406) at java.util.LinkedList.addAll(LinkedList.java:385) at net.minecraft.server.v1_4_6.EntityPlayer.copyTo(EntityPlayer.java:649) at net.minecraft.server.v1_4_6.PlayerList.moveToWorld(PlayerList.java:339) at org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer.teleport(CraftPlayer.java:392) at org.bukkit.craftbukkit.v1_4_6.entity.CraftEntity.teleport(CraftEntity.java:189) at com.codisimus.plugins.buttonwarp.Warp.asyncTeleport(Warp.java:418) at com.codisimus.plugins.buttonwarp.Warp$1.run(Warp.java:184) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
2013-01-13 18:39:26 [SEVERE] net.minecraft.server.v1_4_6.ReportedException: Ticking entity 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:584) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 2013-01-13 18:39:26 [SEVERE] Caused by: java.util.ConcurrentModificationException 2013-01-13 18:39:26 [SEVERE] at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953) 2013-01-13 18:39:26 [SEVERE] at java.util.LinkedList$ListItr.next(LinkedList.java:886) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.EntityPlayer.j_(EntityPlayer.java:148) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1334) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:548) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1315) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1193) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:445) 2013-01-13 18:39:26 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:580) 2013-01-13 18:39:26 [SEVERE] ... 4 more 2013-01-13 18:39:26 [SEVERE] Encountered an unexpected exception ReportedException net.minecraft.server.v1_4_6.ReportedException: Ticking entity at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:584) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953) at java.util.LinkedList$ListItr.next(LinkedList.java:886) at net.minecraft.server.v1_4_6.EntityPlayer.j_(EntityPlayer.java:148) at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1334) at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:548) at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:445) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:580) ... 4 more
-
View User Profile
-
Send Message
Posted Jan 12, 2013Can you add mysql support?
-
View User Profile
-
Send Message
Posted Jan 6, 2013@kbryantLA24
You need to regenerate the config file like it tells you to above the error message.
@gepardo43
I already fixed this error for the next update.
@Toxicminers
I just recently switched to PermissionsBukkit myself. Once I actually set it up correctly it worked as intended besides the inheritance. So if "lord" inherits "citizen" then if I want to allow citizens and lords I will have to set the access to "citizen,lord". Not sure that there is much more I can do to fix the inheritance... Is the access feature working at all? like if you set it to "default" does it allow the "default" group?
@BlockyDigital
You need to regenerate your config file and also you need to give players the buttonwarp.use permission node
-
View User Profile
-
Send Message
Posted Jan 6, 2013What am I doing wrong?
2:53:36 PM [SEVERE] Could not pass event PlayerInteractEvent to ButtonWarp v2.1.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at
org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFac
tory.java:178)
at
net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInteractManager.java:376)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:657)
at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at org.bukkit.craftbukkit.v1_4_6.TextWrapper.wrapText(TextWrapper.java:10)
at net.minecraft.server.v1_4_6.PlayerConnection.sendPacket(PlayerConnection.java:750)
at org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:129)
at org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer.sendMessage(CraftPlayer.java:134)
at com.codisimus.plugins.buttonwarp.ButtonWarpListener.onPlayerInteract(ButtonWarpListen er.java:131)
at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 16 more
Please Help! OPs can use them, but default players makes these errors. :(
-
View User Profile
-
Send Message
Posted Jan 5, 2013Hello recently testing this plugin out getting ready to put it live. I am having one hiccup that is stopping us. I can create warps etc I am OP I can use them. A default user can use them as well they have the bw.use perm node. I am running permissionsbukkit. When I try to add an access to the button it says you don't have access rights to this warp. I have tried different groups setting the inheritance to false back to true, every which way I can think of can't get the access to work. We are planning on having different buttons to different areas for donors etc. I tried bw.use.(test) perm node but that didn't make a difference. Is there a way I will be able to restrict different groups from using the buttons? I don't run essentials and don't plan on it. It says support for every permissions system but somehow it isn't recognizing my PermissionsBukkit groups. Any help would be greatly appreciated.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@Codisimus
Weird error: http://pastebin.com/wCVvjyPe
-
View User Profile
-
Send Message
Posted Jan 5, 2013Your latest dev build throws this error on server start:
2013-01-05 03:13:32 [SEVERE] [ButtonWarp] Failed to load ButtonWarp 2.1.2 2013-01-05 03:13:32 [SEVERE] java.lang.NullPointerException 2013-01-05 03:13:32 [SEVERE] at com.codisimus.plugins.buttonwarp.ButtonWarpMessages.format(ButtonWarpMessages.java:55) 2013-01-05 03:13:32 [SEVERE] at com.codisimus.plugins.buttonwarp.ButtonWarpMessages.formatAll(ButtonWarpMessages.java:35) 2013-01-05 03:13:32 [SEVERE] at com.codisimus.plugins.buttonwarp.ButtonWarp.onEnable(ButtonWarp.java:117) 2013-01-05 03:13:32 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2013-01-05 03:13:32 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2013-01-05 03:13:32 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2013-01-05 03:13:32 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:278) 2013-01-05 03:13:32 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:260) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) 2013-01-05 03:13:32 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 2013-01-05 03:13:32 [INFO] [ButtonWarp] ButtonWarp 2.1.2 (Build 591) is enabled!
-
View User Profile
-
Send Message
Posted Jan 4, 2013@Codisimus
what version of essentials should I download?
-
View User Profile
-
Send Message
Posted Jan 4, 2013what version of essentials should I download?
-
View User Profile
-
Send Message
Posted Jan 4, 2013@hehehehe123123
@holyone801
if you upgraded to the new essentials then it is causing your problem
-
View User Profile
-
Send Message
Posted Jan 4, 2013Permission System not working???
I added them a Perm node but they can access the button , pressure plates or level and etc,
-
View User Profile
-
Send Message
Posted Jan 3, 2013What am i doing wrong .. since the permissions dosen“t seems to work ..
i cant even use BW when i am OP !
i am using bPermissions !! chers
-
View User Profile
-
Send Message
Posted Jan 3, 2013It work on 1.4.6...
-
View User Profile
-
Send Message
Posted Jan 2, 2013Any known time when the new version will be up with the new warping sound? V2.1.2 ?
-
View User Profile
-
Send Message
Posted Jan 2, 2013Meh, some buttons work they way i want to, others are eff .. for example a few buttons that broadcast a message. I do that exact same order of commands aside form changing the name of the button and the broadcast message i linked them up correctly.. i doubled checked, one work and has the 5 sec default cooldown i made.. the other worked once and hasent seemed to work again.. it dident work on the first try nor is it displaying a cooldown message...
I made another button with a hour cooldown, made it global... and well it awards money and the msg but does not activate the cooldown... users can spam it and get infinite monies!..
i checked the button info and list everything i told it too. i just upgraded to 2.1.2 It does not spit any errors in my console.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@Codisimus
did not work neither