BoatBug
My server (Ellitopia.net) has fallen victim to, what is being called, the "Boat Through Walls" bug. Players can pass through solid walls using a bug involving the placement of boats.
To fix the bug, here is my plugin to force boats to be placed on water.
Tested working on private server and on Ellitopia.net.
Features
- Boats can only be placed on water
- Permissions allow selected players to place boats on any surface
- Admin's can clear all boats from the current world to allow clean up if they have been affected by the bug
Commands
/clearboats : Clear all boats from current world.
Permissions
boatbug.clear : Access to /clearboats.
boatbug.bypass : Player is not stopped from placing boats on land
boatbug.* : Both of the above
Installation
- Place the jar in you /plugins folder
- Restart
Optional Configuration
- Provide permissions to player who can bypass the protection
- Provide permissions to players who can run /clearboats
Donations
To show your support and help me justify to my wife why I spend so much time on Minecraft, please donate using the Donate button in the top right corner of this page!
Thank you
Other Projects
ChestBank : Many Chests, on inventory per player, same inventory accessible in all chests!
ATMsigns : Deposit/Withdraw items for currency using one ATM sign.
GreylistVote : Prevent griefers without a whitelist. Players vote for approval.
SetXP : Set or increase your XP level with a simple command.
BoatBug : Stop players boating through walls!
SimpleSpawn : Simple plugin for changing spawn points (including /sethome and /home).
Itemizer : Get all the details of the item in your hand.
Suggest a Project
Got an idea for a project? PM me and I'll give it a look!
Does this work in 1.5.2?
Tested working on 1.3.1 Bukkit Build #2281
Update> My plugins are currently on hold while we wait for 1.3, since the 1.3 update will more than likely break large portions of most of my plugins! Sorry for the delay and please stay tuned for future releases.
I have uploaded 1.1.3 which is built using just the Java 1.6 library... this should fix your problem if you are using Java 6 or Java 1.6. Unfortunately if you are using an earlier version i can't help you. You will need to update.
This error is caused by incompatible Java versions. I'm pretty sure BoatBug was written using Java 1.6 (Java 6). If you are running an earlier version of Java you would need to update it.
I will however check this as I was using Java 1.7 (Java7) previously so this plugin may still be using the newer version.
Any idea when we might be getting a 1.2.4 version?
Ran it on 1.2.4 and got this
2012-04-01 23:30:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.4-R1.0-b2126jnks (MC: 1.2.4) (Implementing API version 1.2.4-R1.0) 2012-04-01 23:30:55 [SEVERE] Could not load 'plugins/BoatBug.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/ellbristow/BoatBug/BoatBug : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.UnsupportedClassVersionError: me/ellbristow/BoatBug/BoatBug : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ... 8 more
This isn't working for me.
@Thokas
Scratch that... I have tested it.. it works fine.
@Thokas
I haven't tested it... but there's no reason why it wouldn't.
I'm currently experiencing this problem on my own server. Does this plugin work with the latest builds?
Tested: Working with CraftBukkit 1.1-R3 (#1846)
Tested: Working on Craftbukkit 1.1-R1 (#1818)
Tested against CraftBukkit build 1717 for 1.1 compatibility