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"
Trying to create a Builder and I get the included error. I also get the error with a Sentry
@Sausage_Cat
http://dev.bukkit.org/server-mods/worldedit/
Hello and please help... i need to discover how to rotate and split up schematics for this plugin, PLEASE HELP!!! thank you :)
WTF Good
why isent the plugin working? when im typing /npc create bob is it just saying unknown command try a list of commands /help
Any chance of having it so the NPC draws resources from a chest? I ask because it would be really neat to integrate the building of something with the resource harvesting done by the "UsefulVillagers" plugin
@fisherman77
No, not currently and likely not ever. Trying to make a Builder honor various protections hasn't been very successful.
Is there a way to make it where the builder cannot build in HeroStronghold regions?
Builder will not work with 1.4.2 until it is updated.
Maybe Im blind or dumb but can you add more than one builder per project? and if so how would we do that?
@loserman778
Not exactly, you could pre-make the buildings and use an alias to only allow access to /builder origin schematic.
Or you could use Denizen and script a builder to only build in certain locations.
I was hoping to implement build protection based on the NPC's owner, but it's been problematic; when the owner logs off it stops working.
Is there a way to set up certain plots that the builder can build in?
@Rampoo1208
Good find, will fix.
@Cptkiller2010
Your citizens2 is way out of date.
When ever they get building after like 10 blocks it says that the server has crashed
I got an error while typing a command
15:42:52 [INFO] Rampoo1208 issued server command: /builder survey excavate
15:42:52 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'bui
der' in plugin Builder v0.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:1
0)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:
02)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler
java:915)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:828
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:810)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:561)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NullPointerException
at net.jrbudda.builder.Util.MaterialsList(Util.java:270)
at net.jrbudda.builder.BuilderTrait.GetMatsList(BuilderTrait.java:253)
at net.jrbudda.builder.Builder.onCommand(Builder.java:450)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
@Dreamskiller
Thanks, will test
@Kingrobichaud
with type pig
Hi,
There is a bug with one of my builder. He needs a "sign" to start the construction, but won't accept it ("sorry, I don't need "sign", thanks anyway").
Thanks.
how did you make it a pig?
@SausageCat @Minerfinder
You can't ever make more than 1 builder build a single schematic
What JRBudda does in his video is split the building into 2 separate schematics! Builder A builds "Ship part 1" and Builder B does "Ship part 2"
@Minerfinder
i too want to know how this action is preformed :3