Blueprint Builder
Blueprint
I am planning a rewrite of this plugin when I have time
Want to design your dream house on a bukkit server but don't have the resources for it yet, design it now and give resources later with Blueprint! This plug-in puts the player into creative mode where they can not break any blocks or open any inventories. When they are in blueprint mode the plug-in will start recording all the blocks they place and when the user switches out of blueprint mode the structure will disappear. If the user has the needed resources in their resource chest the plug-in will start building their structure, even in blueprint mode and allows the user to help build at the same time.
Dependencies Official bukkit version
My plugin requires SQLibrary to function (any complaints about the change to manually having to install SQLibrary should be addressed to the bukkit team)
Commands and Permissions
Command | Function | Permission |
---|---|---|
/Blueprint or /bp | Switches user to blueprint mode | blueprint.switch |
/Blueprint or /bp <Player names> | Switches user to blueprint mode | blueprint.switch.others |
/markresourcechest or /mrc | Marks a chest to look in for resources when building | blueprint.mark |
/markresourcechest or /mrc <Player names> | Marks a chest to look in for resources when building for the other player | blueprint.mark.others |
/unmarkresourcechest or /umrc | Unmarks a chest to look in for resources when building | blueprint.unmark |
/unmarkresourcechest or /umrc <Player names> | Unmarks a players chest to look in for resources when building | blueprint.unmark.others |
/listresources, /lr or /resourceslist | Shows a list of the current resources needed | blueprint.listresources |
/listresources, /lr or /resourceslist <player names> | Shows a list the player(s) needed resources | blueprint.listresources.others |
/resourceboard or /rb | Shows a list of the current resources needed in the scoreboard slot | blueprint.resourceboard |
/resourceboard or /rb <Player name> | Shows a list of the current resources needed by an other player in the scoreboard slot | blueprint.resourceboard.others |
Configuration
Setting up configuration can be found here
Link to SQLibrary, if you are going to do things with databases I'd suggest using it
Source Code
To-Do
- Economy support
- Create video/pictures
- Add logging?
- Admin commands?
- Creative chest?
Thanks
- jommeke - For suggestions
- EthyronNetwork - For suggestions and helping squish bugs
- LHammonds - For suggestions and helping squish bugs
Bleeding Edge
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
The latest version of my plugin can be found here however as it is bleeding edge take note it comes with no guaranty nor can I be held liable for any damage it may cause and still has the ability to install dependencies if enabled in the config file.
Support
For support please use the bukkit ticket system, any bug reports will be remove from the comments section
Would it be possible to add a per world permission system and maybe worldguard, factions, and towny compatibility to ensure some people dont try to go into areas they aren't supposed to enter. And potentially if some other server owners want or need make a configurable distance from the marked chest that players can fly and travel before it takes them out of blueprint mode (I myself have dealt with some who try to exploit into bases and hunt down towns this way and it can get annoying, but i refuse to disallow the option for players to use a plugin so nice, neat and enjoyable). Thank you very much for your time and consideration and if you need any favor with testing this plugin i'd be glad to help!
It would be nice to build a townwall together :)
@Schoolisoutfan I was planning on adding it however it was a bit to complex with my current system but I will definitely add it in the recoded version (maybe with the ability to dl them, toggle able of course, and having a general folder for servers to have a base of templates - probably with economy support)
@Chaeris please use the ticket system for bugs
Nice Work!
Is it possible to make a funktion to use mce files and build them so often you have the materials. I think it would be a nice if I can place buildings like worldedit schematics but only if I have the materials.
@LHammonds
XD why do places always marks spaces as a problem when thus far is hasn't been - also the bleeding edge is on about 1.3.6 :/ which is just a lot fixes (including signs as well as the UUID and offline I believe (depending on bukkit's implementation)) but not all bugs are squished so I haven't uploaded it yet
I'm getting this in my server log with most recent server update:
I was able to fix this on my end by editing plugin.yml inside the .jar file and modify the following:
From:
To:
Environment
Thanks,
LHammonds
Thank you @max9403 for this wonderful plug-in. I run a small SMP server for our local scoutgroup and some of the kids would just like to have creative mode but others like survival. I want them to collaborate and help each other out in the same world so this plug-in is just what I need.
The creative guys can design away and probably get others to hunt for materials for them and the rest do a little of both.
How ever one thing is stopping me from using it. It seem to have an exploit (se ticket) whereby anyone can get anything they want by dying in blueprint mode and come back and pick up their inventory from bp-mode.
Hope this is something you would like to fix because the idea with the mod is so very very good.
@SharkDice
XD that's fine by me, you can add him to the PM chat if you want
@max9403
Okay, just a head's up, I don't generally work alone so my friend Zoweytheflyingox will be helping as well. He won't be contributing via messages and comments, but more as in I'll be delivering ideas, suggestions and bugs from the both of us. He's a great guy and I don't want to just give all the credit to myself for ideas. I support others.
@Pontiac76
Glad you enjoy it
@SharkDice
When I have little bit more time (most of my assignments for now need to be in this week) I'll PM you about ideas
This is a pretty freak'n cool addon. I'm the kind of player that wants to get the resources, and not use the infinite supply of stuff in creative mode, but, I don't like not being able to fly in standard mode. With this, I get the best of both worlds. I can make the intricate designs I want and not have to worry about it being all cheaty. I still need to get the resources, but I won't plummet to my death when I'm 255 blocks up. :]
The only thing I'm jipped on is the experience of BEING 255 blocks up, looking down, and remembering that even in a game, I'm still afraid of heights. heh
@max9403
Excellent! I'll help in any way that I can and I have a few suggestions for the plugin. I'm gonna test out the bleeding edge version today for a few hours and then I'll see if most of my errors are fixed. I would absolutely love to see the possibility of more than one person working on the same blueprint, and the ability to break blocks that the other person has placed when in a partnered blueprint. My friend and I were trying to build a library but I couldn't break the blocks he's placed (obviously, because part of the building is his blueprint) and yep.
I personally think that shovel idea is a great way to break other blocks, and it would be great for you to implement that, it just might be a little difficult in terms of code wise. A solution to that would be to make it so that when your blueprint is obstructing with something, you can have a prompt whether you want to override the existing structure or just leave it and fix it yourself. Just a few nice suggestions, feel free to criticize or not use any of these suggestions, I just think this plugin is a great idea and I want it to succeed.
@LHammonds
The UUID system is because minecraft apparently will be moving to that and allowing players to rename the accounts, so to stop people from hijacking other's creations I made it use UUID (I've been/am busy with my university assignments so I haven't had the chance to do a lot of bug fixing)
@SharkDice
Try the bleeding edge version as some things may already have been fixed (I'm assuming you are running version 1.3.0) and about the chest unmark thing, are you sure you are not typing /mrc again instead of /umrc? The list/scoreboard only gets updated when blocks are placed because that's when they are removed from the blueprint, the reason it doesn't override already existing blocks is because another player might have build something there and then it gets destroyed because the blueprint is overriding the block (other players can only see your blueprint when you are in blueprint mode), the breaking of blocks is something I have been thinking about (e.g. if you want to break dirt blocks you have to have a shovel in your resource chest which then takes damage) - but I haven't gotten round to implementing it as I'm currently still trying to fix oversights and small bugs/create work arounds (e.g. set the data value for some blocks doesn't always set the direction) but you are more than welcome to help me with testing, if you want to make suggestions or want to report bugs feel free to use the bukkit ticket system
I see so much potential in this plugin but there are so many bugs in it. The annoying "Something is obstructing your blueprint" is a horrible thing to deal with. Personally, I would make it so that whatever is obstructing the blueprint gets overwritten with the block it is trying to place. Other issues such as the scoreboard not updating and the list not updating even when the proper item is in the chest, and the entire plugin crashing as you're building your blueprint render this plugin almost useless. I am not trying to hate or anything, I think this plugin is a great idea and I truly want it to be great, but the bugs really need to be fixed. Another bug that occurred was not being able to remove a marked chest, as it would only say "This chest is already marked".
I would also like to see features such as being able to build with multiple people on one blueprint would be a great thing to have! Also I would personally like the ability to break pre-existing blocks while in blueprint mode, and then put them back once blueprint mode is exited. I have many suggestions and many bugs for this plugin, so if you need somebody to test the plugin or give some suggestions then I can help out a lot, I really want to see this plugin succeed because it makes building a walk through the park. Thank you and please consider my words.
-SharkDice
What is the point / reason behind UUID vs Username?
The config defaults to UUID and when I try to give the required resources to my builders, I cannot use the "/lr username" command to find out what resources I need to add to their chests until they are back online.
If I disable UUID, will this allow me to see their lists while they are offline? If so, that is what I will switch to but I need to know why UUID exists to understand the risk/consequence of doing so.
Also, I did notice that even when they are offline, items I place in the chest does go ahead and build the blueprint.
Thanks,
LHammonds
@JebananyPL
Awesome thanks
Very nice plugin! I will create video in polish language soon as possible!
So cool plugin! :D Thanks.
@LHammonds
If there are bugs please report them through the use of the ticket system
This sounds incredibly useful. I have lots of people wanting to creating builds for my server but I don't allow creative mode for anyone due to all the potential exploits. If the bugs and exploits can be minimized in this plugin, I'll be sure to start using and advertising it.
Good luck with it.
LHammonds