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"
To anyone coming here, here is the latest working fork: https://www.spigotmc.org/resources/builder-reloaded-1-8-1-16.55326/
THIS IS A BROKEN
https://pastebin.com/z2xkGapU
I always get the An internal error has occured note.
Heres my console hope that someone can help.
Can you make your own marks?
Works great with 1.10.2. Only thing is I can't modify the timeout; all blocks are set directly after another. I would like my Builder-NPC to wait some seconds before putting the next block. It gets so fast, the NPC is not even shown at the position the blocks are set, but teleports every few seconds to another location of the construction ....
org.bukkit.command.CommandException: Unhandled exception executing command 'builder' in plugin Builder v0.9.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at java.lang.Thread.run(Unknown Source) [?:1.8.0_101] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/NBTBase at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] ... 15 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_101] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_101] at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Spigot-db6de12-d3e0b6f] ... 15 more
Why?
Hi, Its a great plugin and worked for me up until 1.8.7 inclusive, now that i am trying to upgrade the server to 1.10 it will no longer load tried the latest dev builds and all.including the builder and denizen versions.
http://pastebin.com/1Ci8yEtq
Thanks Devil.
@pythonholum
Also use 1.8.8 and it don't working
Please help me i have know clue what is happening i did /builder build and this happed
[21:45:32 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'builder' in plugin Builder v0.9.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.aufdemrand.denizen.utilities.packets.intercept.AbstractListenerPlayIn.a(AbstractListenerPlayIn.java:91) [denizen-0.9.7-SNAPSHOT.jar:?] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_66] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_66] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_66] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/NBTBase at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-db6de12-18fbb24] ... 16 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [spigot.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot.jar:git-Spigot-db6de12-18fbb24] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_66] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_66] at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
I installed this plugin, and when I run /builder build I get a crash Something to the effect of net.minecraft.serverv1_7_R3.NTBase class not found
I am running spigot 1.8.8
@markdf
does not load
I planed to use this a long time ago on my server. Now that I finally come around doing it I must find that the Jenkins subcategory for this citizens ad-on has been deleted!
Without any mention of why this has happened.
@markdf reports in his comment that he got it working with a version from there not that long ago. (In plugin update times speaking)
I could understand if the project would be discontinued. But why delete versions that may work?
This is quite frustrating as it doesn't look like there's an alternative. Please at least provide a reason for the deletion of the Jenkins, or even better, upload the last Jenkins version to here as an alpha version or something.
Sincerely.
Can u update this plugin for 1.8.x???
HELP REQUIRED [14:13:09 INFO]: 1Nael1 issued server command: /builder build [14:13:09 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'builder' in plugin Builder v0.9.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/NBTBase at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot_server.jar:git-Spigot-db6de12-18fbb24] ... 15 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot_server.jar:git-Spigot-db6de12-18fbb24] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_65] at net.jrbudda.builder.EmptyBuildBlock.getMat(EmptyBuildBlock.java:19) [?:?] at net.jrbudda.builder.BuilderSchematic.BuildQueue(BuilderSchematic.java:61) [?:?] at net.jrbudda.builder.BuilderTrait.StartBuild(BuilderTrait.java:346) [?:?] at net.jrbudda.builder.BuilderTrait.TryBuild(BuilderTrait.java:288) [?:?] at net.jrbudda.builder.Builder.onCommand(Builder.java:467) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot_server.jar:git-Spigot-db6de12-18fbb24] ... 15 more
@markdf
and you must have Denizen installed also
http://ci.citizensnpcs.co/job/Builder/lastSuccessfulBuild/artifact/target/Builder.jar
It works if you install that version
I cant get it to work, anyone else have any success?
Hey, is it possible to let multiple builders work on the same project?
I had an error after command: /builder build he says: An internal error occurred while attempting to perform this command. i solved it.
I think you need to tell where you can find what he needs to build. sow, the first thing i did was select a region with WorldEdit. type in copy then type: schematic save mce [DontCareWhatTheNameIs] and then i go to the plug-in folder of WorldEdit and go to schematic folder. and i copy the schematic i save. i go to the builder folder. There I made a new folder with the name schematic. and i paste it in that folder.
then i type again /builder build and my citizen go to build.
Does anyone have a Denizens script they can share for this plugin? This is an awesome plugin but allowing players to use it is complicated.