[INACTIVE][EDIT] Blueprint-Revisited v0.5 - Design outside of Minecraft and import in! [670]

Discussion in 'Inactive/Unsupported Plugins' started by bob3695, Apr 5, 2011.

  1. Offline

    bob3695

    Blueprint-Revisited - Design out of Minecraft and then bring it into Minecraft!
    Version: v0.5

    This is a fork of a plugin that got started then the developer kinda went missing.
    I had a strong interest in it so I decided to fork it and make my own version :)
    Here is the link to the other one:
    http://forums.bukkit.org/threads/edit-blueprint-1-0-an-editor-and-a-plugin-550.8985

    The idea behind this plugin is to allow people to use a external application to design their
    buildings and anything else you can imagine without the worry of mobs, or server lag, or
    just to save the time it would take to build it by hand and fix any issues you might find.
    This takes all that away and makes it nice and easy to design then import your blueprint into
    Minecraft. This works in 3D (one of the larger advancements over the original), you can build
    as high as you want! The editor is a basic 2D editor that you can go up in layers. Currently
    you can not see the below layers but that is a feature I am looking to add.

    Features:
    • Design a building, or whatever you want with a basic editor (in 3D!)
    • Import your design into Minecraft as glass, once you are happy with the placement convert it to the actual blocks!
    • Left click to place the block. Right click to remove it.
    • Save/load blueprints so you can come back an work on them later!
    • Uses the .schematic file so the files are compatible with WorldEdit, MCEdit, Minecraft Structure Planner, and anything else that uses that file standard
    • Save a layer and reuse that layer in any other blueprint or even the same on!
    • Pain the blocks by holding down the mouse button!
    Download: https://github.com/downloads/bob3695/Blueprint-Revisited/Blueprint-Revisited.zip
    Source: https://github.com/bob3695/Blueprint-Revisited

    Usage:
    There are two JAR files in the zip file. The first one we will worry about it Blueprint.jar. That is the plugin that you just need to simply drop into the plugins folder of your server! Simple as that. The other is called BlueprintEditor.jar, now this one is the brains of the operation. You will also take note of the res file, that needs to stay with BlueprintEditor.jar if you want it to work! Now, to design our first blueprint!

    details (open)

    Step 1: Load up BlueprintEditor.jar
    Upon load you should get a window like this:
    [​IMG]

    You then need to decide what blocks you want from this menu:
    [​IMG]

    Once you decide which blocks you want to place, start placing them by right clicking. If you make a mistake right click on it to remove it! You can go up layers to make each level of the building/design you are working on. You will need to place the Player block at the end of the list. The reason for this block is it decides how to import it relative to your location. So if you put the player block in the middle of the design, when you import it, you will be surrounded by your design.
    [​IMG]

    Now that you have a layout that you like (or one that you just want to test) goto the file menu and save the blueprint. Now you need to take that blueprint file and put it into the /plugins/Blueprint folder on your server. That folder will be created on first run of the plugin or you can manually create it. Once you have all that done it is time to head into Minecraft. Once you go scouting for where you what your blueprint to be and find the perfect location enter the load command (below). Where filename is put the name of the blueprint (you can add the .blueprint or just leave it off, it doesn't matter). This will bring your blueprint in as Glass blocks. With this you can look at the location and decide if that is where you really want it, if it isn't enter the cancel command (below) and it will clear out the glass. If it is enter the build command (below) and it will replace all the glass with the actual blocks you used in the blueprint editor. With version 0.3 you can import/export layers too. You are not able to bring the layers into Minecraft but you can use this to design a basic layout of a tall building (as an example) and import that on every layer and just make the minor modifications needed to each floor.


    Video (open)

    Thanks to godgodgodgo for the video!

    Editor Basics:


    Showing off the import/save layer feature:


    • /blueprint load <filename> - blueprint can be replaced with "/bp" anywhere.
    • /blueprint build - Build the loaded blueprint
    • /blueprint cancel - Cancel the blueprint if you don't like the position.
    • /blueprint help - A very crude help command. Will be cleaning this up sometime.
    TODO:
    • [v?.?] Make it so you actually need the materials to build the blueprint in world (configurable)
    • [v?.?] Make it so you have to pay a fee to import buildings (configurable)
    • [v?.?] Add Permissions support
    • [v?.?] Make the editor better (all around)
    • [v?.?] Add a method to save creations you made in world as blueprints so you can re-import them later or open them up in the editor and make modifications!
    • [v0.6] Display the layer you are currently on
    • [v0.6] Draw a straight line of a block by clicking the start block, then holding a key (most likely shift) then clicking a block in a straight line from the first block, fill the line with the block type being place (easy long lines!)
    • [v?.?] Add an air block so you can clear out areas that won't have blocks
    • [v?.?] Add special blocks (different wool colors, different wood types, etc)
    • [v?.?] Add ability to choose which layer is displayed below the current layer (make it a option, if it is not set it defaults to showing two layers down as it does now)
    • [v?.?] Make it so the blueprint list persists through server restarts
    • [v?.?] Update the help command!
    • [v?.?] Add in more messages to give players feedback if they did something incorrectly
    Known Bugs:
    • Some blocks don't place correctly when importing to Minecraft
    • If Java is not the default program for opening .jar files the blocks menu seems to mess up and not show blocks. Setting Java as the default program seems to be a good temp fix for now.
    • Found another bug? Post it here!
    Changelog:

    Version 0.5
    • You can now move and rotate you're blueprint around with "/blueprint move (north/northeast/northwest/west/east/southeast/southwest/south)" and "/blueprint rotate (90/180/270/360)" NOTE: You need to re-open you schematic file and save it again in the edit due to the save improvements. This only works while the structure is glass
    • Save Improvements. This actually fixes it so the schematic files now open in Minecraft Structure Planner and they are needed before you can correctly use the new rotate feature.
    • Changed the "/bp" command to "/bpr" due to conflicts with http://forums.bukkit.org/threads/edit-fun-blastpick-clear-your-path-617.7007/page-2#post-197323
    • Started laying ground work to find how many materials are in the build. This will be used when users are going to be required to have the building materials (This will be configurable)
    • PLEASE NOTE! The folder where you need to store you're blueprints has been renamed! It went from "Blueprint" to "Blueprint-Revisited". This is to reflect the actual plugin name.
    details (open)

    Version 0.4
    • Now works with schematic files! (Blueprint is getting phased out...you must open them in the editor and save it as a schematic to import it now) - Thanks to WorldEdit!
    • A few other minor things.
    • YOU NO LONGER NEED THE PLAYER BLOCK! I LEFT IT IN FOR BACKWARD COMPATIBILITY TO BLUEPRINT FILES. REMOVE IT WHEN SAVING THE SCHEMATIC FILE
    Version 0.3
    • Can now save and import layers!
    • Scroll through different layers with the mouse wheel and the 'w' and 's' keys!
    Version 0.2
    • You can now see the layer below the one you are working on in the editor!
    Version 0.1b
    • Fixed the bug that didn't allow you to select blocks in the same row as the currently selected block.
    Version 0.1
    • First release of this plugin outside of the original.
     
    DylanP and Fwater like this.
  2. Offline

    Ranto1

    omg! this is awesome! Thank you so much, getting it right away :D
     
  3. Offline

    DDMoose

    Sweet deal man was waiting for this to have 3D support to use for some bigger projects Thanks man :D
     
  4. Offline

    bob3695

    New version up! You can now see the layer below the one you are working on. It shows the blocks at 50% transparency so you know it isn't on the current layer.
     
    Marre and DDMoose like this.
  5. Offline

    Gea

    Neat as hell. Keep up the good work, sir!
     
  6. Offline

    Fwater

    When I use your editor no blocks show up in the editor under "Choose Block". How can I fix this?
     
  7. Offline

    kazimir

    Looks like you hardcoded the path to blocks.txt
    I took a screenshot so you know what i mean :D

    editor.png
     
  8. Offline

    bob3695

    Hmm, thought I removed that. Sorry I do that for debugging purposes. Uploading a fixed version now!

    Edit: Fixed editor is up!
     
    Marre likes this.
  9. Offline

    Domi

    bob3695
    Are u sure?
    Chooseblock menu is empty while there is no block.txt at
    C:\Minecraft\Development\Blueprint-Revisited\Editor\res\
     
  10. Offline

    TomSleeUK

    Whenever i try and run a .jar file, i always get
    "Could not find the main class:
    (file location) Program will now exit."
    I can't even run java.exe, somehow i can run minecraft though.
    I have windows 7, latest version of java (i think) ill reinstall the latest.
    If anyone can help, i'd be very greatful
     
  11. Offline

    bob3695

    Ok, so I might have messed up building it again...sorry, was in a hurry this morning, will fix it when I get home from work.sorry about the mix up
     
    Marre likes this.
  12. Offline

    Don Redhorse

  13. Offline

    DDMoose

    Inside the zip file after you extract there is a second zip which has the working version.
    *\bob3695-Blueprint-Revisited-d326520\bob3695-Blueprint-Revisited-d326520\Blueprint-Revisited.zip
    Extract that zip file and run the BlueprintEditor.jar in there and it should work ok. Well it is for me atleast hope this helps you :)
     
  14. Offline

    bob3695

    I can look into it.

    Ah I might have zipped it up incorrectly, will look into this after work
     
    Marre likes this.
  15. Offline

    DDMoose

    I thought of two ideas for a features while playing with the editor if at all possible. A way to save and load layers to make big builds less clicking. So like on a high rise the middle of each floors walls is just an outer ring around. It would be awesome to be able to save that ring as like wallmiddle.layer to just load that layer three times after building the floor level. And maybe a key binding for layer up and layer down. Even without those features I still love and recommend this plugin to all. :D
     
  16. Offline

    bob3695

    Both of those are very possible and should be fairly easy to implement. For key bindings what do you think would be the best keys?
     
    Marre likes this.
  17. Offline

    DDMoose

    Mouse Wheel Up and Mouse Wheel Down? W and S? Whatever you decide you are the man ;)
     
  18. Offline

    bob3695

    Hmm...might do both. Can't forget about people that don't have mouse wheels. Should be able to get some work done on this tonight
     
    Marre likes this.
  19. Offline

    Marre

    Can you fix the problem with Bukkitupdater, it says theres an update for your plug-in but its just the old blueprint.
     
  20. Offline

    bob3695

    I am not sure what you mean fix the problem with it? I have done nothing to have this added to that, so I would think you would have to talk to the designer of Bukkitupdater to get it fixed.
     
  21. Offline

    Nerozx

    some install instructions or how to use for noobs? Please:'(
     
  22. Offline

    bob3695

    Sure thing! Will post them up in a few (once I'm done typing them)

    Also - new version up! Can now scroll through layers easily (scroll wheel or 'w' and 's' keys) and save a layer and import it on a different layer!
     
    DDMoose likes this.
  23. Offline

    DDMoose

    That was fast you rock man :)
     
  24. Offline

    bob3695

    I aim to please. Let me know how it works for you.

    Basic instructions to get everyone started put in first post!

    Coming soon: Basic buildings to download to test/use as a base blueprint (submit your own and I will host it and let everyone see/use your creation!)
     
  25. Offline

    TankFox

    Oh wow, the instant this works with MCEdit schematics I'm going to be all over this.

    I use Minecraft Structure Planner quite a bit to create and export schematics, it can import and output regular .schematic files, as well as automatically generating a whole variety of 3d shapes and even allowing an easy pixel art option (loads an image behind the painting grid), the ONLY part I don't like is that I have to shut down my server and kick everyone out in order to PLACE any of the schematics I build! That's no good! I want to be able to import them live!

    In fact, since you're forking out this thread from the other and Blueprint.jar isn't your code (that's the editor, right?), why not junk it in favor of migrating to Minecraft Structure Planner? It's quite stable and mature and still under active development, and best of all it maintains .schematic as the standard format for exported 3d minecraft objects!

    Here's a link; http://minecraftstructureplanner.com/

    I have no affiliation with this guy besides the fact that I <3 MSP
     
  26. Offline

    bob3695

    Having to restart your server sounds like a bit much just to get something in world. I am not sure if I want to scrap this and just write a plugin to import from another program as I like the simplicity of this editor. I can however say that once I get it working with the schematic files the plugin (blueprint.jar) will be able to import files from both Minecraft Structure Planner and BlueprintEditor.jar (the editor for this project). The idea is to keep the editor simple, and "light".
     
  27. Offline

    Nerozx

    Thanks for the instructions! Great job;)
     
  28. Offline

    Ranto1

    Thanks for all the updates, this plugin just keeps getting better!
     
  29. Offline

    Fwater

    Thanks for the editor fix! Uh-mazing!
     
  30. Offline

    Vietadow

    I feel like u need a mod to clear the land so that u have room to build it maybe incorporate it so that it clears the land for u if possible.
     

Share This Page