GPTownship

TownshipLogo

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

GitHub https://github.com/AydinE/GPTownship

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of Valconeye Valconeye May 29, 2014 at 04:38 UTC - 0 likes

    So far it is working great.

  • Avatar of Valconeye Valconeye May 24, 2014 at 15:02 UTC - 0 likes

    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.

    Last edited May 29, 2014 by Valconeye
  • Avatar of leonardiMC leonardiMC Apr 26, 2014 at 18:45 UTC - 0 likes

    @n0nnie: Go

    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:

    • [TownShip] <- First line
    • 123 <- Second line.

    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

    Last edited Apr 26, 2014 by leonardiMC
  • Avatar of n0nnie n0nnie Apr 22, 2014 at 09:39 UTC - 0 likes

    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?

  • Avatar of leonardiMC leonardiMC Jan 22, 2014 at 00:06 UTC - 0 likes

    @TheShadbusher: Go

    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

  • Avatar of TheShadbusher TheShadbusher Jan 21, 2014 at 22:24 UTC - 0 likes

    The config.yml and upkeep.yml are blank.

    Don't let anyone look down on you because you are young, but set an example for the believers in speech, in life, in love, in faith, and in purity.

    1 Timothy 4:12

    http://minecraft-mp.com/regular-banner-36994-6.png

  • 6 comments

Facts

Date created
Jan 18, 2014
Category
Last update
Apr 26, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
GPTownship
Downloads
196
Recent files

Authors