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 21, 2013Please help it worked one min now it wont work at all i tried to uninstall it and re install it and it didn't work
2013-05-21 17:54:21 [SEVERE] Could not pass event BlockPlaceEvent to BuildInABox v0.1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:108) at net.minecraft.server.v1_5_R3.ItemBlock.processBlockPlace(ItemBlock.java:85) at net.minecraft.server.v1_5_R3.ItemBlock.interactWith(ItemBlock.java:71) at net.minecraft.server.v1_5_R3.ItemStack.placeItem(ItemStack.java:79) at net.minecraft.server.v1_5_R3.PlayerInteractManager.interact(PlayerInteractManager.java:386) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:631) at net.minecraft.server.v1_5_R3.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at java.util.ArrayList.addAll(Unknown Source) at com.norcode.bukkit.buildinabox.datastore.DataStore.fromItemStack(DataStore.java:227) at com.norcode.bukkit.buildinabox.listeners.PlayerListener.onBlockPlace(PlayerListener.java:141) at sun.reflect.GeneratedMethodAccessor431.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 19 more 2013-05-21 17:54:24 [INFO] iExpertIn_HD lost connection: disconnect.quitting
-
View User Profile
-
Send Message
Posted May 21, 2013As always metal, You have out done yourself with another awesome plugin :)
I am always excited to see what you will bring us next.
-
View User Profile
-
Send Message
Posted May 21, 2013@akrrkvkakrrkvk2
Sorry, I don't understand what you're saying, do you want to make modifications to the one you already posted?
-
View User Profile
-
Send Message
Posted May 21, 2013@metalhedd
I'm sorry, but YML file, there are no words to ask for modifications.
-
View User Profile
-
Send Message
Posted May 21, 2013A very good plugin! I like that!
-
View User Profile
-
Send Message
Posted May 21, 2013@akrrkvkakrrkvk2
Thanks for your contribution, I included it in v0.1.3
-
View User Profile
-
Send Message
Posted May 21, 2013hi my korean minecraft User I've gone to change the language to Korean. This also add the ones you mind?
make Language in LucuraHaruhi
korean.YML
display-name: "§6Build-in-a-Box"
message-prefix: "§f[{0}§f]"
world-edit-selection-needed: "먼저 세계 편집 선택을해야합니다."
punch-to-make-permanent: "한대 치시면 됨니다 엔더상자에."
enderchest-not-found: "엔더상자에 포함되어있지 않습니다."
update-available: "업데이트를 할수있습니다: {0}"
update-downloaded: 서버를 다시시작하시면 그때 적용이됨니다
lock-attempt-cancelled: "{0}' 잠금을 시도하는중 취소되었습니다."
unlock-attempt-cancelled: "{0}''s 잠금해제를 시도하는중 취소를 선택하셨습니다."
unknown-player: "{0} 알수 없는 플레이어 입니다"
cannot-give-to-console: 당신은 명령어를 쓰실수 없습니다
cannot-use-from-console: 당신은 명령어로 해당 작업을 수행 할 수 없습니다.
no-permission: 당신은 펄미션에 권한이 없습니다
cmd-give-usage: "사용법 : /biab give [<player>] <plan>"
cmd-give-success: "{0} 님이 이사람에게 주었습니다 {1}."
cmd-save-usage: "사용법 : /biab save <plan> [<display name> [ | description ]]"
cmd-delete-usage: "사용법 : /biab delete <plan>"
cmd-setdesc-usage: "사용법 : /biab setdesc <plan> <description line 1>[ | <description line 2> ... ]"
cmd-setdisplayname-usage: "사용법: /biab setdisplayname <plan> <display name>"
description-saved: "{0} 건축 시스템이 저장되었습니다"
unknown-building-plan: "알수없는 건축 이름입니다: {0}"
building-plan-saved: {0} 라는 건물이 성공적으로 세이브되었습니다.
building-plan-deleted: {0} 라는 건물이 성공적으로 삭제되었습니다
available-building-plans: 사용가능한 건축 도면 [pg. {0} of {1}]
no-building-plans: 건축 설계도가 없습니다
invalid-page: "잘못된 페이지 번호입니다: {0}"
unsufficient-funds: "죄송합니다 적어도 이 설계도가 필요합니다 {0}."
unexpected-argument: "예기치 않은 인수: {0}"
building: 건축중 {0}...
building-complete: 건축이 완료되었습니다
removing: 삭제중 {0}...
removal-complete: 삭제가 완료되었습니다
building-wont-fit: "{0} 건물이 맞지 않습니다."
building-is-locked: "{0} 님의 의해 잠겨있습니다{0}."
unlock-cancelled-self: 잠금해제에서 취소를 시도합니다.
lock-cancelled-self: 잠금에서 취소를 시도합니다
lock-success-self: 성공적으로 잠금이 되었습니다 {0}.
unlock-success-self: 성공적으로 잠금이 해제 되었습니다{0}.
unlock-progress: 잠금을 해제중 {0}... {1}%
lock-progress: 잠금을 설정중 {0}... {1}%
left-click-to-cancel: 왼쪽 클릭 취소
right-click-to-confirm: 오른쪽 클릭 확인
right-click-twice-to-unlock: 마우스 오른쪽을 2번 클릭 하면 잠금 해제
left-click-twice-to-pickup: 왼쪽 클릭 픽업
right-click-twice-to-lock: 잠금을 하시려면 마우스 오른쪽 버튼을 2번 클릭해주세요
preview: 미리보기
locked: 잠금
unlocked: 잠금해제
[언어 한글화 : LucuraHaruhi]
-
View User Profile
-
Send Message
Posted May 21, 2013@PumasCast
Oh, I haven't tested this, but I've been told the text takes the color of the item's display name if it has one. version 0.1.2 supports custom display names, but to get a color code in there you'd need to edit plans.yml. (I'll add some code to convert & to the color code symbol in the next release.
-
View User Profile
-
Send Message
Posted May 21, 2013@metalhedd
That is good, and as for the color in the hotbar, that can be done. I have plugins on the server at the moment that display the new name of the item, and the color in which it is in. I cannot wait to see where this plugin goes :D
-
View User Profile
-
Send Message
Posted May 21, 2013This is absolutely AWESOME
ive been waiting for a plugin like this :D
great work man, just absolutely fantastic job
-
View User Profile
-
Send Message
Posted May 20, 2013The voice in the video reminds me of KipKay.
-
View User Profile
-
Send Message
Posted May 20, 2013@Kitten_Tails
does it look like this: http://pastebin.com/3mT2mgvQ
It's a bug, fixed in the next version, which is under review right now, or you can get the latest development build.
-
View User Profile
-
Send Message
Posted May 20, 2013For some reason, when I restart my server, I have to /reload or the plugin will not work.
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
as for the suggestions, I'm not sure if I'll be able to have them included in world-generation since it requires extra metadata on the blocks. I will look into it, but it's the only other thing from wasted that I plan to include, since it's not really specific to them at all (in fact, they use a pregenerated world afaik), and would be a very useful feature. it will take time anyway, I haven't looked into the world generator code at all yet.
I dont think it's possible to change the color of the hotbar text without client mods, but again that's something I'll look into. The other ones are much easier to implement, I'll add them soon.
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
at the bottom of the page here, under Source Code & Development Builds, there's a link to the latest development version of the plugin. its always the most up-to-date, but hasn't been approved by the bukkit staff yet.
english.ymlshould be inplugins/BuildInABox/lang/it changes all of the messages you see from:[unlock-progress] test2, 100toUnlocking test2... 100%it should be created automatically if it doesn't exist, but the file definitely shouldn't be empty. try deleting it if there is an empty file there.
-
View User Profile
-
Send Message
Posted May 20, 2013More features that would be cool to add might be as follows:
Have a true/false option to have the chests or id used for the buildings, to randomly spawn across the surface of the map on land only. Something to add to that may be a percentage that would cover the map; just like wasted.
Something else pretty neat might be the option to edit the color of the name of the ender chest when in hot bar and scrolling over, and the message displayed when you have your mouse hovering over the chest in your inventory.
Just some things to consider or ponder.
@metalhedd
What do you mean by "grab the latest build for that? Do you mean the plugin? Because I have that. Also, where might I find the english.yml text? When I went into the language folder, nothing was inside of it except a blank text file. It also might just be another bug :P
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
also, your screenshot looks like its missing english.yml, or that the file has had a bunch of strings removed, is that right? or is this another bug I haven't seen?
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
You're going to run into another problem soon... it's fixed in 0.1.1, but if you restart your server with a building fully built, it will error on the next startup. grab the latest development build for the fix.
-
View User Profile
-
Send Message
Posted May 20, 2013Who would have thought. I am sorry to put you through that. Updating WorldEdit was the simple problem!
PEOPLE, PLEASE MAKE SURE YOU UPDATE YOUR PLUGINS SO YOU DO NOT HASSLE METALHEDD, OR ULCHM ABOUT HOW THEIR PLUGIN IS BROKEN, OR HAS A BUG.
Thank you for the help, I would have probably figured to update it, but not this soon. Yet again, thank you. Also, I would love to sponsor you, or you sponsor me. I think we could both benefit from it; if that is something you would be slightly interested in, chat me or PM me back :D. Yet again, I cannot thank you enough. Oh, and one last thing! I took a picture of the chat when I would place a building down. It got quite "spammy" so also cleaning up the chat would be something to improve the plugin greatly! Yet again, adding the option to edit all of the messages including the [Build-in-a-Box] ;). This plugin will go far :D
http://farm6.staticflickr.com/5444/8760216102_0da0d1751e_m.jpg
-
View User Profile
-
Send Message
Posted May 20, 2013@PumasCast
it's also not totally clear from your paste whether the errors happen when you use /biab save or when you actually place the chest. it would be helpful if you could narrow that down for me.
on further investigation it actually looks much more like a WorldEdit issue than a spigot issue. can you upload the .schematic file somewhere? it looks like its not saving the position of the enderchest as the schematic's Offset.