Grief Prevention - Real Estate
Grief Prevention - Real Estate aims to extend the Grief Prevention plugin by allowing users to be able to buy and sell claims or subclaims. Currently this is one of the biggest requests that are made for this plugin and the author has pointed out that they are concentrating on anti-griefing aspect of GP and that the API is there for anyone that wants to help extend the project!
BETA RELEASE
Note: You must have Grief Prevention and Vault installed for this plugin to work. You must also have an economy system and permission system supported by Vault.
Using this plugin could not be simpler, you sell a claim (or lease a subclaim) simply create a sign in your claim or subdivision as follows..
LINE 1 - [RE] or [RealEstate]
LINE 2 - The cost to buy or lease this claim ,i.e. 100
Once you have created this sign one of two things will happen.
- If this is a full claim the sign will change and the plot will be put up FOR SALE
- If this is a subdivision the sign will change and the plot will be put up FOR LEASE
To buy or lease a plot a player simply needs to right click on the sign and all relevant permissions will be granted and money will be transferred! If the plot was marked as FOR SALE then the player will be the new owner, if the plot was marked as FOR LEASE then the plot has had all previous permissions wiped and the player now has PermissionsTrust and Build privileges.
Note - Players do not lease a claim for a set period of time; the lease is permanent. The terminology is different to distinguish between the permissions received between a claim and a subdivided claim. With a subdivided claim the new player is not made the owner of the claim but is given full management and build permissions (but the owner of the parent claim will also have full permissions!). However, the land owner could still evict the new player at anytime - You have been warned!
Although this is a beta build it has been tested to for stability however I cannot guarantee that it will work with all configurations. If you experience a problem please let me know what happened, what you was doing and what plugins you have installed (report a ticket).
Please note that no configuration file is produced at this time and therefore no directory is created in the plugins folder.
PERMISSIONS
The following permissions can be used.
Permission | Description |
---|---|
GPRealEstate.buy | Allows players to buy claims by right clicking signs - Everyone gets this by default. |
GPRealEstate.sell | Allow players to see claims or subclaims by creating signs (see instructions above) - Everyone gets this by default. |
GPRealEstate.Adminclaim | Allow players to lease subdivided claims in admin claims! - OPs gets this by default. |
GPRealEstate.* | All of the above permissions. OPs get this by default. |
FAQ
Please read the separate Frequently Asked Questions page.
TO DO
Add vault economy system - players will set price of the plot using the second line of the sign.Permissions - Permissions to buy, sell and lease.Allow administrators to lease subdivided claims in an administrative claim.- Allow owners to lease a subdivided claim for a set period of time.
- When finished the above, create a video!
Optional
And a couple of optional todo items. These will be implemented if there is enough call and it is not beyond the ability of the existing code!
- Limit the number of claims that a player can buy/lease/rent.
- Add item system - players will also be able to sell plots for items using the second line of the sign.
Do you find this plugin useful?
If you find this plugin useful then please feel free to donate using the link at the top of this page! Donating helps me keep my costs down and encourages me to code!!!
Please be fast! Im getting exited to try it out!
And the sign thing is cool!
:)
OK, so this is taking longer than expected! This has been because I am a complete Java/Plugin noob and I think that writing a plugin to integrate with two other plugins may have been ambitious! This weekend though is looking like the release date!
Currently Working - Set claim for sale by putting down a sign with the details on. Player can buy by right clicking - Set subclaim for permanent lease by putting down a sign with the details on. Player can buy by right clicking - Price includes information about the price (currently this is in gold blocks but plan to use economy soon)
Source Code will be released on completion!
So will there be gold/diamond buying and selling of plots from the get go?
Again, thanks for all the support. Almost finished the first alpha release. This release will let you...
At this stage I do not think I will have a rental system in place (i.e. payments every x days/weeks/etc but I am working on it!
I am going to test over the weekend and then post on Monday/Tuesday
I do have 2 servers... a 2 GB one that you could use. I also have a 384MB small server you could use! I can give you full file control and console with manager/tester rank.
PM me!
pmed
@mrcheesete0
Hi, that is a really generous offer! I have a production server but nowhere to test so it is greatly appreciated! PM me please....
Lee
For testing, I have a small 256mb server I can give you access to so you can test it in a secured testing environment if you wish.
I actually use it JUST for testing single plugins, or when i install new plugins to make it run the setup 1st tiem use configs and whatnot, then i download all the files it creates to my PC, config them how I like, then upload to my running-server
Wow, Glad everyone is getting onboard! Sorry not to get back sooner but started the project and then went on holiday for a couple of days! (not the greatest idea on my part!)
@Confuzzled : The great argument between signs and commands... commands are hidden from the user so some people are not even aware of the plugin.... signs are problematic because of formatting.... Initially I think that commands are the way to go. With signs being added later maybe (so everyone has a choice!)
As for a date of release.... It will probably be some point next week! I am aiming to get a lot of it finished over the weekend (and then will test on my server for a day or two). I am still getting to grips with the API at the mo!
@mrcheesete0 - This is pretty much what I am thinking, there is an issue with the current API though which I am going to speak to the author about today.
@Zedadiaswick - I like the commands idea, what I really like is the feedback to the player. It seems very much in the style of GP's core idea of simplicity.
Anyway, I can see that everyone is really wanting this mod so I promise to try to paste progress everyday!
@mrcheesete0
This sign system sounds great, but I would hate to be forced to have a sign outside a plot, potentially ruining the aesthetic of the build/area. Sometimes having a visual sign outside a plot would be preferable like this, but in my opinion this should definitely be optional; allowing for use of commands instead.
On my server, I currently rent out shop plots in the main city. The system I have in place is that there are 6 chests (corresponding to 6 plots) in a central building, each using the PhysicalShop plugin (a sign above the chest, right click with iron in hand to add iron to chest) to allow players to deposit the rent at the beginning of each week. I really like this system, they don't have to manage commands and keeps managing the payments in their hands. Obviously I use items as currency, allowing shops to trade in iron, gold and diamond. So I would very much appreciate being able to set up an automated system for renting plots with items, rather than an economy plugin. .
The way I would like it to work:
- Stand in subdivision/claim and type /sellclaim [claimname] [price] or /rentclaim [claimname] [period] [price] where period could be 'day' or 'week' or 'year', or perhaps 'hour', and claimname is a custom name for the subdivision. subdivision/claim is now up for sale/rent. (allowable periods configurable)
- Stand in subdivision/claim and type /buyclaim or /rentclaim, it then displays the terms (period, price etc.) Type /buyclaim accept or /rentclaim accept, it then gives payment instructions.
- My preference is to allow items to be deposited into a chest, assign a chest to the claim purchase/rent by either placing a sign on the chest (in front of) with '[name]/[rent]' on it (wherea third line would represent the player who has rented it), or type /claimrentchest whilst looking at it (or prior to right clicking on it). Then have it check every period beginning for the required item number in that chest, and remove it.
- Could also do /payrent [number] (allowing them to pay in advance), which would deposit into the chest provided
- A further chest could be assignable, with '[income]' on the sign on the chest, or by typing /claimincomechest whilst looking at the chest (or prior to right clicking on it) Then have the income from the rent chests paid into it every period.
- If no rent is in the chest at period beginning, close access to claim, and notify owner on next login.
The above would work for me, but not for general players, to avoid abuse it'd be better to have the item stored in the plugin, then deposited into the income chest at period end. This'd avoid owners from removing items in the rent chest before period beginning, thus closing their access to the claim prematurely. Maybe allow this to be configurable? Otherwise, I'd take only accessing it with a command, dropping the chest support altogether. I just like using chests, keeping transaction in-world.
I asked a friend of mien who does java to do something like this, and this is how I told him I think ti should work:
http://dev.bukkit.org/server-mods/grief ... mentation/
http://dev.bukkit.org/server-mods/vault/
I use the first one to create plots in my town. The second one is a Standard API for anything economy-related that will hook into my economy plugin.
Basically, I have a plotsystem set up in a grid on the first one with a HUGE 800X800 block area as a claim, and smaller 33X33 block Subdivisions inside of it to rent to players.
I would love a way to Place a SIGN that "sells" subdivisions.
The simplest way I can think of to do this (I could be wrong, I have not extensively looked through grief-prevention's API hooks available) is when I stick a Sign with a specific Parameter on Line 1, it will search around it for the nearest Subdivision and then sell /trust and /permissiontrust to THAT subdivision for a configurable price on Line 3.
Maybe, after selling the plot, it re-writes line 2 to say "SOLD" and line 3 to be the new owners' name?
so basically sign before player-interaction:
[SELLPLOT]
$500
blank
blank
After Player-Interaction:
[SELLPLOT]
SOLD
BobTheBuilder
If thats too complicated, I completely understand. Let me know if you think you'd be up to that at all? If you were btw, and you released it publicly, there is quite a few people waiting for a plugin like this, who might be willing to donate in thanks for developing it.
In case you're wanting imput at all.
I really dont care, hopefully we can have both.
Do you have an estimated release date leez?
The signs, are still a function I would like to have available.
@CharlesWCrete
I think signs goes against the concept of ease of use for player that GP has put together...Formatting for signs seems to be the hardest things for people to understand on my server.
Although it's not up to me :P
Signs Would we VERY helpful... They auto delete?
Suggestion on how it will work...
/sell or /claimsell X where X equals price. This puts it up for sell.
User walks into a claim, wants to buy it, they do /buy or /claimbuy and will be shown the boundaries, told the price and told the command to buy it. Maybe /claimbuy accept. If the claim is not for sell, they will simply be told it is not for sell.
I have a lot of ideas if you want more detail. I'm really glad you are doing this. :)