[FUN/EDIT/RPG] CityScape - A project that aims to replicate Millénaire for Bukkit [1.6.2-r0.1]

Discussion in 'WIP and Development Status' started by Musaddict, Apr 21, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Musaddict

    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, and well into our work of automation. We are getting closer to releasing a beta!

    http://dev.bukkit.org/server-mods/city-scape/

    I'm releasing an alpha version for you all to test. So far you can create NPC's with /npc create, tell them to move to a block byt pointing your cursor and typing /npc move [id], and you can make NPC's build blocks by simply placing a block.

    Please note that this test release is only for testing, and that you use it at your own risk. It shouldn't hurt or harm your server in any way, but it never hurts to warn, lol.

    Also, please note that this development build cancels the block placement event, so if you cant place blocks, that's why, lol.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
    Ultimate_n00b likes this.
  2. Offline

    Musaddict

    Updated to 0.1.0 (alpha)! We have hooked into WorldEdit (required to load the plugin), and successfully integrated NPC block placement to WE schematics (mcedit format).

    This version is purely developmental, so please note that it will be unstable, and it most likely will freeze your server every now and then.

    Nothing is currently saved to file, so you'll have to restart your "town" every time your server reloads.
     
  3. Offline

    PAPABEAR1010

    hello
    great idea ,hope things go well
    i downloaded your latest version V0.1.0 to have alook at it , however when i run the server i get
    Code:
    182 recipes
    27 achievements
    16:38:35 [INFO] Starting minecraft server version 1.2.5
    16:38:35 [INFO] Loading properties
    16:38:35 [INFO] Starting Minecraft server on *:25565
    16:38:35 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API versi
    on 1.2.5-R1.0)
    16:38:35 [SEVERE] Could not load 'plugins\CityScape.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/brutsches/cityscape/CityScape : Unsuppor
    ted major.minor version 51.0
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: com/brutsches/cityscape/CityScape : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
            ... 8 more
    is this a java verion problem ?

    anyway luck to you and hope to see more of this in the future

    Andrew
     
  4. Offline

    Musaddict

    Yes it is, your java needs to be v1.7.
     
  5. Offline

    PAPABEAR1010

    thankyou for the quick response
    all up and running , will play with it some more tomorrow ,
    hadto come back and say WOW!! 3d printing on the server , my wife says the little guy builds as fast as i do when i've been on the coffee all day.
    Brilliant , great for server admin builds , at the moment i wait for server shutdown to add large builds , with this they could be ongoing , the scope of this plugin is huge , so i hope all goes well and i will check back daily.

    Andrew
     
  6. Offline

    Musaddict

    Updated to v0.1.1. It's a lot more stable, and improved mechanics. Now it's time to actually save city locations, and hopefully add chest-trading upgrade system.

    Edit: Requires CraftBukkit 1.2.5-r1.2 and World Edit 5.3+
     
  7. Offline

    LordDead1233

    Hello,
    I would love to see this plugin work but then I get the same error as PAPABEAR1010
    I updated my java (not sure if I did it correct)
    got World Edit 5.3+ and Craftbukkit 1.2.5-r1.2
    so how to fix because I love Millénaire so this would be awesome too.
     
  8. Offline

    Musaddict

  9. Offline

    CAS1969

    This is awesome... Cannot wait for more schematics to be added, and groups of schematics (so a whole village, town, city could be created) I use McMyAdmin and this plugin worked perfectly... Will watch this thread daily. Little side note the buildings always face the same way, should they not face the way you face when releasing the NPC builder? To mix them up a bit? ...awesome work..
     
  10. Offline

    Deleted user

    My apologies, but won't this be (kind of) useless since there are already villages in Minecraft with NPC's in them?
    Perhaps you can make a plugin where it adds on to the vanilla Minecraft villages.
     
  11. Offline

    Musaddict

    As of right now, the vanilla villages are completely useless. They pretty much only exist to provide the illusion that they matter (plus they're poorly designed).

    CityScape aims to offer the successfully familiar environment that Millenaire provides (which, aside from generating a poorly placed building or two, and populated by very... terrible NPC's, is not achieved in the slightest by vanilla). In order for this concept to work, we need to found our own village generating algorithms, and provide our own World Edit schematics to expand villages, the right way. This means that it will be next to impossible to incorporate vanilla villages, other than perhaps building around them.

    Plus it will allow users to build structures using NPC's (which surprisingly is a popular demand).

    That's a good solution (for manual placement), but we figured that since this will be automated, we will skip that mechanic and let the plugin choose how to incorporate it.
     
    Deleted user likes this.
  12. Offline

    ZyroBlood

    ok, umm im in desperate need of help if thats ok becuse when i do this on my server it wont work it says "An internal error occurred while attempting to preform this command"
     
  13. Offline

    Musaddict

    If you look at the error, it probly says there's a major.minor version 51.0 error. If that's the case, you need to update your java and your server to Java 1.7 (jre 7).
     
  14. Offline

    ZyroBlood

    done that
     
  15. Offline

    Musaddict

    Well, it's been well over a year since I've updated THIS post. This is thee main plugin I'm working on now, and it is still very much a WIP. We've been dormant for the past year or so (real life... it happens), but now Dante and myself, as well as a new member XZavier2142 are working hard to get this into beta.

    A quick update on some things that have been done since we last touched it, including some aspects that aren't available till the next update (but are complete and fully functional), listed in blue:
    • Cities can be saved and loaded
    • NPCs are now being called with the highly supported Citizens 2 plugin
    • We have added more buildings, with many (many many many) more coming
    • Finalized our World Edit schematic convention so that anyone can make a proper building
    • Each building will now be built in the best spot possible, conforming to the terrain
    • Upgrading will start automatically when enough of the right materials are put into the Town Hall's chests
    • Required materials are reported live on signs in front of the Town Hall
    • NPCs will will walk home at night, and walk to their work locations in the day
    • Begun the core code to allow for complete NPC automation
    We've got a long way to go, but we've got a lot done. Essentially, we need to add 4 more buildings (we currently have 6), and then assign the proper roles for NPCs to interact with them, and then we can reach a full fledged beta! Release version will include 4 other village types, each with their own buildings and roles.
     
  16. Offline

    Debels

    Musaddict wow, this looks quite amazing, going to add it on my WIP server.
     
Thread Status:
Not open for further replies.

Share This Page