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 looks awsome, cant wait for it to come out with more buildings. Can you add a list of the commands?
@JackWalkerII
Yea I saw, did a search earlier. What I don't know is which version of MC that Tekkit 3.1.2 is based on.
CS (CityScape) 0.1.1 is the last build that will work on MC 1.2.x, it will NOT work with MC 1.3
CS 0.1.2 is the inverse: It will only work with MC 1.3.x. It will NOT work with MC 1.2.x
My best guess is that Tekkit 3.1.2 is still based on MC 1.2.x, so use CS 0.1.1.
The only difference between 0.1.1 and 0.1.2 is to adapt to the changed method names in MC 1.3.x.
@FeedDante
HI FeedDante Thanks for the reply. Tekkit is a combination addons, already pre-compiled http:www.technicpack.net/tekkit/
Found info in the log.
2012-08-11 12:12:09 [INFO] [CityScape] Enabling CityScape v0.1.2 2012-08-11 12:12:09 [SEVERE] Error occurred while enabling CityScape v0.1.2 (Is it up to date?) java.lang.NoSuchMethodError: net.minecraft.server.NetworkManager.<init>(Ljava/net/Socket;Ljava/lang/String;Lnet/minecraft/server/NetHandler;Ljava/security/PrivateKey;)V at com.topcat.npclib.nms.NPCNetworkManager.<init>(NPCNetworkManager.java:21) at com.topcat.npclib.NPCManager.<init>(NPCManager.java:51) at com.brutsches.cityscape.CityScape.onEnable(CityScape.java:38) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Thanks again Jack
@JackWalkerII
Never used or heard of Tekkit so I can't help you much there. This plugin directly references and requires the craftbukkit.jar. (Needs direct access to net.minecraft.server code) This is not a problem (or a necessary step) on a regular Bukkit server. I don't know how Tekkit works so that might be a problem.
(and most importantly) CHECK FOR ERRORS IN THE CONSOLE.
I do not have a crystal ball and cannot psychically determine the contents of your log file.
One of two things happened:
Hello, Really happy to find this plugin. Just install it on a server, but when going to use the command like /mc it just comes up with /mc help. I am using Tekkit 3.1.2 Thanks Jack
@SyTeck
@Steffen543
It's not actually the WE code that's failing. It's that you don't have the schematic files.
I threw up the jar only expecting people to already have the schema files and forgetting that newcomers won't.
Note though, that the build process never actually got to the part/code that I'm worried about (NPCLib), it's failing before then. So it still might not work with the new version. Again, I can't test on this laptop.
New version including all TH schema files: http://dev.bukkit.org/server-mods/city-scape/files/6-city-scape-v0-1-2-1/
PS: If you really do have the schema files (from a previous version) and it fails at the same spot, then I really have no Idea whats wrong. The actual schema files have not changed so if you have trouble DL'ing 0.1.2.1 just DL 0.1.1 and extract it first (ignoring the jar).
@TheFlagCourier
Never heard of it; so no.
Nice plugin, but I got a npe once I used /mc..
And a little suggestion, when searching for worldedit and stuff, use like if(worldedit == null) { sender.sendMessage("bla bla bla");
EDIT: may be because I use craftbukkit 1.3.1, sorry, didn't notice the note.
Looks promising, does it have any relation to the Sim-U-Kraft SSP Mod? (http://satscape.info/sim-u-kraft/) [If someone else brought this up, I'm too lazy to look through 7 pages of comments :3]
@Steffen543
"Unhandled exeption executing command "mc" in Plugin Cityscape v0.1.2"
This is only half the info, I need the stacktrace.
Okey thank you for the fast answer :) I will wait until tomorrow !
edit: "Unhandled exeption executing command "mc" in Plugin Cityscape v0.1.2"
@Steffen543
You don't list the plugin version you use; Irregardless, this plugin is very dependent on the MC version. The switch to 1.3 comes with having to figure out all the new obfuscated method names.
I'm not home (away on laptop) so the only thing I can do is run eclipse. I threw up a alpha that might work but I can't test it till tomorrow. If 0.1.2 doesn't work for you you'll either have to use 0.1.1 with MC 1.2 or wait till I can do some further testing tomorrow night.
And don't you know what "An international error occured while attempting to perform this command" means?
It means CHECK THE CONSOLE, THERE ARE ERRORS LISTED THERE AND I DON'T HAVE A CRYSTAL BALL.
Knowing what that error is would be infinity more helpful than "there was an error".
When i want to create a new city, there came this message -> An international error occured while attempting to perform this command ...
I have java 1.7& worldedit, but i have bukkit server 1.3.1 ... Whats going wrong ?
@altair123ezio
Easier said than done:
Have patience; I'll try to get to it by the weekend but no promises.
(Have you actually tried it on 1.3? Are you certain it won't work?)
update to 1.3.1 please¡¡¡¡¡¡¡¡¡¡¡¡
@reinhart_menken
Attempts have been made to work with the developers of Millenaire. We haven't heard a word from them.
I'm currently not in a position to continue working on this plugin (while I *may* be in the far future), so it can be expected that progress will... no longer be made (unless Dante feels led to continue, but we've both got our plates pretty full, and this is more of a... recreational project)
Not to bash you, and no offense, just wondering, since now that Millénaire has SMP, and your stated goal was to replicate it, would it not be better and probably more efficient if you tried to port it, and maybe work with the author to build plugins for it to add any extra functions you like, since everything are already there? (not just code-wise but conceptually as well)
@Tuckapokemon
For those that are wondering why (or yourself):
"NaN" means "Not a Number"
because there was no space between TH and 6 'q' was interpreted as the upgrade level (which is not a number)
Further down in the comments I have a post with full command syntax.
Sorry for asking so many questions but, can you upgrade your (in general) city? I didn't get a basement in mine.
EDIT:
Tried saying "/city upgrade TH6 q", then the console says "Nan"?
Edit2 (lol):
Um... got it to work... watched video. Wow... why didn't i watch the video. *sigh*. Now I feel stupid lol. Great plugin.
@FeedDante
Okay, thanks for responding. People rarely do to me :P
Ps: This is the best freaking plugin I've ever seen, especially when I use it with Towny and Citizens!
@Tuckapokemon
It could but it's not a priority. The /npc command exists for debugging purposes only; it won't even be in the final version.