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"
@swifter11chimney see the comment directly below yours.
I Like The Plugin so please UPDATE!
Update for 1.5.1 is posted on the wiki page.
1.5 compatible version posted on the wiki page. Please report any issues as I have not had time to test everything.
console error for builder doing nothing when /builder build command is issued in 1.5
19:16:15 [INFO] Dad_Is issued server command: /builder build 19:16:15 [WARNING] [Builder] Task #27 for Builder v0.6.7 generated an exception java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_R1/Block at net.jrbudda.builder.Util.canStand(Util.java:332) at net.jrbudda.builder.BuilderTrait.findaspot(BuilderTrait.java:630) at net.jrbudda.builder.BuilderTrait.access$3(BuilderTrait.java:626) at net.jrbudda.builder.BuilderTrait$3.run(BuilderTrait.java:479) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:512) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_R1.Block at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 11 more
Yeah same problem below fix please
Same problem as davcor2008.... No console error for me.... Running 1.5 tho..
I need console error messages to be able to help you.
help the builders just stand there and do nothing with a pickaxe or a lapiz block.
EDIT: Im also using version 1.5
My NPC's are not building they just stand there with a pickaxe in hand doing nothing
Is there a way to use two or more citizens for building a structure?
im having the same problem
Hi, i have same problem, I command him to build and he is just standing with a lapis block in hand. Help, please
help when i command him to build it says
"Bob has started to build" But he is just standing there with a diamond pickaxe
@jrbudda
Yes i am
@tommyvanaarde
Are you using Citizens 2?
@kin61
Are you getting any errors in the console?
When i type: /builder build or such commands it says An internal error.. This says the cmd.
20:57:25 [INFO] tommyvanaarde issued server command: /builder build 20:57:25 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'buil der' in plugin Builder v0.6.7 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 6) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServe r.java:514) at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerCon nection.java:980) at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.j ava:898) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java :853) at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290 ) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java :113) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:5 98) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:2 24) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:4 94) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Caused by: java.lang.NoSuchMethodError: net.citizensnpcs.Citizens.getNPCSelector ()Lnet/citizensnpcs/npc/NPCSelector; at net.jrbudda.builder.Builder.onCommand(Builder.java:289) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
PLEASE RESPOND!
When ever i stop my server and restart it the builder stops and wont build anymore and my server sometimes lags out then the builder stops and i am sick of this... please fix it if it is possible
thanks, Kin61
@Bludengutz
Not a builder error. Actually being throw by Vault. Need to report it to them.
Kind of new at this. Got this error. I am running 1.4.7 and have Citizens2 installed.
Bludengutz issued server command: /gamemode 1 2013-03-02 01:47:37 [INFO] Bludengutz issued server command: /npc create Bob
trait builder 2013-03-02 01:47:37 [SEVERE] java.lang.NullPointerException 2013-03-02 01:47:37 [SEVERE] at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.hasAccount(Economy_Craftconomy3.java:283) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.Economy.playerHasEnough(Economy.java:115) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.Economy.hasEnough(Economy.java:76) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicCommands.java:207) 2013-03-02 01:47:37 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-02 01:47:37 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-03-02 01:47:37 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-03-02 01:47:37 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:254) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:146) 2013-03-02 01:47:37 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:144) 2013-03-02 01:47:37 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 2013-03-02 01:47:37 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 2013-03-02 01:47:37 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:980) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) 2013-03-02 01:47:37 [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)