When placed down it can create preset buildings, like if I placed and enderchest that was titled " Safehouse", it would build a predetermined house. It's an amazing plugin, and I think if someone did it and made it customizable, it'd be the next big thing.
I'd think this would be pretty cool to have on my server too! timtower Basically, the enderchest would "hold" a building. When you held this enderchest, it would give you a slowness effect. When you placed it, it would place a preview of what the building would look like, but only show that one player. Then, if the player right clicked the enderchest while it was previewing it, the building would start building itself, or if you left clicked it, it would cancel the preview. You could then left click twice on the enderchest , once the building is built, to pick the building up again. You could also lock the building to your name, which would take around 10 seconds, and then it would take other people around that time to unlock it so they can take the building themselves, while the same person could unlock it in around 5 seconds. There are a ton of buildings on Shotbow's Wasted servers. The ip to see this in action is: us.shotbow.net
I have something similar to this mostly finished already.. a few questions though: - how do you GET the chests in the first place? - does the building get built all at once or slowly over time? - what happens if you place the chest, then left-click it to cancel the preview. can you still right-click to build it? can you trigger the preview again somehow? or do you have to pick it back up and try again? - how do you lock/unlock the building? - when you pick the building back up does it keep any changes you've made inside the house? (place/broke a block, added to a chest etc)
They spawned naturally, but it'd be cool to get them by a command It's built 1 block at a time, from the down up, but the preview is all at once When you cancel the preview, you pick it up. You trigger the preview as usual. To lock/unlock, you right click a placed enderches twice. It will not keep any changes made to it.
What happens if you place the building, then manually tear it down to collect the resources, then try to pick the building back up? would you get the whole building still? that would be exploitable for infinite resources. are the blocks made unbreakable when the building is built? EDIT: I logged into the shotbow server to check it out. to have it really work the same way, you'd need to impose a LOT of the same restrictions that they do, having a specific hotbar slot for the chest, and disallowing ALL blockbreaking everywhere, otherwise you have to deal with ensuring the building is completely in tact before "repacking" it, and the slowdown effect would be very taxing on the server without the strict control over inventory slot usage. (lots of scanning the full inventories of every player looking for buildings) and something like that is still very difficult to implement correctly. I'll probably leave out the slowdown effect for simplicity.
metalhedd Ok. I was planning on disabling blockbreaking anyways. Somehow. I'm just glad this will be made nonetheless.
Set up the DBO Project for it and uploaded source to github. The first development builds should be available tonight. The block-by-block building effect isn't going to be in the first release. It's fairly complicated to make sure things like torches, reeds, itemframes etc. get placed correctly. instead the building will just appear after a second. I'm not sure if I got the lock/unlock mechanics exactly the same as Wasted, but they're pretty straight forward. if you move too far from the chest while locking/unlocking it will cancel. If you or someone else clicks the chest while locking/unlocking it will also get cancelled.
no problem, it was fun I actually did end up adding a bit of a building animation but its not great. I'm going to keep working on it, if you have any issues or feature requests post on the project page.
This seems very cool, although maybe you can't break blocks that are part of buildings instead of 100% disabling block breaking
It can be done, but creating only protection on those blocks is a serious pain for whoever is making it, and honestly too much work when it will probably used in a similar way that shotbow does.
Rocketboy901 RingOfStorms the version on dev.bukkit.org DOES have basic block protection for buildings only. but it contains a bug where the protection stays behind even after the building is picked up. that's fixed in development builds and the latest version (0.0.2) is pending approval. The protection is very lightweight once the server is running, but having a lot of buildings may slowdown server startup. EDIT: I should mention it currently only protects against players breaking the blocks, not explosions, fire, etc. those will be added soon.