Builder for Citizens2
Builder is a character plugin for the NPC plugin Citizens2. With Builder, A NPC can be given a mcedit/worldedit schematic file and build it block by block. Builder NPCs can also maintain an existing building, replacing changed blocks or removing new ones.
Features
Builde' NPCs can:
- Build MCEdit/Worldedit schematics, block by block.
- Rebuild an existing structure, fixing anything that has been changed.
- Require players to supply the building materials before starting to build.
Installation
- Install Citizens2 Please use Latest Dev Builds
- Unzip Builder.zip to your minecraft /plugins/ directory.
- This will install Builder jar, create the Builder/schematics/ folder and put house.schamatic in it.
- Start your server.
Usage
- Create a NPC with Citizens and give it the 'builder' trait.
/npc create Bob --trait builder
- Load a schematic with /builder load, Example:
/builder load house
- This will load the included example house.schematic file.
- Position the NPC in the center of the area in which it should build.
- Start the NPC building with:
/builder build
More detailed instructions and other commands can be found on the Citizens 2 Wiki
FAQ
Q: How can I use multiple builders on one project?
A: You can use up to 4 builders on one project by giving them all the same schematic and origin, but different build patterns. You can also manually split your schematic into multiple parts with WorldEdit or MCEdit.
Q: How can I make builders go faster?
A: Use the /builder timeout command to set the max time between blocks. You can also make the builder walk faster with "/npc speed"
@ddrichards
I have the same problem...Any fix for this please?
I have a BIG BUG...
Everytime a NPC try to build a schematic, the server crashed and reboot after few seconds...I use SPigot 1.7.9
This is the error bug: http:pastebin.com/CnNLRy51
Sometimes, the servers crashed and reboot without error log...
This is what i see when i am disconnected from the server... http:imgur.com/6nOZuwf
Awesome plugin it helped me a lot
@Aiokun
You're using builder for 1.7.2 on 1.7.5
Unfortunately, a 1.7.5 build was never released. I recommend updating to 1.7.9 or 1.7.10, which has better general support.
[15:55:34 INFO]: Aio_Fox issued server command: /npc create bob
[15:55:47 INFO]: Aio_Fox issued server command: /trait builder
[15:56:00 INFO]: Aio_Fox issued server command: /builder load home
[15:56:16 INFO]: Aio_Fox issued server command: /builder load test
[15:56:32 INFO]: Aio_Fox issued server command: /builder build
[15:56:32 ERROR]: null
org.bukkit.command.CommandException Unhandled exception executing command 'builder' in plugin Builder v0.9.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:696) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:147) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:657) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:250) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:548) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:459) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
Caused by: java.lang.NoClassDefFoundError net/minecraft/server/v1_7_R1/NBTBase
at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:95) ~[?:?]
at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) ~[?:?]
at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) ~[?:?]
at net.jrbudda.builder.Builder.onCommand(Builder.java:467) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
... 13 more
Caused by: java.lang.ClassNotFoundException net.minecraft.server.v1_7_R1.NBTBase
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_55]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_55]
at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:95) ~[?:?]
at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) ~[?:?]
at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) ~[?:?]
at net.jrbudda.builder.Builder.onCommand(Builder.java:467) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.5.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
... 13 more
@FallMaster
That just means an error was sent to your console - post what that error said!
I ran into a problem today with your plugin and I am hoping there is an easy fix or workaround. We lost power to our server today and we had a builder in process of building a rather large schematic. When power was restored and the server was back online, I could not find a way to resume the build. Is this possible to have added to the plugin?
Also, is there a way to keep the builder active and not go to AFK mode? My builders will stop building if all people log off of the server. Even though the server is still active.
Thanks for the awesome plugin!!
Using builder 0.9.1
Great plugin! I love it, it's very cool and fun to use. Just 1 problem. When the builder places signs that had text in the schematic, they turn out to say text1;text2;text3;text4.
Love your plugins! This is just a quick feature request. Could you add a feature where someone can spawn a builder with an item. (Preferable that this said item can be changed with the config) Also, could you add a config feature so that if set to true, the builder will be deleted You don't have to add it, just reading it is great for me! Thanks!
I write /builder build
not function
An internal error occurred while attempting to perform this command
I am novice Please help
I have both a question and a feature request.
First, the question: Is there a way to let builders require items that are in chests? Is it also possible to have builders place item frames?
Secondly, the feature request: Could you add a flag for builders to require extra items for the builds? For example, a player could run the command...
...and the builder would requre 64 feathers and 64 gold ingots in addition to the other items if he is in supply mode. Is this possible, and if it is, could it be added to the next release?
Please and thank you, JE
Can i ask which texture mod ur using for your videos?
@jouyou78
You need the plugin Citizens 2 to create npcs that can use the trait builder!
Hello, when i want put a npc and i type : /npc create exemple The npc doesn't created. Why ? i don't undestand why :/
@jrbudda
No, Sorry! I tested a bit and sometimes he had it right, most of the times it was one off to the east and south and sometimes it was just one off to the east!
@wuarscht
Totally possible something changed in how worldedit saves schematics. Do you know what version difference there was between the 'old' and 'new' schematics?
I have a Problem with /builder origin schematic! On my old schematics it works fine, but strangely on new schematics its one block off on 2 sides.
@HelicopterAmbo
Alright, it just seems slightly annoying to have to have 4 schematics for the same kind of structure.
@Astro8794
You'll need to rotate it in world edit or something of the like, then save it, then copy the world edit schematic file to the builders schematic folder
@jrbudda
Awesome news :)