Townships
If you want players to be able to build outside of regions, then remove EffectWilderness.jar
I renamed HeroStronghold to Townships. It has a lot more features, so I'll be updating this page over time. For now, use the sample configs that come with the plugin as an example.
Townships is the best Town plugin out there because you can require players to have houses, forges, farms, inns, hospitals, etc before they can create a town!
If you dont think minecraft is addicting enough, what about minecraft tycoon? What if you could make structures that cost money, but give you items/money over time? That's exactly what this plugin does! I imagined using this plugin as a way to reward players for building certain strutures/shrines, but it has evolved so that you can configure it to include any structure/town you want!
For instance, if a player builds a bank using certain blocks (defined in your config.yml) and has enough money, that player can type /to create bank and it will turn the bank into a Townships that, if provided the correct raw materials (paper and gold for example), can give you a steady income! The possibilities are limitless because you define the types of structures players can create in regions.yml.
Also introducing Super-Regions! Basically, super-regions are regions that require regions instead of blocks. This way you can make a super-region called Town that requires regions such as Houses, Inns, Taverns, Farms, etc. Super-regions come with their own banks, chat channels, per-user permissions, taxes, and power.
Also, this plugin hooks into Heroes so you can grant buffs and debuffs to players near your structure. For example you can build a LightningRod that grants your Heroes class name LightningMage a passive health regen buff. Work in progress Effects List.
Installation: Installation Page
Alternative Preset Configs:
Features:
- Allows permitted players to create Townships using certain blocks/money defined in config.yml
- Townships grant money/items during every cycle (cycle length defined in config.yml)
- Townships cost items/money to maintain during every cycle
- Townships can be destroyed (and even explode!) if key blocks are broken
- Townships can also grant nearby Heroes passive buffs/debuffs
- Townships can also grant build protection
- Effect List work in progress
- Super-regions which require other regions instead of blocks. So you could create a super-Townships called "Town", which requires Townships like "Inn", "Farm", a few "House", etc.
- Banks for super-regions
- Separate chat channels for each super-region
- Taxes for super-regions
- Power for super-regions (if a member dies, then their super-regions lose 1 power each. If a super-region reaches 0 power, then it is destroyed).
- Per-user permissions, see Super-Region perms
- Wars!
- Limit the number of regions players can build with groups.yml
- Biome specific regions
Requirements: Vault
Optional Requirements: Heroes, an Econ plugin, a Permissions Plugin (see vault for supported plugins)
Permissions:
- townships.create.all lets you create any township
- townships.create.<type> lets you create a township of that type
- townships.admin lets you bypass townships ownership checks
- townships.join lets a player join a super-region
Commands: see Commands
Other Videos: Effect Gate EffectConveyor EffectEvolve
This project uses code from the Heroes SkillManager.java and credit for Townships external Effects system goes to the Heroes Development Team, which includes me
Source: https://github.com/Multitallented/Townships
Effects Source: https://github.com/Multitallented/Townships-Effects
Does the latest version work for 1.7.3 (or whatever the latest stable build is that doesn't require a client update), or only on 1.7.8?
@Mike0so
Well, I've created an hamlet and a shack using the default configs and I didn't get any errors. Use pastie.org to show me the error you are getting. Also, what region or regions are you building?
http://pastie.org/9075615
No i have it not disabled, i've using the standart config and effects. I wanted to try it out because i run a heroes server and its a awesome town plugin i can hook into with my class teacher plugin and so on. But everytime i create buildings the PlayerInRegionEvent throws errors.
What does this event do? Do i have any "problems" when disabling it?
@Mike0so
Which effects are you using in your effects folder? Do you have the PlayerInRegionEvent disabled in your config.yml?
Getting an event error , PlayerInRegionEvent couldnt be attached to your plugin.
Others doesnt having this error?
@Proxwian
How would you want players to capture super regions?
There is a way you can capture regions using super regions. Players can create super-regions with effect "control" which let them add themselves as owners of any region under the controlling super-region. On my server we called these "wards". Another way to do it is to give the "control" effect to your towns and have invaders make a new town in order to take it over.
Hi, please add function for capturing regions in super regions, who hasn't money and power
@VariousArtist
Thanks!
Multi, I didnt expect you to continue this! What great suprise to see this promising plugin back on the racing track!
Kudos!
@Typical_Name
There isn't a more recent build, but the last version works fine. I'll have a new version out tomorrow.
I didn't realize that this plugin was still being given attention... I is happy. Is there a dev build hosted somewhere other than BukkitDev that is newer than the June 3, 2013 build? I vaguely remember seeing dev builds of Herostronghold hosted somewhere else (I think on the Heroes website) a long time ago, but I can't find the link anywhere on this page.
@Multitallented
Oh, awesome. Thanks for the quick replies!
@Xikage
You can do that too. In the installation page it now tells you that you can set a region to be considered part of a group. In super region requirements, you can require one region from a group, instead of the specific region. In the example for arrowturret it says:
You can't have regions require one set of blocks or another, but you can have multiple regions that are considered the same, but have different required blocks. I like to do this for biome-specific buildings.
@Multitallented
Alright, that works. Another thing I thought of while setting up some things was this: is there a way to have regions require one OR another type of building? Or to have a building require either one type of block or another?
I'm encountering an issue where some players want sandstone houses, others want stonebrick houses... Right now it looks like I'll have to make regions for sandstone houses, stonebrick houses and then superregions for sandstone towns, stonebrick towns, wood towns, etc, etc.
Could there perhaps be a way of generalizing this? Like a town requires a 10 houses, and a "house" can be either a stonebrick house, a wooden house, or a sandstone house?
Thanks for your reply!
@Xikage
You could give them "/hs addperm house <playername>" so that they can build houses. They don't have to be an owner to build hs regions there. You just have to give them permission. I think "/hs help" has more details on addperm, which can be used to exempt taxes, add members, and give titles in hs chat.
@Multitallented
Awesome to see that his plugin is going to possibly be worked on again. HeroStrongholds is certainly a lot more interesting and dynamic then any of the other town plugins out there.
If you'll be adding features again, the only thing I'd suggest is adding a way for the leader of a super-region to allocate land to members of the region that they can build in, rather than only being able to give them full access. Assuming there isn't already a way to do this... I was never able to find one.
Works on 1.7.4
Hey all, long time no see ^_^;
Wow I've gotten way better at coding since I made this plugin... I'm going to go back through this and clean up the code to make it faster (looking at that PlayerInRegion call specifically). Also, I want to fix arrowturrets so they do exactly the damage you want. Lastly, I'll be looking at the mcmmo api to see if I can require certain levels in herbalism, mining, etc before making an hs region.
If I can find the time, I'll be finally making this allow for id/data values and not just item names
@usevalue
Aye, I second that. Let's please have a 1.6.4 version :-)
@AlmostLuckyDucky
I support this suggestion (ID numbers) and would gladly pledge $20 if it meant we got to see a 1.6.4 update of this. I don't know whether that would convert to sufficient caffeine?
@Sadorhael
It doesn't seem likely that this plugin will get updated. However, are you sure that this plugin is the one causing the problem? Try taking Towny off and then running the server, and see if it continues to give the error. If it still does, try posting the full error report here.