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"
i did but i dont know which one to click or how to install it :(
as you can tell im kinda new at all this...
@SausageCat
Click the link in the installation section.
<<reply 955494>>
how do i update to the latest dev build??? i have to have the latest dev build for multiple plugins and none of them work...
@fox243
I said no such thing. Builder only works with Citizens 2.0.1 build 340+. And should be used with 360 currently.
@SausageCat
Read the installation instructions too if its the AbstractMethodError. Or pastebin the error if its different.
i dont understand, i have the latest version of the plugin and im getting internal errors!!!
@jrbudda
i have and u said early do not use latest build of citizens use build under 324 witch i am. i do all this when i tell him to build that error comes up every time and crashes server. iv updated to latest build witch i read not to do in comments and it seems to be working idk
@fox243
Read the installation instructions.
this is the error i get just thought id post it
Time: 9/15/12 12:31 AM Description: Exception in server tick loop
java.lang.AbstractMethodError: net.jrbudda.builder.BuilderTeleportStuckAction.run(Lnet/citizensnpcs/api/npc/NPC;Lnet/citizensnpcs/api/ai/Navigator;)V at net.citizensnpcs.npc.ai.CitizensNavigator.stopNavigating(CitizensNavigator.java:145) at net.citizensnpcs.npc.ai.CitizensNavigator.update(CitizensNavigator.java:166) at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:163) at net.citizensnpcs.npc.entity.CitizensHumanNPC.update(CitizensHumanNPC.java:138) at net.citizensnpcs.npc.entity.EntityHumanNPC.h_(EntityHumanNPC.java:85) at net.minecraft.server.World.entityJoinedWorld(World.java:1245) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:511) at net.minecraft.server.World.playerJoinedWorld(World.java:1227) at net.minecraft.server.World.tickEntities(World.java:1125) at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:428) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:564) 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)
citizens2 build R: 2.0 for CB 1.3.2-R0.1 Sep 02, 2012
builder build B: Builder 0.3.2 for 1.3.2
bukkit version: 1.3.2-R0.2 build #2363
Sincerely fox
@RandomSomething98
Since the builder builds from the ground up, sand should always have something to sit on, right? Unless you're not building on solid ground.
The next build, which I will upload today, has an 'excavate' option to clear out the area first and a number of other cool things.
@Kiak
20 ticks a second. Build speed will be configurable once we get some pathfinding things worked out in citizens core. Increasing their /npc speed should do it but they just kinda go nuts.
Is there a way to make a team of builders work on the same schematic? EDIT: I noticed that you put that on the "not to do" list. Can you make a way for the builders to be able to be sped up?
For some reason, when my builder is placing a block affected by gravity, it doesn't add another of those blocks. It annoys me to see that a cool sand castle falls. Also, is there a way to make the builder clear out an area before it builds?
I'm gunna put the speed thing down to my server being super awesome though my guy just built a 7x7x7 house in few seconds we tnt it down and then he rebuilds it again :) so much fun
er.. is a tick a second? or are there more than 1 ticks per second?
AKA. what should the block place default speed be on a server running in unrealistically stable conditions?
@jrbudda
I know what you mean about the torch after blocks thing but if you just had a Default profile which people could use and still have more profiles for more tricky people like me
for example. i might have 2 types of builders that only have half the blocks each It would be super cool and i think anyone brave enough to make their own profile would be already savvy enough about ordering requirements.
Sure il come join you on IRC, after the bustle of the weekend 4 sure
@RandomSomething98
Check your build of citizens2. make sure it is not 324.
For some reason, my server crashed immediately once a builder started building with someone online. I have multiple worlds, but the world with the builder was "Map". It worked fine when no one was online though :/
@Kiak
It happens sometimes if they get stuck in a block and there's a little lag..its does a block every tick. I guess it's not as fixed as i though it was
@Kiak
Problem with custom build order is there are a lot of order requirements. Wall Torches have to be placed after the block is placed... etc. Making it free-form like that is just inviting people to really screw up their builds.
Next build has server-configurable mark items.
Kiak you really should come hang out in the IRC channel. You have good ideas.
Awesome, first thing that comes to mind when applying to my minecraft project is using this to generate villages and populate them with the other citizens mods. This would allow a world to be generated, then a script executed to run builders then to place RPG NPCs in those villages. Could be quite interesting to perhaps randomly generate rpg worlds...
At one point during my play tonight my builder suddenly sped up massively (he was laying like 20-30 blocks per second)
is he supposed to be affected by /npc speed or anything like that? i didn't think I had changed anything and nothing was logged about it
Not a problem anyway just mentioning it
OH.... /embarassed water going last explains it perfectly
I got my guy to build a MASSIVE schematic (it took him over an hour) so i just didnt give him the chance (id put the water in myself by then)
Sorry bout that false report
That material ordering is a GREAT IDEA! +9000
Being able to define the material order will be cool but how about getting even more custom on it and making like a "builder profiles config" type of thing (users can set it)
In a config you could set the 5 stages of materials that a profile uses and then assign a profile to each Builder npc
then you could have a "glazier" "roofer" "framer" etc that only built their relevent blocks (let me know if i need to explain this idea better)
Lastly can you make the marks either GLASS (so no drops) or Configurable for us... free glowstone just a minor imbalance i dont want to have to worry about
@Kiak
http://citizensnpcs.com/
They're testing the water, You can download the latest development version