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, 2013@metalhedd
It is most likely not up to date, but the copy and paste does work properly. I will try updating that right now before I list anymore problems with the plugin that are actually probably problems on my end. If this works...
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
yeah, email notifications + my phone dinging makes for quick responses :) out of curiosity, is your worldedit up to date? and does it's copy/paste functionality work properly?
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
Wow, thank you so much. I honor the amount of time it did not take you to respond. You were right there to help. Keep up the GREAT work, and do not let this plugin just die, like most plugins do in a couple of months. Love your work, great job, keep it up :D
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
I just got to watch the video, so I'll answer a few of your questions, you're definitely using it right. didn't miss any steps. Thanks for removing all the plugins, that definitely narrows it down. The problem appears to involve the new netty engine in spigot, but its not happening on my end when I connect from localhost. I'll have to do some more spigot testing and possibly include bungeecord in the mix. I'll get it sorted asap, spigot support is a high priority.
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
That is the exact same build I am using; the one you used, Build 869, the one uploaded yesterday May 19th. Do you have any other ideas of what might be the problem with the Plugins or the Server?
-
View User Profile
-
Send Message
Posted May 20, 2013@LegndPowerdNube
players need to be able to click the chest to lock/unlock or pick up the building again. if its hidden how would they do those things?
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
is your spigot build up to date? the Netty network engine is fairly new, it could be a bug there. I am not experiencing the problem on build 869 of spigot.
-
View User Profile
-
Send Message
Posted May 20, 2013Is it possible to have a command to hide the enderchest?
-
View User Profile
-
Send Message
Posted May 20, 2013Here is a link to a video I JUST made and posted about my problem.
Link also in description of video: http://pastebin.com/HhwwNv54
Video: http://www.youtube.com/watch?v=_zuRK8cHvZA&feature=youtu.be
-
View User Profile
-
Send Message
Posted May 20, 2013I was wondering when someone would finally replicate Wasted's building plugin, excellent work!
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
just WorldEdit.
-
View User Profile
-
Send Message
Posted May 20, 2013Are there other dependencies for this plugin?
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
Okay, thank you. I will do that right now.
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
can you try without essentials? I've tried the latest version of spigot and the most recent version of essentials (as well as 2.9.6 which you're running) and can't reproduce the problem.
Edit: Also try updating essentials. 2.9.6 is pretty old.
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
Thanks for the report, I haven't tested against spigot, it's entirely possible that I'm doing something that doesn't play nicely its chunk-loader improvements. I'm not sure why its causing Essentials to complain, but I'll include that in my test environment as well, expect an update shortly.
@macgarthur
did the chest have anything in it when you saved the schematic? I haven't actually tested that scenario yet. can you paste the contents of chests.yml while a building is in "item" form with something in the a chest?
-
View User Profile
-
Send Message
Posted May 20, 2013@metalhedd
I have uninstalled and reinstalled the plugin from scratch and am using the latest v0.1.0 build. Anything I put inside the building is removed when I pick it up.
-
View User Profile
-
Send Message
Posted May 20, 2013Yeah, I am also having some issues myself I will post the error on paste bin: http://pastebin.com/W8L7NrwX
The pastebin error contains two of the same errors from Build A Box and one that might cause the error from another plugin, I believe it is essentials.
What happens is when I create a structure and save it with /biab save [name] it will save it, but when trying to place it down, it just places an enderchest that you can open, but cannot brake. /biab give [PlayerName] [StructureName] works fine, but also on placement, there is not timed preview of the structure nor does it drop the chest. It instantly places it, and then it can never be broken. I tried updating my spigot version and it still did not work. I went back to the old version and deleted the whole folder. This still continued to throw many errors and do the same thing. When I updated I also made sure I deleted the whole Build In A Box Folder, it still did not work.
-
View User Profile
-
Send Message
Posted May 20, 2013@macgarthur
I'm still not able to reproduce this problem, the chest contents are saving fine for me, and no other reports of it. have you tried re-saving your original building-plan? maybe there's some corrupt data from a beta version?
@PumasCast
I'll include that string in 0.1.2. everything else should already be fully translatable.
-
View User Profile
-
Send Message
Posted May 20, 2013It would be nice if you guys added the feature of being able to edit all of the messages, including the [Build A box] message. It would just be easier then having to go into the source code with Eclipse, and changing the message in the BuildABox.class text file.
-
View User Profile
-
Send Message
Posted May 20, 2013This plugin looks very nice, I'm going to test it in the next few days! ;)