CityCraft
CityCraft
Info
Due time constraints, I am not able to continue with the plugin in a short future time frame. I have other projects with high priority, I haven't chance to add functionality to this project. If I have time, I may come with a renewed version of this plugin. I try to work on the project during my small free time but was unable to have a stable version due minecraft updates.
Here is the source code for the last public version:
https://bitbucket.org/Otrebor45/citycraft
Features
CityCraft is a region protection using a grid base system (plots system), protect blocks from bedrock up to the max height. Player can start a new city, other people can join your city, and make it grown as your city population is growing.
The project is meant to be a light weigh towny substitute, won't have all the features that towny had, but will have new ones that will make the plugin fell different.
As version 0.1.3 sings system is implemented: Can use sign to set a plot for sale, and purchase plots. For signs usage
The plugins is currently on developing state.
v 0.2.6 Note
- Plot especial abilities (Farming, Fishery, Enchatery)
- to enable it there is two options:
- 1) add " use_plot_power: true" after settings: (use two space before use_plot_power: true), or
- 2) delete the CityCraft.yml file and reload then you can set use_plot_power: true.
- Commands /powerplot currently only admins can use the command
Currently no Java 6 updates.
What is working:
- all base system.
- support vault for economy system.
Issues
- may have commands conflict running with towny.
Planed Features
Well, fell free to suggest some features to add. I will be updating the list with my progress.
Important
To work you need Java 7 installed, if you get "Unsupported major.minor version 51.0" error on the log, update your Java version to Java 7.
In case you can't update to Java 7, I build the plugin for Java 6 so you can test it. This build won't be updated to often, and may not be very stable as the Java 7 one. Here is the link
I recommend to update to java 7.
Commands
- /citycraft -will be admins commands, to manager citycraft settings. partially working.
- /city -City related commands.
- /city help -show city commands list and usage.
- /plot -Plot related commands
- /plot help -show list of commands and usage
- /resident player information related commands
- /resident help -show list of commands and usage
- /request -request commands, for invitations.
- /request help -show list of commands related with request
- /powerplot power plot commands (Only admins)
The Full Commands can found here
Permissions
Configuration
world_list: world -change world with the name of the world you want to be a city world.
use_economy: true - by default is false, change to true to use economy using Vault.
plot_maintenance_interval: 7d - by defaul each 7 days will collect taxes, valid entries example 1d = 1 day, 1h = 1 hour
To check the full configurable settings go Here
Extras
Here are some of the demo videos I have:
The demos are from an older build.
Change Log
v 0.2.6
- new commands to control (currently only powerplots /powerplot
- /powerplot set [type] -change powerplot type (command limited to admins)
- /powerplot upgrade -level up plot (command limited to admins)
- /powerplot info -display powerplot info
- Added enchanter plot (allow higher level enchantments (50), and reduce level of enchant.
- Some bugs were fix.
v 0.2.5
- More permission nodes
- citycraft.admin.build allow build on all cities
- citycraft.admin.switch allow interact cities
- citycraft.admin.use_items allow to use items cities
- New plot abilities, farming, fishing.
- This is more like a preview update the plots types are unfinished only two are fully working.
Notes
I am currently developing the plugin, I am currently working on it, so the plugin is no perfect and may have bugs. If you found any bug or have any suggestion comunicated on Here or here
-
View User Profile
-
Send Message
Posted Apr 30, 2013I keep seeing [INFO] [CityCraft] Event Cancell over an over on the server. What is this and how can I turn it off?
-
View User Profile
-
Send Message
Posted Apr 22, 2013@Zoroark173
Well, Java does not uninstall older java version while updating to new version, you may have both version of java installed, but using Java 6 as the primary one. If you want to use the java 7, uninstall all java version, and install java 7.
The auto-claim: after finish the the plot abilities, i will work on the auto-claim.
-
View User Profile
-
Send Message
Posted Apr 22, 2013EDIT: I am using an older (2.0.0) version of the plugin that's Java 6, and it now runs smoothly. Strange, because the Java website was saying that I have the Java 7 Update 21 installed... Also, PLEASE add an auto-claim!
Hello, I am getting a startup error with the the plugin, even though I have the latest version of Java installed, and the latest RB of bukkit :P
00:25:00 [SEVERE] Could not load 'plugins\CityCraft.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : net/otrebor/citycraft/CityCraft : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.jav a:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java :379) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.UnsupportedClassVersionError: net/otrebor/citycraft/CityCra ft : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) 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.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:173) ... 9 more
-
View User Profile
-
Send Message
Posted Apr 21, 2013Looks nice , do you know a cracked server where i can see this in action ? I might add it on my server , if i like how it preforms since i will be running 5 worlds (Main,fun,nether,end) and i am on a small machine ...
-
View User Profile
-
Send Message
Posted Apr 14, 2013I am currently working on the plot with abilities, the next update will be delayed until I finish with most of the plots types functions.
Update:
-
View User Profile
-
Send Message
Posted Apr 2, 2013@otrebor4
Awesome! Thanks for your interest in my ideas! I'm actually an avid Forge guy, so maybe I can learn some Bukkit API and put 'em in myself someday!
Ideas on user-friendly plot claiming:
-
View User Profile
-
Send Message
Posted Apr 1, 2013@CyberDork34
By default Citycraft is using economy, you need Vault, and a economy plugin(Iconomy, EssentialsEcon) any economy supported by Vault, you can turn off the usage of economy by editing the CityCraft.yml file and change use_economy: true to false. Another thing may be the Unsupported major.minor version 51.0 error, need to update to Java 7 or download the Java 6 version here.
If don't work send me a the server log.
-
View User Profile
-
Send Message
Posted Apr 1, 2013I'm having trouble defining plots with you plugin, no on can build, no one can claim plots, and most of the time, /plot info gets an internal error pleas help :/
-
View User Profile
-
Send Message
Posted Mar 30, 2013@fisherman77 1) By now I am using fix grid because is easy to manage. Also, I try to implement plot joins but was a complete fail for this release(v0.2.0), I will working for have it done.
I have already come with the idea of unregulated plots shape, but haven't come with a easy/user-friendly way of mark the plots, but is something I have planed.
2) Well, in this release(v.0.2.0) I started to make something similar, the plot types. Right now it only have residential, commercial, public. And the only special is the residential, it allow to send plot claim request to assistants if the plot is un-owned. I have some ideas of the public plots adding as a sub-fix tag, ex: farms, shop: the public farm allow city member to do farming activities (allowing to use some items, and able to break some farming blocks), the public shop, will allow city members to create shops (allow to place/break signs, chest).
All the alternative you state sound good. I will try it.
-
View User Profile
-
Send Message
Posted Mar 30, 2013This plugin looks very good so far :) So it best work on a flat world because it deletes the area? Good luck with the plugin.
-
View User Profile
-
Send Message
Posted Mar 29, 2013I have a few awesome ideas that hasn't been seen anywhere else:
1) Free-form plots and city radiuses
Maybe you could harness WorldEdit to help you. This makes sense because not all buildings are 16x16 blocks or whatever square size you set them to. Polygonal plots might be another cool addition later for some of those servers that have really vivid landscapes and buildings. Free-form city sizes could be a good adjustment too.
The only real big problem you face is how to structure cities. Instead of having the same old boring 16x16 squares that are all a specific kind of plots, you have different sized (and potentially shaped!) plots. The problem is the irregularities between the sizes of the plots results in a weirdly-shaped city border. The answer? All freeform plots must be created within the city limits, and those lands that are in between the city limits and those that don't extend all the way are owned by the city to potentially become more plots.
2) Plots that do stuff for you(Yes, it's revolutionary)
What often happens is that you end up with a bunch of plots in a city. Great. You have shop plots, residential plots, municipal plots. They unique in that they have different names, and ... that's about it. What would be cool is if you could incorporate specialized plots, like bank, arrow tower, wall, farm, etc. Each plot has it's own unique features.
The majority of plots might have yield you stuff every set period. For example, a bank yields money, a granary wheat, and a fishery 64 fish. Other buildings would have other unique qualities. An arrow tower would shoot down members of hostile towns, all blocks within a wall plot might be unbreakable, and farms would double the speed of crops to rise.
The magic in all of this is that it would be configurable, to where the server owner creates and edits building types using configs that allow them to make building types that apply to their server's theme (medieval, modern, etc.) and adjust its yields to match their economy and how effective the want the buildings to be.
-
View User Profile
-
Send Message
Posted Mar 18, 2013v 0.1.3 will go out soon, I don't got any problem using v 0.1.2 on bukkit 1.5.0, the 0.1.3 should work on bukkit 1.5.
EDIT:Is taking longer to be a proved.
-
View User Profile
-
Send Message
Posted Mar 14, 2013I haven't received word back from you, I left you a private message. If you want to message me on here or the server website please feel free.
-
View User Profile
-
Send Message
Posted Mar 11, 2013@Ginabrik Change the "wilderness" message is really planned, but haven't decide to what. The possible chose are: out of city, vacant, exiting "cityName", (new) city border.
Well, the auto claim is already planned, but the plot change event is a little buggy (I need to fix it), I am trying to find diverse of way of claim city land.
The snow/ice control seems interesting, I will try it.
the spelling and grammar errors is know (English is no my first language) anyway I am fixing it,
-
View User Profile
-
Send Message
Posted Mar 11, 2013Hi there I know you said not to recommend features possibly from towny but i do have a few suggestions that would make the plugin more stable and efficient for servers. displaying city boarder vs wilderness in chat, auto claim land or radius claim land feature, information on weather the plugin protects from bedrock to 256, possibly control over of snow/ice formation, snow/ice melting, etc.
now also just to give heads up there are some errors in spelling and grammer for when a player is not part of a city and when the city expands.
Overall the plugin is stable and it is easy to use which is nice, I would like to see how it is further expanded as I am trying to find a replacement for towny for the server I run. We are willing to demo test the plugin for you as well. Our server website is buildbattallion.enjin.com. Its a tekkit lite server for further information and it ported over smoothly using forgebukkit.
-
View User Profile
-
Send Message
Posted Mar 8, 2013@dela09 The error is a Java Version Issue I am using Java 7 and seems that you are using an older one, I may build the plugin using Java 6 but may take time. Or you may update your java version to Java 7.
-
View User Profile
-
Send Message
Posted Mar 8, 2013hi there, i've got an error message while enabling this plugin - here's the log, pretty please fix this.
18:33:48 [SCHWERWIEGEND] Could not load 'plugins\CityCraft.jar' in folder 'plugi ns' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : net/otrebor/citycraft/CityCraft : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.jav a:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Caused by: java.lang.UnsupportedClassVersionError: net/otrebor/citycraft/CityCra ft : 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.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) 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.j ava:173) ... 9 more
-
View User Profile
-
Send Message
Posted Mar 7, 2013@NovaCraftNews Don't know if you refer to the ability to allow some players to build on a city, without being assistant. There is already the feature to allow builders on a city, the command to add a player is: Need to be the city mayor. /city attributes (add/remove) playerName [attribute] attributes: -build -switch -use_items -assistants the add player attributes to perform some actions on a city land (not include owned plot, owned plots are private properties so the only ones that have access to private properties is the owner and the city mayor)
-
View User Profile
-
Send Message
Posted Mar 6, 2013im sorry but ive got an idea for your plugin thats there is some Jobs for the special City like builder digger just an idea :)
-
View User Profile
-
Send Message
Posted Mar 6, 2013okay thanks for info :-)