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"
@TNTUP
Yes this happens sometimes, bug to be fixed in citizens core at some point.
@HerobrineLivesHere
put the console error on pastebin and paste the link here.
@senne97
I need to see the error message to help you. Put it on pastebin.com and post the link here.
cane u use 2 bobs at a time if ay loa thise file my server craches
http://www.mcschematics.com/index.php?topic=1594.msg9104;topicseen#newµ
When I try to load a schematic it just stands: An internal error occured while sttempting to perform this command.
What should I do?
Theres an annoying bug... When the npc builder gets stuck, it builds the schematic fast, the npc is stuck. (eg: theres a hole in the npc walking target, he goes in, the block go on him and poof the building goes fast. Who have that issue?
if I have installed my computer is mac or if I have not tell me how because I did not understand at the announcement arrives lol PLEASE! if you want to send me a message via Skype is [email protected] sorry for the spelling I speak Spanish but I use a translator
@Gdk224
rotate it in worldedit. You can read on the wiki that rotations is a planned feature.
@jrbudda
Helloo???....is there anyway you can rotate it?
cane u use 2 bobs at a time if ay loa thise file my server craches
http://www.mcschematics.com/index.php?topic=1594.msg9104;topicseen#newµ
@IsmaelSanchez
Looks like you dont have citizens2 installed.
NOOO not work and I really want it to work please help sii I say this 22:30:32 [SEVERE] Error occurred while enabling Builder v0.4.1.1 (Is it up to date?) java.lang.NoClassDefFoundError: net / citizensnpcs / api / CitizensAPI at net.jrbudda.builder.Builder.onEnable (Builder.java: 57) at org.bukkit.plugin.java.JavaPlugin.setEnabled (JavaPlugin.java: 217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin (JavaPluginLoader.java: 365) at org.bukkit.plugin.SimplePluginManager.enablePlugin (SimplePluginManager.java: 381) at org.bukkit.craftbukkit.CraftServer.loadPlugin (CraftServer.java: 265) at org.bukkit.craftbukkit.CraftServer.enablePlugins (CraftServer.java: 247) at net.minecraft.server.MinecraftServer.i (MinecraftServer.java: 296) at net.minecraft.server.MinecraftServer.d (MinecraftServer.java: 275) at net.minecraft.server.MinecraftServer.a (MinecraftServer.java: 225) at net.minecraft.server.DedicatedServer.init (DedicatedServer.java: 140) at net.minecraft.server.MinecraftServer.run (MinecraftServer.java: 378) at net.minecraft.server.ThreadServerApplication.run (SourceFile: 539) Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.CitizensAPI at java.net.URLClassLoader $ 1.run (URLClassLoader.java: 202) at java.security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.findClass (URLClassLoader.java: 190) at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java: 44) at org.bukkit.plugin.java.PluginClassLoader.findClass (PluginClassLoader.java: 29) at java.lang.ClassLoader.loadClass (ClassLoader.java: 306) at java.lang.ClassLoader.loadClass (ClassLoader.java: 247) ... 12 more
Hey is there anyway you can rotate the schematic for the builder to build it? Like with worldedit you can rotate it on the clipboard, I've tried and they just build it in the same direction everytime. thanks great plugin btw :D
@myipad96
There is likely a layer of dirt at the bottom of the schematic, put your builder down 1 block before beginning
the builds of citizens from this morning (376+) have a API change that is not yet supported.
You will have to use Citizens build 375 until Builder is updated
i have a question why does all my builders put a layer of grass down 1 high before they build?
Well i found my problem at the Time being this build is supported with the Citizens 2 #377 build tanks to "myipad96" as i compared his time to the release date of the build!
Hope this helps the guys that had these errors like me :)
@jrbudda
I'd like them much, much slower lol. I want to simulate a Union construction crew! =P
cane u use 2 bobs at a time if ay loa thise file my server craches
http://www.mcschematics.com/index.php?topic=1594.msg9104;topicseen#new
thanks fixed it with the new jar file thanks
hi i keep geting this when i try to use i really want this to work any help is appreciated
11:17:06 [INFO] bentleyboii issued server command: /trait builder 11:17:15 [INFO] bentleyboii issued server command: /builder load house 11:17:15 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'buil der' in plugin Builder v0.4.1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 8) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 92) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:880) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) 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.NoSuchMethodError: net.citizensnpcs.Citizens.getNPCSelector ()Lnet/citizensnpcs/npc/NPCSelector; at net.jrbudda.builder.Builder.onCommand(Builder.java:193) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more
Brilliant!! Keep it up!