GPTownship
GPTownship
Requirements
GPTownship relies on a couple of other plugins to actually work.
- GriefPrevention
- Vault
Description
Extending on top of the work that leezallen and SuperPyroManiac who made the Real Estate plugin for GriefPrevention. I wanted to give more functionality to the existing work that they provided and lock in GriefPrevention with an economy even more so.
I have always prefered GriefPrevention over any of the other plugins that allow you to protect your lands. The simplicity of claiming land even for a new player that has never worked with the plugin, instead of having to do research on all the different kinds of commands has always appealed to me.
But if you want to run a working economy on your server I feel that buying and renting out land should be a massive part of that economy. following the work that leezallen and SuperPyroManiac have done in the form of GP Real Estate for quite a while now I had always hoped that they would implement a system where rent was collected daily instead of just once, when people buy/rent the claim.
So I have taken matters into my own hands so to speak, Not nearly as proficient in Java as I would have liked to be, I have added some of the core functionality at this point and I would like some of you to give this plugin a bit of a test and give me feedback on what I could add/improve on.
Functionality
Selling and Renting out claims
Setting up a sign on your claim with the [TS] or [Township] (Not case sensitive) on the first line and a price (Example: 123) on the second line will put your claim up for sale. Anyone right clicking that sign (with the right permissions) will buy this claim from you transfering money from his account into yours ownership of the claim will be lost in the process.
Setting up this same sign on a subclaim though does something completely different. This will put your subclaim up for lease, Anyone right clicking will rent this claim from you. Resulting in that player being named "Manager" on that claim. and being automatically charged at a specific time (set by the server administrator) by the amount that you put on the second line of the sign. (Setting the value after RentCollecthour in the config to 0 will turn of auto collecting of rent)
Once a player has rented a subclaim from you he will have this claim for as long as he is able to pay daily rent. If he is unable to do so he will be removed from the claim. Additionally he may also use the /townshipleave command to end the contract for the subclaim he is currently standing in.
Permission Nodes:
- GPTownship.* - Should give you all permissions, might not actually be accurate at this point in time.
- GPTownship.sell - Allows player to sell claims and subclaims
- GPTownship.buy - Allows player to buy claims and subclaims
- GPTownship.Adminclaim - Allows player to sell admin claims
- GPTownship.collect - Allows player to run the /townshipcollect command (There is an automated system built into the plugin that lets you collect daily rent at a set time specified in the township config, this command is intended to be used only if that system fails for any reason)
- GPTownship.leave - Allows player to end contract for the claim he is currently standing in.
Commands
- /townshipcollect - As mentioned above to be used only if the built in collection mechanism fails for some reason.
- /townshipleave - As mentioned above the player can use this to end the contract for the claim he is currently standing in.
Notes
This plugin is really new, Any feedback is greatly appreciated.
Current planned features:
- /townshipevict - Evict player from the sublclaim (Not quite sure how to implement this feature at this time since it could be used possibly to evict players and the owner of the claim could then just steal all of the items.)
- Max subclaims - I read somewhere that someone requested this feature for GP Real Estate I will try my best to implement this here.
Plugin Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Source
If you want to help build the Township plugin check it out on GitHub
@n0nnie
Sorry n0nnie I totally overlooked your ticket!
@leonardiMC
Look at your Tickets please =)
So far it is working great.
Just found this plugin! Going to test it out on my new 1.7.9 server that I'm currently setting up. Ill give some feedback after I am able to test it fully.
BTW, this is the plugin I have been waiting for. It will be perfect for my EcoPvP server.
@n0nnie
Hey n0nnie,
Yes you can choose to either sell or rent out a claim.
The difference is when you sell a claim you will get a 1 time fee. Set up your sign like this:
Now this will sell the claim for 123 of the in-game money that you have (you need to have an economy plugin and vault installed on your server)
if however you put you sign on a SUBCLAIM that means you are renting it out. So setting up the exact same sign but putting it on a subclaim means that the person will automatically pay 123 of your in-game money to the person that owns the claim.
If you need more help or if I didn't answer your question let me know
- Leonardi
I will definite check this out. I totally agree with your opinion about GriefPrevention. It is so easy to use, even my players can handle it ^^
But one Question:
You wrote in your permissionlist:
GPTownship.Adminclaim - Allows player to sell admin claims
So it is possible to set up Plots with GriefPrevention and to sell them?
@LeeTheENTP
Wow that's a little awkward...
Probably removed one to many lines while cleaning up the code for release =\
Anyway in the latest version that I just uploaded (Version R.0.98.2) the config.yml will be loaded properly by default.
I don't know when that file will be available due to bukkits approval process. (Note also that there are a couple versions that I uploaded between this one and R.0.98.2 that will still have the empty config)
The upkeep.yml is actually supposed to be empty and will be filled up once people start leasing claims.
- Leo
The config.yml and upkeep.yml are blank.