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 Jul 5, 2013@metalhedd
Nevermind, it's buggy with 1.6.1
-
View User Profile
-
Send Message
Posted Jul 5, 2013@Jarrett78
just right click the enderchest with the gold hoe
-
View User Profile
-
Send Message
Posted Jul 5, 2013How the hell do I use the selection tool to choose and enderchest to save it in? Yes, I did add the chest in the build itself.
-
View User Profile
-
Send Message
Posted Jul 3, 2013@metalhedd
yes 162 021, but can you fix the "is it up to date?" 23+17 lines in the startup?
-
View User Profile
-
Send Message
Posted Jul 2, 2013@fungreenfox
There is no 1.6.1 beta yet, only development builds.
-
View User Profile
-
Send Message
Posted Jul 2, 2013I am running 1.6.1 beta now
-
View User Profile
-
Send Message
Posted Jul 2, 2013@jacob_vejvoda
the development builds will probably be on 1.6.1 tomorrow. there won't be an official version for 1.6.1 until craftbukkit releases a beta.
-
View User Profile
-
Send Message
Posted Jul 2, 2013Please update to 1.6.1.
The current build doesn't work.
-
View User Profile
-
Send Message
Posted Jul 1, 2013@Bambucha91
the Fireworks values in the config are the number of rounds of fireworks to launch after a successful build/teardown operation. each round of fireworks launches up to 10 fireworks depending on the size of the build.
-
View User Profile
-
Send Message
Posted Jun 30, 2013@N1nj4_Bl4d3C0ld_K453
They work, i had tested them and now i am using them when one of my buildings is constructed. :)
-
View User Profile
-
Send Message
Posted Jun 30, 2013Not quite sure how fireworks in the config file work. Explain, please?
-
View User Profile
-
Send Message
Posted Jun 30, 2013Why at server restart the data is not saved? IT sais ""Unknown building plan... ""
-
View User Profile
-
Send Message
Posted Jun 28, 2013@Barnsey3017
This has been answered a few times in this thread, please read.
I don't know for specific your plugin, but its possible with essentials buy/sell signs, and/or commandsigns.
-
View User Profile
-
Send Message
Posted Jun 28, 2013Can You use this with a sign shop plug ???
i use signshop2
-
View User Profile
-
Send Message
Posted Jun 28, 2013Well I use Residence plugin for protection? Can i connect both plugins, so i could use residence commands for the house area?
-
View User Profile
-
Send Message
Posted Jun 28, 2013@Bambucha91
Seeing the house is a client glitch, if you can relog and the area is clean afterwards.
I suggeset you use the latest dev build 2.1.
Sharing chests, doors etc. is possible with for example LWC.
The doors will be set to the player spawning the house, but can be changed after building process. Refere to LWC for commands to this.
-
View User Profile
-
Send Message
Posted Jun 28, 2013Hey There :)
I have a little problem... Why op can see the blocks of moved house? In other words - Look what one user left me on my server today when he moved his house... Only op can see that.
https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-frc3/971485_556918767679981_610446836_n.jpg
I am using this version: R: BuildInABox v0.2.0 for CB 1.5.2-R0.1
P.P: When i Logout and come again the blocks aren't there :) Strange... And one more question: How 2 or more people can use one house?
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Barnsey3017
Can you please goto his dev build section and get the latest, as it fixes everything, (almost i guess, but i have been using the latest dev build for a day, and have no errors, and can spawn even 4 times larger buildings).
-
View User Profile
-
Send Message
Posted Jun 27, 2013got a error for you
18:57:48 [severe] [Multiverse-Core] New safe spawn NOT found!!! 18:58:09 [severe] Could not pass event PlayerInteractEvent to BuildInABox v0.2.0 18:58:09 [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 18:58:09 [javastacktrace] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 18:58:09 [javastacktrace] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 18:58:09 [javastacktrace] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 18:58:09 [javastacktrace] at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:190) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.PlayerInteractManager.interact(PlayerInteractManager.java:370) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:637) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.Packet15Place.handle(SourceFile:58) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 18:58:09 [javastacktrace] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 18:58:09 [javastacktrace] Caused by: java.lang.NullPointerException 18:58:09 [javastacktrace] at com.norcode.bukkit.buildinabox.listeners.PlayerListener.onPlayerSelection(PlayerListener.java:80) 18:58:09 [javastacktrace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:58:09 [javastacktrace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 18:58:09 [javastacktrace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 18:58:09 [javastacktrace] at java.lang.reflect.Method.invoke(Unknown Source) 18:58:09 [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
-
View User Profile
-
Send Message
Posted Jun 24, 2013@N1T3SLAY3R
I don't know about your plugin hyperconomy, but i guess it works similar to my use of essentials economy and vault.
You can read in the instructions, that a kit for essentials can be made.
You can use commandsigns and sell from any sign, (or block placed), or let essentials manage it.
There are probably more ways to do this.