Build-in-a-Box
Build-in-a-Box
THE CURRENT RELEASE IS BROKEN. USE THE DEVELOPMENT BUILDS
This plugin is being abandoned in favor of a 'lite' version which will not support storing container contents, Locking/Unlocking or block break protection. It was written as a proof of concept, and has served it's purpose, however, due to limitations of the bukkit api, it does not scale over long-term extensive use on a single server, it will accumulate stale data over time. There is no solution except to not store this data. Please do not post or message me asking for support. If you need a working version, download the latest development build. If you're considering using this plugin for a new server, please don't, unless you intend to keep it updated yourself (source code is on github)
Build-in-a-box adds special EnderChests which, when placed, will allow players to instantly and automatically construct a building. buildings can be locked, unlocked, picked up and placed again. In it's default configuration, Build-in-a-Box works almost exactly like the buildings from The Shotbow Network's Wasted, but it doesn't stop there. Almost every aspect of the plugin can be configured, you can easily disable the locking, unlocking and pickup features to provide simple pre-fab buildings for donator perks, or whatever you'd like to do with them.
Features
- [0.2.0] No longer uses WorldEdit for region selection, use a gold hoe instead (configurable)
- Fireworks!
- per-building-plan permissions for give, place, pickup, lock and unlock.
- Anti-cheat and NCP Support
- Automatic update notifications
- Configurable build speed and animations.
- Compatibility with logging/rollback plugins.
- Compatibility with land-protection plugins (WorldGuard, GriefPrevention, Towny, Factions etc)
- Buildings can be given in kits, sold in shops, etc.
- Economy support, add costs for build, pickup, lock and unlock actions.
- Fully translatable.
- Optional potion effect while carrying a building
- Container contents persist when carrying a building
- Building plans support individual lore descriptions
- Optional block-protection for all buildings.
- Configurable lock/unlock times
Commands
- /biab give [player] <buildingPlan> - give a player a Build-in-a-Box of the specified building.
- /biab save <buildingPlan> - save the current WorldEdit clipboard as a new building plan.
- /biab list [<page>] - list available building plans.
- /biab delete <buildingPlan> - Delete a building schematic.
- /biab setdescription <buildingPlan> <description line 1> | <description line 2> ...
- /biab setdisplayname <buildingPlan> <Display Name>
- /biab permanent - enter the command then punch an enderchest to convert the building to a permanent stucture.
Permissions
These have been overhauled in 0.1.6. you may need to make changes to your permissions.
biab.save- allows a player to save building plans.biab.delete- allows a player to delete a building plan.biab.admin- combination of biab.give and biab.savebiab.permanent- allows a player to use /biab permanentbiab.unlock.others- allows a player to unlock another players BIAB Chest.
biab.give.*- allows a player to give out any BIAB chest.biab.place.*- allows a player to place any BIAB chest.biab.pickup.*- allows a player to pick up any BIAB chest.biab.lock.*- allows a player to lock any BIAB chest.biab.unlock.*- allows a player to unlock any BIAB chest that is locked by them.
The .* permissions above apply to all available 'Building Plans', in addition to these, you may use the individual permission nodes for each building plan.
Tutorial
Defining new Buildings
BIAB doesn't come with any buildings, you'll have to create some.
- Build something... a house or tower, complete with the enderchest somewhere outside
- Use the worldedit wand (Wooden axe by default) to mark the corners of the area.
- use "/biab save mynewbuild" to save it.
The new building is now available to give to players using "/biab give <player> mynewbuild"
Configuration
BIAB can be configured to suit many situations. a fully documented config.yml can be found here
Translating
to translate BIAB into your own language:
- copy the default
english.ymlfromplugins/BuildInABox/lang/to a new name. (eg.esperanto.yml) - translate the strings in the file.
- set the
languageconfig variable to your language name (eg.language: esperanto) - restart the server.
note: a (possibly outdated) version of the default english.yml is available here
TODO
- save mode which takes the current building and enderchest with it.
- Allow schematics to use a 'padding block' (sponge?) to define blocks that should be left out underground.
- add an option to make locking actually lock the doors and containers to the buildings owner.
Source Code & Development Builds
Source code is available on Github
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.
BuildInABox Development Builds
Other Plugins
- Scribe - Transfer enchantments from items to books using an anvil
- JukeLoop - Makes jukesboxes loop, rotate through nearby chests, activated by redstone and much more,
- EnhancedFishing - Adds tons of fishing enhancements including complete control over the bite chance.
- PotatoBombs - Allows players to craft poisonous potatoes into devastating and hillarious magical landmines.
- Saddlebags - Adds an inventory to saddled pigs.
- SalvageSmelter - Allows furnaces to smelt down tools and armor.
- Compressors - Turn hoppers into 'block compressors'.
- Autocrafter - Turn droppers into redstone-powered crafting tables.
-
View User Profile
-
Send Message
Posted May 20, 2013Inventory does still not save inside the buildings. Example my building has a chest inside, I put items inside the chest. When I pick up the building and place it again, everything in the chest is removed.
-
View User Profile
-
Send Message
Posted May 20, 2013That's freaking amesome!
-
View User Profile
-
Send Message
Posted May 20, 2013@mossman50
really? It didn't work for me, that's pretty funny :) maybe because I was running an un-published version.
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
actually i restarted the server and it downloaded just fine, your plugin is the only one that actually auto updates.
-
View User Profile
-
Send Message
Posted May 20, 2013@mossman50
You need to update, you're running 0.0.3
EDIT: It would appear the auto-update functionality isn't working properly :)
-
View User Profile
-
Send Message
Posted May 20, 2013i have this fantastic error that's causing havoc on my server. http://pastie.org/7935397 please see if you can fix it. thanks
-
View User Profile
-
Send Message
Posted May 20, 2013@Dersheimer
You got it! the default setup is configured to work similarly to the way buildings work on Shotbow's Wasted servers, but the config allows for it to be used any number of different ways, including one-time purchases that can never be moved/picked up again.
-
View User Profile
-
Send Message
Posted May 20, 2013Another really cool plugin!
Small problem... Once I've placed a schematic and confirmed it, and optionally locked it, the enderchest is essentially useless, except to unlock it, or pick it up. This is awkward, because it looks like a useable enderchest, but it's not.
Any thoughts?
Never mind, I just figured out the config for making buildings permanent, which re-enables the enderchest.
Thanks again for another wonderfull plugin!
-
View User Profile
-
Send Message
Posted May 20, 2013@LobeTia
I just took a look through the bukkit API docs, and unfortunately I dont think Trapped Chest is going to work yet. Bukkit hasn't added a MaterialData class for it. You're basically limited to the blocks listed HERE under "All Known Implementing Classes"
I'll see what I can do about adding my own support for the trappedChest but it wont be in 0.1.0 unfortunately.
-
View User Profile
-
Send Message
Posted May 20, 2013@LobeTia
Great idea. We're working on the tutorial video right now, and shaking out a few final bugs before finalizing the release.
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
Oh, thank you!
We think of going to use the trapped chest as biab and retexturize then on our server texture for making them appear like a machinery :D
-
View User Profile
-
Send Message
Posted May 20, 2013@LobeTia
I had to re-release 0.1.0 so I added the configurable block ID to that release, it should show up soon. The only condition is that the new block you use needs to be Directional. (so that we know which orientation the building faces) If the block doesn't support directional placement, the plugin will likely throw errors when trying to build/save.
-
View User Profile
-
Send Message
Posted May 20, 2013Can you add an option for change the id of the biab block?
My friend, another server owner, pointed out that he has another plugin that extend the funtionality of the endchest so I need to use another block for making biab.
Thank you :D
-
View User Profile
-
Send Message
Posted May 19, 2013First non-beta release, v0.1.0 is pending approval now.
-
View User Profile
-
Send Message
Posted May 19, 2013@Kitten_Tails
There is no command for it yet. but you can edit plans.yml and remove it, then delete the schematic file from the
schematics/folder. (make sure your server is shut down when doing this, or the file will just get rewritten)-
View User Profile
-
Send Message
Posted May 19, 2013<<reply 1502465="">>
Is there a way to delete buildings?
-
View User Profile
-
Send Message
Posted May 19, 2013@Kitten_Tails
IT IS! :)
-
View User Profile
-
Send Message
Posted May 19, 2013Sounds awesome!
-
View User Profile
-
Send Message
Posted May 19, 2013Latest dev build has an option to disable pickup. This essentially makes a BIAB permanent once placed. The enderchest will become a normal enderchest and the building cannot be picked up, locked, etc.
-
View User Profile
-
Send Message
Posted May 19, 2013@LobeTia
Thanks, I'll try to add those missing messages today. Other than that I've got a busy day, so there probably wont be any more updates until tomorrow. (0.0.5 is pending approval though) As for the schematics, Im not sure if I want to include any with the plugin. I still haven't decided, but if I do, it will probably only be a couple of them, and they'd have to be small and simple.