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 Nov 6, 2011@Codisimus
Yes it is
Should I change it?
-
View User Profile
-
Send Message
Posted Nov 5, 2011@SerUser
is it by any chance with a linked pressure plate?
-
View User Profile
-
Send Message
Posted Nov 5, 2011Hi just got the plugin, When i used a warp it kicked me for moving too fast. any fix? (But the warp still worked!) Using the new 1.4.0 version.
-
View User Profile
-
Send Message
Posted Nov 5, 2011@GmK1
That shouldn't happen with the new save format I've implemented
-
View User Profile
-
Send Message
Posted Nov 5, 2011@alphaglenni
Sorry I won't be adding the private warp feature, maybe you can use my Turnstile plugin for that
@mafima
@blasterweb
I added the 'portmaximum' feature (Players can Warp a certain amount of times during the reset time)
-
View User Profile
-
Send Message
Posted Nov 5, 2011@KINGOFYOU
@Psithief
I'm sure by now both of you are subscribed to this project but I just thought I'd let you know that there is an update. I did all the testing I can think of so it is definitely stable. Also added new features like a maximum number of warps per reset.
-
View User Profile
-
Send Message
Posted Nov 4, 2011@Psithief
I want to add that as an option but have no experience with databases. I'll see wut I can do but not until this is stable
-
View User Profile
-
Send Message
Posted Nov 4, 2011@KINGOFYOU
I am proly just going to stick with android apps since they are in java. But anyways I just need to do some testing and then I can update this (and PhatLoots and Turnstile and ChestLock) proly will get those updated tonight as long as there isn't any big issues. the rest of my plugins should follow shortly
-
View User Profile
-
Send Message
Posted Nov 4, 2011Please oh please get this working soon. Even if you quit your study and work on it full time :D Anyways. Have you considered making money from making applications for the iPhone. I am doing that atm but using a language called C#. Very productive method for young programmers to be seen.
Java is very useful especially if you use Unity. What coarse are you taking to learn Java?? Very interested myself to expand the languages I know. I am also keen in making plugins too although need a hand with the technical side of it.
Other than that carry on. I am still watching and always will be. I tried your Phatloots plugin and found it nice although had a few issues that I thought were on my side.
Keep it up!
-
View User Profile
-
Send Message
Posted Nov 1, 2011@Codisimus
Well, if you're going for bulletproof, could you perhaps add a (My)SQL backend option? The one defined in bukkit.yml would be fine.
Here, I even have tables for you. If you use this naming pattern you'll be able to use a NATURAL JOIN instead of INNER JOIN. Natural joins are awesome, no more ambiguous field errors.
-
View User Profile
-
Send Message
Posted Nov 1, 2011Thank you guys! it worked!
-
View User Profile
-
Send Message
Posted Oct 31, 2011@Psithief
I decided I'm going to change the save format again...
I going to make it more like how it is in my PhatLoots mod. It's easier to read and understand and harder to incorrectly load
-
View User Profile
-
Send Message
Posted Oct 31, 2011@RebDog75
you are using an outdated version of this plugin
-
View User Profile
-
Send Message
Posted Oct 31, 2011@Codisimus
Well good luck with that.
I found another issue, the hashmap.toString representing the people who have used the button is being saved to the warps.save with each key missing a one or more characters off the end.
e.g. {Codismu==[I@8217211}
This does not always happen, so a player can be represented erroneously and properly on the same line in the warps.save.
-
View User Profile
-
Send Message
Posted Oct 31, 2011What economy plugin are you using?
-
View User Profile
-
Send Message
Posted Oct 31, 2011Hello guys i'm having this error on startup and i dont know how to fix it:
[SEVERE] Could not pass event PLUGIN_ENABLE to ButtonWarp
java.lang.IncompatibleClassChangeError Expecting non-static method com.nijikokun.register.payment.Methods.hasMethod()Z
at ButtonWarp.PluginListener.onPluginEnable(PluginListener.java:30)
at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.java:562)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:927)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Thank you
-
View User Profile
-
Send Message
Posted Oct 29, 2011I have just decided to return to a really ancient version 1.1, this works fine but in the console I get so many errors. I am not too worried at least it saves my warps and gets me where I want to go.
I seriously can't wait until you get it sorted. Are you working form a laptop? I hosted a server that became 8th in the world from a crappy Toshiba laptop. Nobody knew!
Anyways keep up the fixing and post here ASAP as I check several times a day!
Thanks
KINGOFYOU
-
View User Profile
-
Send Message
Posted Oct 28, 2011@Psithief
I'm kinda in a pickle until I get a new liquid cooling system. I can't have Minecraft open for over a minute without my computer overheating. anyways I found and fixed this error
-
View User Profile
-
Send Message
Posted Oct 28, 2011Got a chance to do some more testing. Sorry, but it's still not good enough. You should be doing the testing.
Here's the first line of my warps.save file
fcreative;;0.0;server;[creative'142.5'64.0'94.9'12.4'89.0];[0'0'0'0];false;[];[survival'-83'23'-44{lolcool=[I@39367a2c, cake_enterprise=[I@278efc0c}];
Here's the line that throws an ArrayOutOfBoundsException:
Is it because you escaped a character that you didn't need to escape? { I don't think { has any meaning in regular expressions by itself. Ref: http://www.regular-expressions.info/reference.html "{ and } are literal characters, unless they're part of a valid regular expression token (e.g. the {n} quantifier)."
-
View User Profile
-
Send Message
Posted Oct 28, 2011@Codisimus Nice.
I have a feature request - the ability to use /bw reload from the console.