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"
@robinvm8
@robinvm8
you cant.. you need to use the full schematic build it select new parts with it with world edit and only use section to make a schematic
how can i split a schematic?
is there a way to keep the builder working ? when there is no player near ?
like a chunk loading option ?
I copied this directly from the console. I, however, do not know how to access the server log file in the bukkit folder, so I hope this will help to explain the problem or someone can tell me how to access the log.
20:31:01 [INFO] Necromedes issued server command: /sentry info 20:31:01 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'sent ry' in plugin Sentry v1.3.1 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.aufdemrand.sentry.Sentry.onCommand(Sentry.java:567) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
As you can see, I tried to use the simple command /sentry info to get its stats but it popped up with the error occurred thing. Also, as far as I can tell, its not detecting it as a sentry AT ALL. I use the trait command in the npc create string and it creates the npc, however, I see no indication that the trait has actually been applied. And finally, when I type the /trait sentry command it says unknown command, type help. I can use the /sentry help command and see all of the commands for the sentry plugins, I just can't do anything with them...
@klaasa
You could hook up a Denizen script to teleport them on build completion
@Necromedes
Please post your console errors so I can help you.
Sorry for my previous explosion on here everyone. I was REALLY stressed out and I think I actually lost my mind for a while.
In case no one has seen my previous post, here is my problem. I am using 1.4.7 EVERYTHING, bukkit, plugins, ect... because I knew a lot of them broke in 1.5.1. I have citizens 2 installed and Sentry as well. I can get citizens 2 to work perfectly for the most part but it will not even recognize the terms type or trait to my knowledge. Meaning, I cannot make an npc that is a creeper, ender man, etc... Its all the default steve skin. And this also means that I cannot set up a sentry. I REALLY want sentries on my server but literally, EVERYTIME I have tried to get it to work it does the same thing! One would think it was something like an older version of java or something like that but I guess not. And another note: When I try to make a sentry, it says "Internal Error Occurred While Attempting To Perform This Command" Or something like that. Its not fair to me that almost everyone else seems to be able to get this to work except me. I have found other threads with this problem but no one seems to have an answer or they're being an ass. So please, someone help me with this, I'm tired of not knowing the answer to a problem I have had for years. Let me know if there is anything you need me to do in order to help. Thanks!
Hey can I set a home for the builders where they spawn if they finished a construction?
I had the same problem of niki120, the builder when given the command /builder build appears a pickaxe in his hand and remains there
Why can't my citizen build anything? When I typed /builder load House and /builder build. My npc just stood there holding an pickaxe
how can you split a schemtatic?
Buddha I have the same problem except im using the 1.5 version
so the 1.5 update is out right? im having issues with the builders thing is there a wiki?
@jrbudda
Ok but I think I have the good version (1.5.1) ? Haven't I ?
---------------------------Ok it's awesome, it works, thanks a lot, awesome plugin ! :'D
thx jrbudda but how can you split it? en how can i get the builder for 1.5 not fot 1.5.1
@Wardlik06
builder 0.6.8.1 is for craftbukkit 1.5.1
@GgnoreZz
split the schematic with worldedit, or give multiple builders different build patterns
Hi, how do you make the NPCs build in a team like the boat one.
Hello people,
(I'm french so sorry for the many error I can do)
I have the lastest version of Ciizens2 and the version 1.5 of Builder, I create my NPC "Bob" and I do /trait Builder, here, all is ok, after I do /builder load house (the default schematic), and I say /builder build, a message say "bob has started to build house!", it take a diamond picaxe in his hand, and it never move, and this message in the consol:
16:38:58 [WARNING] [Builder] Task #29 for Builder v0.6.8.1 generated an exceptio n java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R2/Block at net.jrbudda.builder.Util.canStand(Util.java:332) at net.jrbudda.builder.BuilderTrait.findaspot(BuilderTrait.java:639) at net.jrbudda.builder.BuilderTrait.access$3(BuilderTrait.java:634) at net.jrbudda.builder.BuilderTrait$3.run(BuilderTrait.java:482) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftTask.run(CraftTask.java :53) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:344) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:5 12) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:2 25) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:4 76) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java :409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R2.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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 11 more
Please help me :(
how can i do that?
@robinvm8
split the schematic with worldedit, or give multiple builders different build patterns
how can i let more builders work on 1 project?