Inactive [MECH] PickBoat v0.5 - change boat destruction behavior [1.3]

Discussion in 'Inactive/Unsupported Plugins' started by maczydeco, Jan 27, 2011.

  1. Offline

    maczydeco

  2. Offline

    Plague

    Nice one, thank you!
     
  3. Offline

    Medlir

    At first I thought this wasn't working at all, but after some testing, it seems the wording is just ambiguous as to what this does. Note, when a boat is destroyed by a tool it drops a boat item. However, when a boat is destroyed by running into something, it still breaks up into components. Any chance of extending the functionality to include when a boat runs into something? Or is that better left until Bukkit has the vehicle events and update hook completed?
     
  4. Offline

    scor

    Nice plugin!

    Will give it a try.
     
  5. Offline

    Galrath

    It's definitely a good start. Thanks for the plugin :)
     
  6. Offline

    moonmike

    cool gonna try it
     
  7. Offline

    Punchin

    +1 vote for making it so you get a boat back when you crash as a toggle-able item in a config.
     
    hansudo likes this.
  8. Offline

    hansudo

    +1!
     
    kenjamen likes this.
  9. Offline

    Ovocean

    Great plugin! You'd wonder why in the vanilla game minecarts could be grabed in the inventory and not boats.

    I like the fact that it still gets broken on crash
     
  10. Offline

    Daveyo

    you sir are a hero among men, deserve gratitude from our ancestors, and should have your own movie.
    --- merged: Feb 8, 2011 3:14 AM ---
    suggestion, could you make an option that when the boat gets destroyed it turns back into a boat too, or making the boat invincible. Wanting to build a water park, so would like the boats to be ballin
     
  11. Offline

    Arisilde

    I love this plugin. My server is ocean based and right now these boats are the only real way to travel, so this is perfect.

    I have a request however. With boats being such a big deal, there end up being like a million floating around the oceans from people who don't break them when they get out/log off. Is there any way you could add to this plugin a setting to automatically break unoccupied boats? Either an admin command to break all unoccupied boats in the world like minecart mania has for carts, or a timer that runs after the player exits the boat that will auto break it, or even a serverwide timer that automatically performs a command to break all unoccupied boats in the world automatically every so often. Anything is fine :D It's just a pain having all these boats cluttering the world up and having to break them all by hand.
     
  12. Offline

    hansudo

    Is this possible?
     
  13. Offline

    maczydeco

    I thought it wasn't possible, but after looking into it a bit more, it was [​IMG]

    Now you can make boats invincible, so they don't break when crashed, but if you liked this, you can still keep it, as everything is configurable in a settings file. There's also a setting to return boats to the player's inventory instead of dropping them.

    I still haven't done anything about breaking empty boats, but I'll look into it.
     
  14. Offline

    CuZnDragon

    Just a warning from the latest craftbukkit.

    2011-02-20 12:25:07 [WARNING] Using the stupidly long constructor net.namedfork.bukkit.PickBoat.PickBoat(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of PickBoat to remove it! (Nothing is broken, we just like to keep code clean.)
     
  15. Offline

    maczydeco

    ok, just fixed that
     
  16. Offline

    Daveyo

    NOOOOOOOOOOOOOOOOOOOooooooooooooooooooooooooooooooooo cb 348 has broke the best addon to date

    Code:
     Feb 21, 2011 2:56:05 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\PickBoat.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.NoSuchMethodException: net.namedfork.bukkit.PickBoat.PickBoat.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.getConstructor(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
        ... 8 more
    
     
  17. Offline

    Zephirus

    This should be updated, I love this plugin... so simple... so useful...
     
  18. Offline

    ThomasJ

    This is the error occuring on build 424 (which seems to be the most stable and compatible atm) which leaves you without both the boat and the materials when it is destroyed by player:

    Code:
    2011-02-23 22:39:55 [SEVERE] Could not pass event VEHICLE_DAMAGE to PickBoat
    java.lang.NoSuchMethodError: net.minecraft.server.EntityBoat.q()V
            at com.bukkit.namedfork.PickBoat.PickBoatBoatListener.onVehicleDamage(PickBoatBoatListener.java:38)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:371)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.EntityBoat.a(EntityBoat.java:107)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:430)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:733)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:252)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    
     
  19. Offline

    Ovocean

    Great plugin that I'd love to see updated !

    This could be added to the core btw, why could we transport mine carts and not boats ?
     
  20. Offline

    Greylocke

    fyi - same error as above (NoSuchMethodError), using 432
     
  21. Offline

    Kartus

    same as above, using 432, but at 3 lines are different numbers:

    Code:
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:433)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:747)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    
     
  22. Offline

    maczydeco

    I updated it with craftbukkit 457 439, but the VEHICLE_COLLISION_BLOCK isn't being called, so right now boats will break into wood and sticks when crashed fast enough, regardless of the settings.
     
  23. Offline

    Vaupell

    were currently at build 439, so your saying this plugin works until build 457?

    Where do you find this build ? when i check the official builds were still far from 457 ?

    http://ci.bukkit.org/
    unofficially builds somewhere ?
     
  24. Offline

    ThomasJ

    You need to look at the end of the version string which states b439jnks which is the build number. Anything else will just add confusion :) Currently build 439 is the latest development build, while 432 is the latest recommended.
     
  25. Offline

    RenStrike

    Anyone know when this will work for 1.3?
     
  26. Offline

    ThomasJ

    Just a heads up
     
  27. Offline

    maczydeco

    Sorry for the confusion, I thought the build was what came just after "0.0.0-", I meant 439 indeed.
     
  28. Offline

    Greylocke

    [440]boats break into pieces when either punched or hit with a pick. No errors at console. My config is all defaults:
    Code:
    boats_die_when_destroyed: false
    boats_die_when_crashed: false
    boats_return_to_owner: false
    boats_never_crash: false
    boats_return_to_attacker: false
    is it me or the plugin?
     
  29. Offline

    maczydeco

    oops, I uploaded the wrong build [​IMG]
    It's fixed now, except for the boat crashing issue
     
  30. Offline

    Greylocke

    works great! This should be part of the general MC release. Thank you for creating the plugin!
     

Share This Page