[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

    bob3695

    I'll look into it.

    Download link fixed.
     
  3. Offline

    tcsugar

    ditto i cant figure it out either, i keep re-downloading it or trying the solutions i see but none of em work, i have the blocks.txt file and the icons and all of that but whenever i open the editor i look at choose block and all there is is a white blank? please help
    thanks
     
  4. Offline

    bob3695

    Are you keeping the folder structure that is in the zip file? (try the updated link) You need to unzip it to a location and keep them together.
     
  5. Offline

    tcsugar

    yes i just do "extract here" in win rar.
     
  6. Offline

    bob3695

    This might be redundant...but have you downloaded the latest version? I just downloaded the ZIP file on a fresh computer (didn't even have java installed yet), extracted it and ran the editor and I was able to see all the blocks.
     
  7. Offline

    tcsugar

    Download: https://github.com/downloads/bob3695/Blueprint-Revisited/Blueprint-Revisited.zip
    this is (i believe) the link you are speaking of cause thats what i have been downloading
     
  8. Offline

    MacVaultDweller

    I get an error message after the build takes place but it works ! : )
    Thank you for a great plugin!
    Hope this helps.
    Code:
    21:12:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bp' in plugin Blueprint-Revisited v0.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
        at java.util.LinkedList$ListItr.next(LinkedList.java:696)
        at blueprint.Blueprint.removeBlueprint(Blueprint.java:109)
        at blueprint.CommandListener.onCommand(CommandListener.java:66)
        at blueprint.Main$1.onCommand(Main.java:47)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    Feature request
    Cuboid copy of existing structures.
    select lower corner
    select opposite upper corner
    copy everything in cuboid
    convert to blueprint.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  9. Offline

    bob3695

    Are you on Windows, Mac, or Linux?

    This is something already in the plans. I will look into the error you are getting and see if I can figure out what is going on.
     
  10. Offline

    Asymetrikon

    Great Plugin. :)
    Is it possible to implement some sort of Brush in the Editor? So that you just have to hold the left Mousebutton and can create many blocks in a short time? Would be great for bigger structures.
     
  11. Offline

    City Builder

    Hi,
    When I load up the editor and use the choose block it is empty. The res folder is there and has all the block images.

    Windows 7 Pro 64bit
     
  12. Offline

    bob3695

    Ill look into this...should be possible.

    Hmm....I'm going to need to put in some logging to see what is going on for those of you that are having problems.will include this with the next release
     
  13. Offline

    MacVaultDweller

    On
    I'm on a Mac.
    Happy to see you looking into feature request!
     
  14. Offline

    Jear

    saving does not seem to work correctly..it alters the position of blocks I have placed and in one case does not load any blocks
     
  15. Offline

    bob3695

    Yes, save and loading is very crude right now. I am working on getting this to work with the schematic file type (the file type MCEdit uses). That will provide a much more stable platform for saving/loading
     
  16. Offline

    realitybroken

    Is there a way I can take out the /bp command in this? It seems to interfere with the BlastPick plugin. I don't expect you to worry about interfering with a million constantly updating plugins but is there a way I can take it out personally? Thanks! This is a rad plugin!
     
  17. Offline

    Mizzet

    Once we loaded the blueprint, it always comes in as glass? Is there a way to allow it to be the block I made in blueprint? i.e. So that I load it and it's already cobblestone
     
  18. Offline

    realitybroken

    After it comes in as glass the type /blueprint build and it will commit your original design.
     
  19. Offline

    bob3695

    Yes in fact there is! Open the Blueprint.jar with winrar, you will see a plugin.yml. Open it with a text editor you will see a line similar to: alias: [bp] or something like that. remove that line, save the yml file and restart your server.
     
  20. Offline

    realitybroken


    You rule! Hopefully this will resolve the conflict! Thanks!! :D
     
  21. Offline

    tcsugar

    Window 7 home premium
     
  22. Offline

    bob3695

    New version up! Schematic files now working!

    For those of you having issues with the blocks menu I will be looking into that now

    *disclaimer* This release has been lightly tested. Just wanted to get it out since so many people wanted it to work with this file format

    *edit* if you downloaded it before this update , you will need to download it again (sorry!)
     
  23. Offline

    Vietadow

    I'm sorry im confused about the update wat are schematics?
     
  24. Offline

    bob3695

    A file type that works with WorldEdit, MCEdit, and Minecraft Structure Planner. If you don't use them then just know that the save format is a lot better then the original.
     
  25. Offline

    realitybroken

    Nice! Suggestion for future editor improvement: number the layers so you can see how many layers you've gone up. That would be swell. :)
     
  26. Offline

    bob3695

    That is something I'd like myself, so it will eventually be in. Just don't know when as that is a very very minor feature (adding to todo though!)
     
    realitybroken likes this.
  27. Offline

    MacVaultDweller

    Just my opinion and something to consider but i think that for now a 2d texture for the block icon would be better
    visually for making blueprints. I think it would give a better sense of space for construction.
    I know the 3d icons may look nice but these are top down visions of each layer.
    Just my 2 cents.
    Keep up the great work!
    I love what your doing and it has been a big help to me.
     
  28. Offline

    cheyne

    Hey bob3695,
    Nice plugin mate just wondering when will permissions be put in not sure if this has been asked or not... Just i would love to use this but since its not supporting permissions/EssentialsGroupmanager i cant use this awesome plugin hehehe.
     
  29. Offline

    chatfriend2001

    Really nice plugin!
    Some suggestions for the editor:
    • I'd like to choose which layer is shown behind the actual layer. For example if i'm building a street i draw first the stone steps in the upper layer and then fill this shape with stone in the lower layer.
    • To switch between layers it'd be easier to use numericupdowns if they exist in java (example here)
    • The ability to place an air block (in case i don't want to clear the whole area), different colors of wool and different types of wood would be nice
     
  30. Offline

    bob3695

    I'm no graphic artist so if someone would provide the images this would be very easy.

    I have permissions support on the todo list. I actually might start it soon now that I have the schematic file type done as that made the saving/loading more stable

    1. I am not sure what you mean? I think you mean have the ability to say "always show layer 3 below" so that even when your on layer 30 you see layer 3 below it and not the actual layer that is below it, am I understanding you correctly?
    2. I could implement that, I think the easiest way is already in (mouse wheel) but that is just my opinion. Will look into adding this somewhere on the form.
    3. These are all possible and I will look into it.
     
  31. Offline

    Asymetrikon

    Hmmm every time i save a blueprint it gets saved without file ending. And when i try to load it, the file isnt showing up in the browser.
     

Share This Page