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:
it would be awesome if you add bPermissions support just incase if people don't use PEX.
Can you please add bpermissions support? thanks for the great plugin :)
I am using PermissionsBukkit and the SuperpermsBridge v1.2 going to change it because permissionsEx looks like it is updated and stuff. Sorry about asking so much questions :(.
@TomisRomanEmpire
This only supports PermissionsEx, what are you using?
Sorry for bothering you again :( but I am having another problem to do with /bw access.
is the .dat file of the warp and when I try to use it ( I am admin) and the server return this
Really sorry about bothering you probably something I did, but can you check it for me or someone else?
@Codisimus
Thank you ^_^
@Psithief
ok I tested the file you posted and it seemed to work fine, 38 .dat files were created (including contest_puzzle_spawn.dat). try redownloading the dev build, it should work.
@Psithief
can you show me the one save file that didn't get updated? the underscores shouldn't matter. But it must be different than the others in some way. Were there any other errors thrown?
EDIT: nevermind I saw your previous post, i'll check it out
@Codisimus
I tried the latest dev build. 38 warps went in but only 37 warps came out. Is it incapable of saving files with underscores? There's a contest.dat but no contest_puzzle_spawn.dat.
@Codisimus
Here is my file so you can verify it works if need be: http://dl.dropbox.com/u/12865946/Minecraft/ButtonWarp.save.txt
@Psithief
its actually time[0] that I added (and shifted the rest down) You can try the latest dev build, it should work in theory but I can't test it until I find an old save file of mine.
Codisimus,
I'm trying to load an old ButtonWarp.save into version 1.4.1 but I'm getting this error:
java.lang.ArrayIndexOutOfBoundsException: 4 at com.codisimus.plugins.buttonwarp.Button.toString(Button.java:104) at com.codisimus.plugins.buttonwarp.SaveSystem.save(SaveSystem.java:266) at com.codisimus.plugins.buttonwarp.SaveSystem.loadOld(SaveSystem.java:222) at com.codisimus.plugins.buttonwarp.SaveSystem.load(SaveSystem.java:79) at com.codisimus.plugins.buttonwarp.ButtonWarp.onEnable(ButtonWarp.java:53) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:413) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
https://github.com/Codisimus/ButtonWarp/blob/master/src/com/codisimus/plugins/buttonwarp/Button.java
Here's the offending line: string = string.concat(key+"'"+time[0]+"@"+time[1]+"'"+time[2]+"'"+time[3]+"'"+time[4]);
I don't know what time[4] is, but it doesn't seem to be populated from the old save. Can you fix this please?
@bitWolfy
I had it like that but I figured noone had use for it so I simplified it. I'll change it back
Thank you so much for your help. :) It made my life a lot easier I had to write down the warps I made :).
Great plugin, thanks a lot. Could you please divide the buttonwarp.make node into separate nodes? Like
I would like the users in one of the groups to be able to create new buttonwarps without being able to mess up existing ones.
@TomisRomanEmpire
No, just download the latest stable build (1.4.1). I fixed this issue
I am not using any at the moment. Do I have to use it to use this plugin?
@TomisRomanEmpire
wut economy plugin are you using?
I reveived that from typing /bw list on the server. On the client I received internal error occurred while attempting to perform this command can you help me fix it? Thank you for responding I really appreciate it.
Note: the same thing happens when I do /bw info test
@SerUser
Well I know it won't happen with buttons. I have to look at the bukkit source to see if I can get around that feature