CityScape
Automated NPC Village Builder
CityScape | Bukkit | WorldEdit | Citizens | |
0.1.1 | 1.2.x | 5.3 | N/a | |
0.1.2.2 | 1.3.x | 5.4 | N/a | |
0.1.2.4 | 1.4.0 - 1.4.5 | 5.4 | N/a | |
0.1.2.5 | 1.4.7 | 5.4 | N/a | |
0.1.3.0 | 1.6.2 | 5.5.7 | 2.0.9-A3 |
DO NOT MIX VERSIONS, IT WON'T WORK.
This plugin is in beginning stages of development. A general list of TO-DOs is now available.
CityScape was originally intended to be a very basic, very crude square-grid village generator. We quickly realized that method would be very lackluster. We were going to add NPC's anyway, so we decided to scrap our original idea and make something even better! We are now working on making a non-official Millénaire replica. Please note that we are not affiliated with the developer(s) of Millénaire, nor are we using any of their code. This plugin will be designed from the ground up as an NPC interaction plugin that intends to accomplish the following:
- NPC building (using NPC's to build structures from a list of World Edit schematics)
- NPC roles (including but not limited to; builders, civilian, miner, deliverer, and more)
- Resource donation (storing resources in a chest in the town hall, to be taken by builders)
- Economy support (paid for your donations)
- Automation (mines, tree farms, and more, used to collect resources automatically)
- (tentative) Spout integration, for NPC textures.
I've always wanted to see Millénaire available for multiplayer, and after a year of waiting we decided to take it up ourselves and replicate it (without outright copying it) to the best of our abilities.
As of right now, we are coding the core aspects of the plugin. We are getting closer to releasing a beta!
To view all city commands, please go here.
Like what were doing? Wanna help? Donate!
CityScape require the server to be running Java 1.7 and World Edit 5.5.7+
This doesn't seem compatible with the Citizens plugin. Citizens uses the /npc command too. Could it be, say, "/csnpc", for City-Scape Npc?
@Thomasedv
Yea, sorry; we've been busy. Haven't done anything in a while. I'll get back to coding soon. (At least until Torchlight 2/Dragon's Dogma come out)
would you give us a status update? tell us how work is going.
@jhs232
"Will the millenaire plugin be available for download?"
What are you talking about? You'd've had the answer if you read the above description:
"We are now working on making a non-official Millénaire replica. Please note that we are not affiliated with the developer(s) of Millénaire, nor are we using any of their code."
Millénaire is a singe-player mod. Wanna download it? Go download it from them.
No the NPCs can't build other houses, only the one has been programmed. You could alter the schematics if you wished.
For a list of the commands, check to file changelog, the current commands exist for debugging purposes only. These WILL change in later versions.
Will the millenaire plugin be available for download? Also can you put up a list of ALL commands? I would like to know if the NPC could build other houses and upgrade them! Epic plugin! /jhs232
Doing it the upgrade way seemed to work thanks
@TheMOHAAMaster
In theory no, there is no height limit. Having said that, I've hard-coded the height offset for the town hall's ground level (so that the basement is actually below ground). If you have some issue with the NPC stopping try the quick build, if he still stops what block does he stop on? I haven't actually tried to do this with schemas that are different heights. Neither have I actually tried a second variety of house so there could be some other problem that I haven't seen/caught yet.
NOTE: The schemas are designed to be the same width and height through all the upgrade levels. If those differ I'm not sure what will happen. (Though in theory this should only change the position of the house when upgrading.)
Is there only a certain height the npc can build right now? I used the schematic for a building and it worked fine but wasnt that tall then I tried with a taller building and he only built like 2 blocks from the ground then stopped.
Hej love the project sing me up as wel for testing
if needed i can provide a server in europe for testing :)
@Untar1
The most likely cause of this is an error while enabling the plugin; specifically this error: "Unsupported major.minor version 51.0". If you see that you're running java 1.6 this plugin requires 1.7. If the error is something else make a ticket and I can do more.
EDIT: It will also fail to enable if the WorldEdit plugin is not found.
when i type /mc it says that there is no such command
how do i install the pluggin cuz when i empty the .zip download in the plugins folder there no sign of the pluggin in server
Had a long weekend. We'll probably work on it more tonight. Keep you guys posted!
@TheKramSandwich
Slowbuild; not tested, but theoretically possible. Quick build, yes.
For slow build, you can try renaming your schematic to "TH2" and putting it in the CityScape folder, quick building the town hall (by doing /mc), then upgrading it (it will overwrite the Town Hall).
For quick build, just rename your schematic to "TH1" and do /mc
Can the npcs build other things other than the building in the tutorial?
Wow this is looking pretty sweet! I will definitely follow this plugin until all bugs are worked out, and congratulations to you. Very well done, never seen anyone go after this idea for MP.
@rengorf
1: As this is an alpha version and the commands will change, I haven't added much error correction to them. If you use one of 'em wrong it WILL throw an exception. I will not fix these, they are low priority.
2: The /mc command is only to MAKE the city not to upgrade it. It's designed to be used with no args.
The working commands (for an existing 'city' are as follows):
So to upgrade the Town Hall in city '0':
hmm I get an error when I try to upgrade TH...
2012-04-27 22:03:07 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'mc' in plugin CityScape v0.1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NumberFormatException: For input string: "help" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at com.brutsches.cityscape.commands.MakeCityCommands.onCommand(MakeCityCommands.java:58) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
nvm I got it to work after looking at the video
@camberme
which is why I originally said that there is not much to do with it now and that I would check back on it later...
@camberme
Interesting idea, but (for now at least) I think we're gunna stick with human NPC's. Since they are essentially player shells, they are the easiest to work with.