Inactive [FUN] BoatMod v12 - Make large groups of blocks move! [1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by jackpot51, May 29, 2011.

     
  1. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    BoatMod - Add large moving objects
    Version: v12

    This plugin adds the ability to make large structures like boats, submarines, and blimps move, along with the players aboard them. It currently allows the usage of the blocks listed below in boats and allows one boat per person on the server. Configuration can be done by editing the default.cfg file or creating a new .cfg file.

    Usage:
    In order to use this mod, you must first captain a boat by left clicking on a block in the boat while holding a boat item. You should click the block that you want the boat to rotate around while facing the front of the boat. You can rotate by facing the way you want the boat to rotate and left clicking while holding a map. You can then move by right clicking in the direction you want to move while holding a map. You can hold down right click to continuously move. You may change your speed (blocks/click) by using the /boatspeed command with a number argument (for example /boatspeed 1 would move the boat one block per right click). If you run into any other blocks, the boat will not move. If the boat is damaged, the blocks will remain damaged.

    Features:
    • Lets players create large moveable structures like boats.
    • Moves and rotates these structures.
    • Moves any entities that are standing on the structures.
    • Checks for collisions and damage.
    Permissions:
    In order to implement permissions, look at the default.cfg in the plugins/BoatMod directory. Next to each value in the [CONFIG] section, you can add the permissions node that you want to use followed by a colon. The default permissions nodes are boatmod.admin and none (which is used by non-permissions players). For example, you could make the MaxSize for default players 0, which would make them unable to make boats. You could also add a node (perhaps boatmod.player for a player that can use boatmod) and then set the maximum values for that node. These permissions may also be applied to each script with the syntax node:name of script.
    Boatable Blocks:
    These blocks may be changed by adding or removing materials to a config file beneath a [MATERIAL] tag, materials are defined in http://jd.bukkit.org/apidocs/org/bukkit/Material.html#enum_constant_detail

    Scripting:
    The script engine exposes the boat that was setup with the script as an object named boat. Several public functions may be accessed that allow the control of this boat. A demo script named autoship moves a ship in a straight direction whenever the sun rises or sets.
    • getCaptain() returns the Player object that created the boat.
    • Message(String message) sends the captain a message.
    • setSpeed(int movespeed) sets the speed of movement in blocks per move.
    • Move(Vector direction) moves the boat in the direction specified by the vector. It returns true if there was not a collision.
    Screenshots:
    Setting up a boat:
    2011-05-29_16.59.45.png
    Hitting the block limit:
    2011-05-29_17.00.43.png
    Changing speed (Had to upload as a jpg because of size restrictions):
    2011-05-29_17.11.32.jpg
    Collision:
    2011-05-29_17.11.45.png
    The large boat I built to test size restrictions (jpg's again):
    2011-05-29_17.12.09.png
    2011-05-29_17.11.58.jpg
    2011-05-29_17.12.16.jpg
    The small boat I used for initial testing:
    2011-05-29_17.12.56.jpg
    Daisy helping with entity movement testing:
    2011-05-28_12.27.26.png
    Tutorial, Courtesy of InfctedMushr00m:
    Tutorial, Courtesy of lifesadream52:
    Tutorial, Courtesy of Goldkoron:

    Download BoatMod: Here
    Source: Here

    Credits:
    Authors:
    • jackpot51
    Testers:
    • BurnedKirby
    • Lacaranian
    • GoldKoron
    • superdupernova
    • Dr_fantasmo
    • Saberar
    • Sayerer27276
    • Parker237
    Upcoming:

    Next Version:
    • Checking some item dupes (beds, pistons)
    Some Future Version:
    • Multiple crafts per person
    • Detachable crafts (life boats, torpedoes, etc)
    Changelog:

    Version 12:
    • Update to newest Bukkit
    • Update to use SuperPerms
    Version 11:
    • Bugfixes with powered crafts and block handling
    • Signs and doors should be fixed in many circumstances, let me know specifics about when they fail if they do.
    • Beds also drop dupes, I blame bukkit
    Version 10:
    • Added fuel capabilities
    • Fix for boats breaking block limits no matter what the limits are
    • Fix for boatinfo only being runnable from the server console
    Version 9:
    • Naming of vehicles in the boatmod messages
    • Vertical toggle
    • Additional ticks parameter to automatic boat movement
    • User level permissions
    • Recursion no longer used for block searching
    Version 8:
    • Added note when author logs in to boatmod server
    • Fixed login, logout events
    • Added a boatinfo command that gives information about boatmod
    • Added support for new blocks (brewing stands, jukeboxes, redstone circuits)
    • Added boatauto command for autopilot
    Version 7:
    • Added support for the number of a material to be placed in the material configuration
    • Fixed doors and beds
    • Fixed limit on change speed command
    • Updated to work with newest bukkit
    Version 6:
    • Added rotation using left click with map!
    • Fixed levers and torches
    • Moved change speed to command /boatspeed [speed]
    • Removed support for multi-block items(beds, doors, open pistons) as they were broken from a bukkit update. Will re-add once issues fixed.
    Version 5:
    • Added lava support
    • Damage now does not stop the boat from moving-it simply notifies the player once that the boat's blocks have changed
    • Furnaces can now move while they are burning
    • Redstone, dispensers, and noteblocks can move while keeping state
    • Added script permissions
    Version 4:
    • Added permissions support
    Version 3:
    • Fixed up scripting support
    • Added example script
    Version 2:
    • Added config file support
    • Fixed signs, furnaces
    • Started on scripting support
    Version 1:
    • Released BoatMod

    This post has been edited 19 times. It was last edited by jackpot51 Jun 15, 2012.
    Pavlov, DoomLord, GrimblyGorn and 7 others like this.
  2.  
  3. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes I did, get the newest zip.
  4. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Already know about this bug, fixing it soon

    This post has been edited 1 time. It was last edited by jackpot51 Feb 18, 2012.
    aritturlt likes this.
  5. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please redownload the zip, accidentally linked to v9
  6. Offline

    172same

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ermm when i try move the boat it says i need atleast 1 powergenerator. what is a powergenerator
  7. Offline

    Goldkoron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How does it work? I can still use ships without it saying it requires fuel and stuff... Come on server and show me
  8. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you elaborate?
  9. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So if you go into the config you can change the NeedsPower option

    This post has been edited 1 time. It was last edited by jackpot51 Feb 18, 2012.
  10. Offline

    172same

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have a server with boat mod: 46.105.112.53:25565
  11. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That I cannot fix because the check to see if blocks are already in another boat could lag the server severely (might end up being a configureable option in the future for people with high end servers)
  12. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Cool, I'll come check it out soon
  13. Offline

    Impervious200

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For whatever reason I'm not able to turn of the requirement of fuel. I've tried changing the option multiple times, but it doesn't seem to have an affect. Here's my .cfg file.

    [CONFIG]
    MaxSize=8192
    boatmod.admin:MaxSize=65536
    MaxSpeed=10
    boatmod.admin:MaxSpeed=16
    Vertical=TRUE
    NeedsPower=FALSE
    VehicleName=boat
    jackpot51:VehicleName=boat
    SetTool=BOAT
    MoveTool=WATCH
    [SCRIPT]
    boatmod.admin:autoship
    [MATERIAL]
    BREWING_STAND
    BOOKSHELF
    BURNING_FURNACE
    CAKE_BLOCK
    CHEST
    DISPENSER
    DIODE_BLOCK_ON
    DIODE_BLOCK_OFF
    FENCE
    FENCE_GATE
    FURNACE
    GLASS
    GLOWSTONE
    JUKEBOX
    LADDER
    LEVER
    LOG
    NOTE_BLOCK
    PISTON_BASE
    PISTON_EXTENSION
    PISTON_MOVING_PIECE
    REDSTONE_TORCH_OFF
    REDSTONE_TORCH_ON
    REDSTONE_WIRE
    SIGN
    SIGN_POST
    STEP
    STONE_BUTTON
    TORCH
    TRAP_DOOR
    TNT
    WALL_SIGN
    WOOD
    WOOD_STAIRS
    WOOL
    WORKBENCH
    WOODEN_DOOR
    BED_BLOCK
  14. Offline

    DismissedFlizza

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry to be a pest, but my server console is still telling me i have version 9...

    It's a great plugin and i've used it in action, bummed out i can't show my friends yet! ;)

    This is going to sound stupid, i know... But am i maybe downloading it from the wrong place? Or something to that effect...

    Thanks in advance!

    EDIT: Here is what the console is telling me...

    11:31:45 [INFO] [BoatMod] Script: autoship @ plugins\BoatMod\autoship.js
    11:31:45 [INFO] [BoatMod] Data file: plugins\BoatMod\default.cfg
    11:31:45 [INFO] [BoatMod] Permissions plugin not detected.
    11:31:45 [SEVERE] Error occurred while enabling BoatMod v9 (Is it up to date?):
    org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/b
    ukkit/plugin/Plugin;)V
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg
    /bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
    at me.Jackpot.BoatMod.BoatMod.onEnable(BoatMod.java:56)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:989)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    A whole bunch of that is probably irrelevant, but oh well ;)

    This post has been edited 1 time. It was last edited by DismissedFlizza Feb 19, 2012.
  15. Offline

    superdupernova

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Same as Impervious. It doesn't turn off. I've uninstalled it and reinstalled, restarting the server has no effect. Nothing works.
  16. Offline

    Goldkoron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    version 10 is having problems, be patient
  17. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Alright guys, the upload of version 10 got botched, causing a not up to date version of boatmod to get spread. Please replace with version 11 immediately.
  18. Offline

    superdupernova

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ships seem to crash on the latest update when you rotate with items in a chest.
  19. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can I get images of the ship or map files?
  20. Offline

    superdupernova

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just moving at all seems to get a crash. It's just a plain wood and glass submarine, nothing special. I have a single chest with some stuff in it inside.
  21. Offline

    drc1998

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the boat mod does not work
  22. Offline

    drc1998

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what i mean is it wont find the boat but the command works
  23. Offline

    superdupernova

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Even without stuff inside, crashing. I don't know what changed, but it's being quite crashy. It also seems to be happening only with chests.

    Oh, and doors are still duping, but signs aren't.

    This post has been edited 2 times. It was last edited by superdupernova Feb 19, 2012.
  24. Offline

    drc1998

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey my one cant even find the boat. i put the .jar in the plugin folder and i put the boatmod folder in the plugin folder please say whats wrong
  25. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The errors people are having is most likely due to incompatibilities with craftbukkit 1.1-R5. Please use craftbukkit 1.1-R3 or 1.1-R4 for now.
  26. Offline

    superdupernova

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm using 1.1-R4. It just seems to be an error with chests.
  27. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you give me a plugin list of the plugins you are using? Can you describe the crash you are experiencing?
  28. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I found a way to have safety without having to do a large amount of calculations. It should show up in the next version
    aritturlt likes this.
  29. Offline

    DismissedFlizza

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    *Faceroll keyboard*

    ;(

    Still telling me i have an outdated version...
  30. Offline

    saintnorbert

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am sorry but what is the power generator? Can we change it?

    Thanks
  31. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    A burning furnace is currently the power generator. You can change NeedsPower to false to disable this, the generator cannot currently be changed.
  32. Offline

    jackpot51

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What version of craftbukkit are you using and which version of BoatMod did you download?

Share This Page