TownyPlots Extended
TownyPlots Extended
The bukkit page is dead. Head to GitHub instead.
What is TownyPlots?
TownyPlots will allow town mayors to set advanced plot types like mines, stocks etc. This Buildings / Factories will fill chests inside of them, speed depending on their level. You can level them up by adding specific blocks or extending them in another way, dependent on the building.
.
.
.
.
.
.
.
...no really. All the info you need can be found on GitHub.
.
.
.
.
As you wish.
Features
- Create advanced plot types
- Level your buildings!
- Info signs - Just write [binfo] in the second line of a sign to make it the info sign.
Currently available buildings:
- Lumberjack's hut
- Mine
- Stock / Warehouse
- Sheep Farm
- Wheat Farm
Planned
Buildings:
Basic plants:
- none at the moment
Further processing plants (Speed depending on distance to input chest and level):
- Stonemason
- Smelting pit
- Wheat mill, Bakery, maybe redone bread baking system with meal
Other Buildings:
- Living House (Brings your town money / taxes)
- Town Hall
- Harbor
- Market
Misc:
- API
- Global Market System
- Road System
- Database support
- New upgrading system (Chest dependent)
Dependencies
You need the following plugins for TownyPlots Extended to work properly:
Config
You can read about the config here.
Permissions
- townyplot.admin - Allows players to break plot chests eg.
- townyplots.set.reset - reset a plot
- townyplots.set.[type] - set a plot of the specific type
- townyplots.building.addchest - Permission for /building addchest
- townyplots.building.info - Permission for /building info
Commands
- /plottype [type] - Set plot Type
- /plottype reset - Reset plot type
- /b(uilding) addchest [output / input / level] - Add chest for the building you are in
- /b(uilding) info - See level info for the building you are in
This project is semi-active now.
@Typical_Name
Yeah, the building size is now always equal to the Towny Plotsize.
@Kleinerminer @Sehales
What a strange assertion o_O. I have seen servers that use 8x8 townblocks in order to have more fine control over their land management. 16x16 is much too big, in my opinion.
@Sehales
Removed that useless functon, you are right.
@Kleinerminer
Maybe there could be some kind of multiplot structures or you just test if the claim size is set to 16x16 or bigger and if not then one can just not use the plugin at all. Anyway I never heard of a server that uses a custom townblock size :/ So if your buildings do not exceed a size of 16x16 there wouldn't be any problems or as I mentioned above, you have to implement some kind of multiplot buildungs, but I think that would be odd and especially for small towns it would be more annoying than helpful.
Btw, I am using JDK 7 now.
@Sehales
Yeah, but what if the building size is greater than the Towny plot size?
@Kleinerminer
I guess the protection of the buildings wouldn't be hard to do with towny...
@Sehales Source code is now added. And that whole java 8 thing, well, java 8 is out for a couple of months now, I think that it shold be used, too. Java updates are a nice thing for me. If it is really necessary, I will get java 7 again. I would appreciate if you could test the whole thing on your server, and yes, I am german :)
@xH3LLRAIZ3Rx Hmm, that is an interesting idea. I would more likley allow the player to add a "upgrade-chest" and count the items whithin it. As the chest gets the config predefinded material counts, The building would be upgraded and a new building would appear. The problem is putting that whole thing smooth to the landscape, and I also had to prevent the player from gaining the blocks again, so he could not destroy the blocks used in the building.
If you want I could test it out with spigot 1.8
But I think there will be no problems with it, as long as you don't use any NMS stuff, which I don't think that it is needed for this plugin.
Btw. you have released the plugin under GLPv3, so you have to provide the source code of your plugin.
And btw. is there any need for using Java 8? it would be nice to have a Java 7 version, because there are a lot of (root) servers out there which still do not support Java 8 at the moment.
Btw. if you are german (your name has a german word in it, if you are confused why I got this idea) you could contact me in german via private message, if you want.
oh and it would be interesting if you did something like Civcraft
@Kleinerminer
or maybe make it where when you want to Upgrade, you have the resource in your hand, do a command, and it will upgrade the building to another tier, for example: upgrade mine, and it changes how the Mine looks (that is if its where it places a premade building)
@wiedzmin137
Yeah I know that there are a lot of things I could do better, but I don't know what criteria I could use for upgrading buildings eg. I think I will disable placing ores in mines for example, and for the huge towers I could add a building limit relative to the highest non-air block in the plot.
Thank you for your Suggestions, I am expanding the ToDo list now :)
The entire idea (as well as current code) looks very intelligent and reliable. It should upgrade Towny unbelievable To compatible economy with it you should make price per create custom plot and taxes by the server (good will be event for it for developers). Also API for registering custom plots will be awesome too.
As I understand (correct me if bad), upgrading plot is done by adding more sources for it, e.g. woods for Lumberjack's hut. It's nice idea but it will looks strange sometimes and players will make mountains from wood or diamond ore (for mines). Interesting, I want to see it in action somewhere
Also, you should make amount of buildings in same time fully configurable. Also flatfile.yml isn't best method of storage, try to use SQLite (I know managing such database is harder but it will better than fat yml).
BTW you made mistake: 'You need the following plugins for TownySpout to work properly:' (Dependencies).
@xH3LLRAIZ3Rx
Thanks, I hope I can do much more stuff for this plugin soon
Seems like a good idea