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 22, 2013A glitch i found im not sure what or why because it doesnt show up in log but for some reason i saved a new build and after that the plugin doesnt read the commands. I typed /biab give [player] test and nothing happens. It just pops up saying how ti use the plugin. Just a heads up :) if i find anything ill let you know
-
View User Profile
-
Send Message
Posted May 22, 2013Great plugin!!!
-
View User Profile
-
Send Message
Posted May 22, 2013@alexk252
I was just waiting for someone to suggest it :) It's been getting pushed down my to-do list for a little while, but per-plan permissions are coming soon. probably 0.1.5 or 0.1.6
-
View User Profile
-
Send Message
Posted May 22, 2013Hello,
First of, great plugin! Though, I have a question/suggestion.
Is there a permission to make it so only certain blueprints can be used by the player. Like if I created a blueprint named BUILDERONLY, and I wanted my permission groups edited so that only the group "builder" may place that blueprint, I could add the permission to the builder group:
biab.unlock.BUILDERONLY
and
biab.lock.BUILDERONLY
So that means, when someone from another permission group tries to take down that BIAB place, but its restricted to "builder" members only, the message:
"You are not allowed to use this build!"
appears on their screen. Make sense?
Thanks, Alex. K
-
View User Profile
-
Send Message
Posted May 22, 2013@jacob_vejvoda
Coming in 0.1.4
-
View User Profile
-
Send Message
Posted May 22, 2013Is there a way to give a BIAB to players via essentials kit?
-
View User Profile
-
Send Message
Posted May 21, 2013@PumasCast
I uploaded a new development build with a potential fix. I'd love if you could test it out. you'll have to delete the english.yml again before you attempt it. the fix came courtesy of alkarinv of Battle Arena.
-
View User Profile
-
Send Message
Posted May 21, 2013If you ever needed to, I could give you access to my server for testing since I do use BungeeCord. So if you ever need to, shoot me off a message here, or a pm, or an email at tylermarchegiani@yahoo.com and please include in the email who you are so I know who is emailing me. Would love to help in any way possible; if you do not have access to a separate server for testing.
-
View User Profile
-
Send Message
Posted May 21, 2013@metalhedd
There is nothing in the english.yml at all, it is just a blank Notepad Document for me.
I also just tried the most recent version and it will still not load ANYTHING at all in the english.yml. But I did try putting my own text in it, and it worked. So the question is not if it works, but if it will load the text into the english.yml.
-
View User Profile
-
Send Message
Posted May 21, 2013@IKFFxRaPiDzZ
The problem was fixed hours ago, waiting for the file to be approved by bukkit. read the bold text at the top of the page, it explains the problem, and that the latest development builds fix it.
@alex311360
If you want to use an existing schematic file it's probably easiest to paste it into your world normally, then make a new worldedit selection out of it, and
/biab saveit under a new name.The alternative is to place the .schematic in
plugins/BuildInABox/schematics/and add an appropriate entry for it inplans.yml. it would look something like this:then restart the server and it SHOULD work. (assuming there is an enderchest in the schematic somewhere.
-
View User Profile
-
Send Message
Posted May 21, 2013I would like to use some .schematic files I have, but they appear to not be recognized by the plugin. I'm using Dev Build of 0.1.4.
-
View User Profile
-
Send Message
Posted May 21, 2013Couldd you fix the problem where you have to /reload before you can use a enderchest, i place it and its a normal enderchest but when i /reload the whole server it works, any idea what this could be?
Love the plugin, so useful IKFF.
-
View User Profile
-
Send Message
Posted May 21, 2013@PumasCast
if you don't mind, could you try Development Build #46, its the most recent, it might fix the problem.
-
View User Profile
-
Send Message
Posted May 21, 2013@PumasCast
yeah if it's generating an empty file it's got to be something related to character encodings or something like that. strange though. I don't have a windows machine available, but I'll see what I can find out. if you remove the replace the color codes in the first 2 lines of english.yml does it work?
-
View User Profile
-
Send Message
Posted May 21, 2013@metalhedd
I am using windows for the current OS for the server. Could that be causing the problem? I will also put what you sent me into the english.yml, because I did get the recent version of it and it still did not generate any text inside of it.
-
View User Profile
-
Send Message
Posted May 21, 2013@metalhedd Thank you for the help. All though it didnt work lol. Thank you for your time i will wait for the next update to come out.
-
View User Profile
-
Send Message
Posted May 21, 2013@gospelcraft
It's not impossible, but its not super easy either. I'm working on the idea. basically you would add the item with a building plan name instead of an id, and the plugin would recognize this and automatically create an id.
@PumasCast
is your server running windows? Your english.yml problem is definitely strange, and isn't happening on my linux server, if you delete english.yml does it re-generate it with all of the strings in it? it should look like this.
The kick for flying is interesting, you're absolutely right about the way it works. those blocks don't really exist server-side until the building is complete, then the schematic is actually pasted into place. The reason for this is that there are LOTS of blocks that need another block to be placed before they can have a valid position (A torch being placed before the wall is there to support it will pop off as an item.) I'm working towards doing what you suggested but its going to take a bit of time.
the preview lag-spike is a nuissance, I'll work on that next :)
-
View User Profile
-
Send Message
Posted May 21, 2013Found some more bugs. Here ya go :D
http://www.youtube.com/watch?v=k-aVNr0jgaU
-
View User Profile
-
Send Message
Posted May 21, 2013Is it possible to use a building-in-a-box in a kit? Don't think me stupid for asking I think I know the answer already, since the house doesn't create its own ID... But why not make sure? Also If it does not in the next update could you add in the ability to add kits and/or make it so that you can give it to people on their first join? This would be great for my server. Other than that I am EXTREMELY satisfied with this plugin! Thanks metal!
-
View User Profile
-
Send Message
Posted May 21, 2013@nathan6s
There is a bug with 0.1.2 and using /biab give with a newly created chest. the bug is fixed in the latest development builds and is waiting for approval. as a work-around, restart the server after defining a new building plan, before you give it to any players.