Movecraft Reloaded Bukkit

Discussion in 'Minecraft' started by Games_xsv, Jun 10, 2014.

  1. Games_xsv

    Games_xsv New Member

    Brief Description
    Movecraft is a plugin that allows you to build and pilot amazing Ships, Vehicles, Submarines, or Zeppelins. It allows the player and/or players to craft Vessels out of blocks that can be piloted and thus moved. Hence the name MoveCraft. This page is dedicated to Loraxe42's (AKA BaccaYarro's) fork of AJCStriker's reboot of the original Movecraft plugin by Yogoda. Got all that? Yeah, anyway, it performs the same basic function as the original, except it's roughly 6x faster (and counting), supports lots of cool new features like sinking ships, torpedoes, submersibles, fuel consumption, cruise control, direct control and more every version.

    [​IMG]


    Credit
    Movecraft was first created by Yogoda for hMod.
    Movecraft 3 is a complete recode oringally by AJCStriker. It's only similarity to the Movecraft of Yogada is it's name.

    Tutorials
    IMPORTANT: The download here is a .zip, not a .jar like you will see in these tutorials. Simply extract the .jar from the .zip.

    Install and Config - http:// youtu.be/8dVEul7hG78
    Covers installing Movecraft, setting permissions, creating and flying a fighter armed with torpedoes and guns, and building a ship and a submarine. Also offers an intro to the advanced customizable sinking/crashing behavior

    Quick Start Guide - Very simple and quick instructions to rapidly get Movecraft up and running. Not recommended for public servers because it involves giving yourself OP permissions to run the plugin.
    Quick Start Guide
    This are quick and dirty instructions to rapidly get up and flying in Movecraft. We won't be covering permissions, or customization, or any of the other advanced features. For that, read the other materials on this website, or watch the longer tutorial.

    Obtain a fresh install of Craftbukkit or Spigiot of the version indicated on the download for the most recent version of Movecraft. Run it once in order to create the directory structures we will be using.
    Download the newest version of Movecraft from this page and extract the .jar from the .zip and place it in your \plugins directory.
    Start Craftbukkit again so it will create the Movecraft directory structure we will need.
    Download the craft files: https://dl. dropboxusercontent.com/u/11164014/MovecraftTypes.zip and extract the .craft files from within the .zip into your plugins\Movecraft\types directory. - THIS IS COMMONLY MISSED
    Give yourself server OP permissions by typing: "op YOURNAMEHERE" in the server console. NOTE: this gives full rights to any user you specify here. It is a quick way to get Movecraft working, but it is highly recommended you set up rights more granularly for your users. See the tutorial for more details.
    If you are using a version of Minecraft other than the one your Movecraft build was released for: Open the config.yml file found in plugins\Movecraft and add the line: "CompatibilityMode: true", (without quotes) then save the file.
    Start your server one last time.
    Open your Minecraft client and connect to your server.
    In the game, find a spot that is on dirt or grass that is not near any trees or water. Place a redstone block on the ground. (This represents the ships engines)
    Place any color of wool blocks in a square around the redstone block. You will need 8 wool blocks to complete the square around the redstone block.
    Place a sign on top of one of the wool blocks. The first line of the sign must say only "Airskiff" (without quotes). The other lines can say anything you want. It is customary to name the craft, so you may add a name to the sign after the first line.
    With a stick in your hands, right click on the sign you created. You should get a message saying "Successfully piloted craft!".
    Now right click with the stick still in your hands in the direction you want the craft to go. You should be able to move in any direction as long as you are not blocked.
    Now play around with the more advanced features. Maybe add a sign that says [helm] and right click it to turn it into a control wheel. Left and right click that sign with an empty hand to turn the ship. Maybe play around with more advanced features, like cruise control and fuel consumption. Customize your .craft file to make your dream machine.
    Have fun!

    Minecraft Movecraft Submarines, Torpedoes, Cannons and Guns Part 1: Tactics - http://www. youtube.com/watch?v=0fqiFtyz3FE
    Covers building submarines and using torpedoes, cannons, and fireball/AA guns. Also shows a Destroyer being blown apart and sunk by cannons, as well as sunk by torpedoes. The torpedo part is a little out of date. The current preferred method for unguided torpedoes is to use a .craft with CruiseOnPilot set to true, like the "LaunchTorpedo". It works very similarly, except the torpedo fires as soon as you click the first sign, and using a "Cruise: OFF" sign is not necessary.

    Minecraft Movecraft Submarines, Torpedoes, Cannons and Guns Part 2: Design and Construction - http://www.youtube. com/watch?v=85nOAJdrIBg
    Covers building torpedoes, cannons, and fireball/AA guns. Also shows several cannons in different configurations including a high efficiency TNT cannon, a high velocity flat trajectory sniping TNT cannon, a shotgun style multi-projectile TNT cannon, and others. As above, the torpedo part is a little out of date.

    Minecraft Airship Pirates Episode 3 - http://www.youtube. com/watch?v=I5wur3G2kM0
    Gameplay video telling the story of the infamous airship pirate Robert Bellamy. This one has a huge fleet battle showing off the plugins capabilities. Also has links to the airships and locations featured in the video. I also make the Minecraft Airship Pirates series of videos.

    Configuration Files
    Craft template files
    You define a craft's characteristics and capabilities using a .craft file within the types director under the plugins\Movecraft\types directory of your bukkit server folder's plugins directory. Movecraft will not function unless you download and install some .craft files, or create your own.

    To learn about .craft template files in general
    The .craft Format
    General
    You can't use tabs in this file. You have to use spaces instead.
    Use # to put comments in your file. The # character and everything after it on that line will be ignored.
    .craft files are a YAML format file, and any .craft file in the types directory will be loaded.
    There are many advanted features and options, but your .craft file must consist of at least the following fields (example data values provided):

    Name: Aircraft
    maxSize: 100000
    minSize: 10
    allowedBlocks:
    - 5
    forbiddenBlocks:
    - 12
    blockedByWater: true
    speed: 10.0
    tryNudge: false
    flyblocks:
    20:
    - 0.0
    - 100.0
    Name
    This is the name of the craft type, and in order to pilot a craft of this type the user must right click a sign on the craft that has exactly this name as its first line.
    allowedBlocks
    This is a list of blocks, using their Block ID, you can make your craft out of. If you have a block that isn't on the list, that block won't be part of your ship. This could prevent your craft from being able to be piloted or possible being able to move, because it is blocking the ship.
    Use the # comment to remind yourself what the block is. For example:
    - 35 # Wool
    You can get a list of the Block ID's here: http://www. minecraftwiki. net/wiki/Block_id
    forbiddenBlocks
    This is a list of blocks that if your ship is touching when you go to pilot a craft, will cause it to fail.
    blockedByWater (previously canFly)
    If false, then the craft can move through water. Note that technically a water based craft can "fly", although this would still be set to false to allow it to move through water.
    speed
    Speed in metres per second. Maximum is 20.0, however 10.0 is recommended as the maximum for smooth movement and decent performance. If this is a large craft it is recommended to keep this very low to avoid lag, and compensate for this using a cruiseSkipBlocks (see Advanced Customization off the main page for details) Important: you must have a trailing ".0" after the number here. IE: 5.0, not just 5
    tryNudge
    Under development. Recommend you set this to false.
    flyblocks
    This is the type of block your craft must have to be piloted. The two numbers that follow give a range of percentages that the total number of flyblocks in your ship must have. For example, let's say you have the following
    35:
    - 25.0
    - 50.0
    If the total number of blocks in your craft equal 100, then 25 of those blocks, but no more than 50, must be wool blocks. The rest can be any other allowedBlocks.

    Here are some example .craft files you may download and use: https://dl.dropboxusercontent . com/u/11164014/MovecraftTypes.zip
    Config.yml
    This is where you set server wide information, like what language to display to the users, what piloting tool to use, and how to handle craft sinking. Located under the plugins\Movecraft directory.

    Permissions
    Movecraft uses the following permissions:

    movecraft.<craft name>.pilot
    movecraft.<craft name>.move
    movecraft.<craft name>.rotate

    For example, if you have a craft type named "Airship", you would need movecraft.Airship.pilot, movecraft.Airship.move, and movecraft.Airship.rotate in order to completely use it.
    Advanced Customization Features
    The plugin supports the following advanced features which you can add or modify on your server or crafts if you wish:
    * Language Localization
    * Compatibility mode for different CraftBukkit or MineCraft versions
    * Pilot tool customization
    * Customized sinking behavior if crafts become damaged
    * Altitude limitations
    * Water based craft that can dive below the waves, fly in the sky, or both
    * Customizable cruising speeds
    * Crafts that can teleport, or move a set amount of blocks in any direction
    * Optional fuel burning behavior at customizable rates
    * Direct Control, where the player controls the craft directly instead of by right clicking the pilot tool

    To learn how to configure these options
    Advanced Features and Customization
    allowHorizontalMovement - .craft file
    This is not required, and defaults to true. If set to false ("allowHorizontalMovement : false"), then Movecraft will ignore any pilot-induced horizontal movement. IE: pointing your pilot tool left or right and right clicking will not move the craft, and will not result in any failure messages. Other vertical movement, like from useGravity or sinking, will still be processed as normal. This is typically used for ocean going ships.

    allowVerticalMovement - .craft file
    This is not required, and defaults to true. If set to false ("allowVerticalMovement: false"), then Movecraft will ignore any pilot-induced vertical movement. IE: pointing your pilot tool up in the air and right clicking will not move the craft, and will not result in any failure messages. This is typically used for elevators or turrets.

    canCruise - .craft file
    This is not required, and defaults to false. If set to true ("canCruise: true"), then the craft is allowed to have an automatic cruise command sign. Do this by placing a sign on the craft which reads "Cruise: OFF". The sign must be placed on another block, and can not be a free-standing sign. Then pilot the craft and right click the sign. The craft will then continue to attempt to move forward until you right click the sign again.

    canDirectControl - .craft file
    This is not required, and defaults to true. If set to false, (canDirectControl: false) the pilot can not use Direct Control to pilot the craft. Direct Control is a method where, as opposed to using the pilot tool to control the craft, the pilot's player movements control the craft directly. When the player moves forward, the craft moves forward. When the player moves left, the craft moves left. To move up, right click with the pilot tool. To move down, hold down shift and right click with the pilot tool.

    canHover - .craft file
    This is not required, and defaults to false. If set, (canHover: true) the craft can hover a certain distance above terrain. Use this for a vehicle that should follow the contours of the landscape, for example a hovercraft or car.

    canHoverOverWater - .craft file
    This is not required, and defaults to true. If set, (canHoverOverWater: true) the craft can hover a certain distance above water. Use this for a vehicle that should follow the contours of the landscape, for example a hovercraft.

    canStaticMove - .craft file
    This is not required, and defaults to false. If set to true ("canStaticMove: true"), then the craft is allowed to have a move command sign. Do this by placing a sign on the craft which reads "Move:" on the first line, and the second line reads "0,0,1000" with the corresponding desired x,y,z amounts to move the craft by. Note that there are no spaces in the sign text. This also enables "Rmove:" command signs for the craft. This behaves exactly like the "Move:" sign, except the direction will rotate as the craft rotates. If a player is facing the sign, then the X coordinate will indicate how far the craft will move to the player's left or right, where a negative number moves left and a positive number moves right. Similarly, the Y coordinate moves down (-) and up (+), and the Z coordinate moves backward (-) and forwards (+).

    canTeleport - .craft file
    This is not required, and defaults to false. If set to true ("canTeleport: true"), then the craft is allowed to have a teleport command sign. Do this by placing a sign on the craft which reads "Teleport:" on the first line, and the second line reads "100,87,300" with the corresponding desired x,y,z coordinates to teleport the craft to. Note that there are no spaces in the sign text. This is a very powerful ability, as the ability to easily teleport anywhere you like basically bypasses about 1/3 of the game. Accordingly, it is recommend you restrict a craft with this ability to certain users, or make them extremely expensive, or both.

    CompatibilityMode - config.yml
    This is not required, and defaults to False. If you put "CompatibilityMode: true" in your config.yml file, the engine will use generic CraftBukkit calls rather than the faster build-specific Minecraft calls. The result is that for a slight drop in performance the plugin will work for a wide variety of Minecraft or CraftBukkit builds.

    collisionExplosion - .craft file
    This is not required, and defaults to 0.0. If set to a number (collisionExplosion: 4.0), then if the craft collides with any block while cruising it will cause an explosion of the magnitude indicated. An explosive value of 4.0 is roughly equivalent to TNT, although the explosion originates within the block itself and thus may be dampened if the block has much resistance. This can be used to create ship collisions and ramming, as well as aerial and naval torpedoes.

    cruiseOnPilot - .craft file
    This is not required, and defaults to false. If set to true ("cruiseOnPilot: true"), then when you right click the command sign for the craft it will immediately begin moving in the direction indicated by the command sign. IE: it will move in direction opposite the facing of the sign. It will also not release whatever craft you previously had piloted. Note that this means multiple such crafts could be launched simultaneously by one pilot. One use of this would be torpedoes.

    cruiseSkipBlocks - .craft file
    This is not required, and defaults to 0. If set to a number ("cruiseSkipBlocks: 4"), then the craft will skip the specified number of blocks when attempting to move the craft forward while cruise is on. The effect is that it moves significantly faster. For large crafts, it is recommended to have a low "speed" and put a number in here to compensate. This helps lower server lag and encourages more realistic forward movement instead of ships that move as quickly in any direction.

    fuelBurnRate - .craft file
    This is not required, and defaults to 0.0. If set to a number (fuelBurnRate: 1.0), then the craft will require fuel loaded into a furnace somewhere on the ship in order to move. It burns coal, charcoal, or blocks of coal based on the number of items the fuel could smelt/process. For example, with fuelBurnRate set to 1.0, a craft could move 8 times from a single piece of coal. With fuelBurnRate set to 0.5, the craft would move 16 times with the same piece of coal. Note that a "move" could be a cruise, which could be skipping blocks. The effect is you may move far more blocks on the same fuel supply if you are cruising than if you are maneuvering.

    harvestBlocks - .craft file
    This is not required. If set, hover type crafts will allow the vehicle to move through the listed blocks. Blocks must be strings, not integers, similar to the following:http:jd.bukkit.org/rb/apidocs/org/bukkit/Material.html Typically this would be set to grass or flowers so your ground vehicles are not obstructed by them.

    hoverLimit - .craft file
    This is not required. If set, (hoverLimit: 0) it will control how high a craft can hover above the terrain. 0 is an acceptable value, and would be appropriate for cars or trains. There are performance implications to setting this too high, so a small number is recommended. There are also

    Locale - config.yml
    This is required. This controls what language the engine will use for notifications. By default it is specified as en (English). Current supported languages are en, cz, and nl.

    maxHeightLimit - .craft file
    This is not required, and defaults to having no limit. This specifies the maximum height the craft can operate at. For water based craft, you may want to set this to just above the ocean level of 62. Note that you don't have to, and a submersible or surface ship can actually fly if you set this high enough. Many users report experiencing extra server lag as airships fly higher. You may want to limit this accordingly.

    maxStaticMove - .craft file
    This is not required, and defaults to having no limit. This indicates the furthest distance that can be traveled with a single click of a Move: or Rmove: sign. This is to prevent abuse of the static movement system.

    minHeightLimit - .craft file
    This is not required, and defaults to having no limit. This specifies the minimum height the craft can operate at. For water surface ships, you may want to set this to just below the ocean level of 62. Note that it does not check this limit unless you actually try to move up or down, so surface ships can operate at high altitude lakes if desired without changing this value. Submarines should have this value set low or not set at all so that they can dive below the water.

    moveEntities - .craft file
    This is not required, and defaults to true. If set (moveEntities: false), the craft will not move entities on top of it. This is usually used for weapons like torpedoes or rockets.

    PilotTool - config.yml
    This is not required, and defaults to 280. This specifies what tool you use to pilot crafts. For example, if you put "PilotTool: 288" in your config.yml, then instead of using a stick to move crafts, you could use a feather.

    SinkCheckTicks - config.yml
    This is not required, and defaults to 100. This specifies how frequently the engine checks to see if a ship has been damaged enough to start sinking. It is also in Minecraft ticks, or 20 per second. For example, if you put "SinkCheckTicks: 200" in your config.yml, then it will only check to see if a ship should be sinking every 10 seconds instead of 5.

    sinkPercent - .craft file
    This is not required, and defaults to 0.0. If set to a number (sinkPercent: 90.0), then if the craft drops below that percent of its required flyblocks, then it will begin to sink. Usually this is due to damage by fire or explosives from enemy ships. Once the ship starts sinking, it will sink through air and water until it hits bottom.

    SinkRateTicks - config.yml
    This is not required, and defaults to 20. This specifies how rapidly sinking blocks from damaged crafts will sink. The number is in Minecraft ticks, of which there are 20 per second. For example, if you put "SinkRateTicks: 40" in your config.yml, then damaged ships would sink at a rate 1 block every 2 seconds. If you get lots of server lag while big ships are sinking, this is the number to play with.

    staticWaterLevel - .craft file
    This is not required, and defaults to 0. If set, the watercraft system will always use the indicated water level when it fills in water behind the ship. The default behavior is for the system to scan the nearby terrain and determine the water level from that.

    useGravity - .craft file
    This is not required, and defaults to false. If set, the vehicle will fall as it moves until it reaches its hoverLimit above the terrain. It will also cause any craft above its maxHeightLimit to fall. This can be used, among other things, to make torpedoes that can be dropped from aircraft and run underwater.

    Statistics
    This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

    A unique identifier
    The server's version of Java
    Whether the server is in offline or online mode
    The plugin's version
    The server's version
    The OS version/name and architecture
    The core count for the CPU
    The number of players online
    The Metrics version
    Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true. <>


    BUKKIT 1.7.9_Movecraft Reloaded - Loraxe42's fork

    Author: Loraxe42

    movecraft.zip
     
    Last edited: Jun 10, 2014

Share This Page