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!!!
-
View User Profile
-
Send Message
Posted May 10, 2012@leezallen
Maybe you can check out the way Essentials does its kit/tempban scheduling? Though you'd have to change and adjust it to fit a rent system.
Also a few suggestions, have the plugin notify a user that their rent is due when they log in. And to have the rent configurable. Some servers may want weekly rather than monthly rent, so possibly /setrent 7d/31d/etc.
-
View User Profile
-
Send Message
Posted May 10, 2012@tallfrogte
Thanks for the kind words. I do not plan to change permissions for wooden doors and trapdoors at the moment but I am already planning another plugin that will allow players to change flags in a claim (stop spawns, stop wooden doors, etc).... But this will not be until after this plugin is officially out of beta!)
-
View User Profile
-
Send Message
Posted May 9, 2012Very cool! Hope to see this develop further.
Will we see wooden doors and trap doors being locked by default with this?
-
View User Profile
-
Send Message
Posted May 8, 2012@Turqmelon WOW! It is quite a buzz to see someone else using your plugin! :-)
-
View User Profile
-
Send Message
Posted May 8, 2012@jmcgee611
Glad you noticed the bug fix.... Just beginning to get worried that maybe the bug was not fixed at all. I am working on the rental but this is probably a little bit away yet! A week or so I am guessing! (I need to wrap my head around the server scheduling!)
-
View User Profile
-
Send Message
Posted May 8, 2012One problem we're having on our server is, without permissions, when a user right clicks any sign they're thrown the error message '[RealEstate] You do not have permissions to buy claims.'
This happens even if the sign is used by another plugin, doesn't have [realestate] or [re] on it, or even if the sign is blank.
Other than that, and the monthly rent, our server is ready to implement this permanently.
Edit: I see that it was a bug and you've fixed it. Never mind me then. =p
-
View User Profile
-
Send Message
Posted May 7, 2012I do actually have a video done showing some player's how to use GriefPrevention + Sell their claims. (Showing your plugin comes about half way through)
If you're interested, I'll leave a link here.
http://www.youtube.com/watch?v=MhPklF01_aU
-
View User Profile
-
Send Message
Posted May 7, 2012@bigscary
Thanks for the encouraging words! You are right about the leasing.... players can be evicted at any point so I really should add a warning.
I am looking into the renting scenario at the moment, the scheduling is giving me a headache but I am getting there!!!!
-
View User Profile
-
Send Message
Posted May 7, 2012@mrcheesete0
What's the reason for wanting the limitation, I wonder?
-
View User Profile
-
Send Message
Posted May 7, 2012Hey Lee, maybe a clarification in your description. You say that the lease is permanent, but really it isn't, because the owner of the top level claim still has the option to remove your permissions. So lease is actually a very accurate term. :) But a warning is still in order.
Instead of editing the sign directly, can users get a slash command like /sellclaim <amount> or /leaseclaim <amount>, which would build the sign for them at their location and facing the way they are?
I'm sure many will ask you to allow for an ongoing lease (each week, make another balance transfer, or cancel the permissions if the leasing player doesn't have the funds). You may want to start thinking about that in advance, if you're not already.
Thanks again for working on this! It's very exciting to see it coming together.
-
View User Profile
-
Send Message
Posted May 6, 2012@mrcheesete0 At the moment, I do not keep track of which areas are for sale and how many claims people have, but I will have to have some sort of record of this in the future for other planned features to work..... so maybe ;-)
-
View User Profile
-
Send Message
Posted May 6, 2012Idea for the To Do:
Add in limits to number of leased plots?
or would that be too hard?
-
View User Profile
-
Send Message
Posted May 6, 2012@Turqmelon Have just had a look and it looks like the permission checking was before I checked the sign header!!!!! So a error message would be generated before we had even confirmed that the sign was a GPRealEstate sign! This has now been fixed and version 0.52b has been uploaded (awaiting approval!)
Thanks for the catch!
-
View User Profile
-
Send Message
Posted May 6, 2012@Turqmelon
Hi, This could be an issue with my debugging lines. I had lines trigger on certain events when I was testing.... Let me have a look and post a fix later!
-
View User Profile
-
Send Message
Posted May 6, 2012Works as intended. One issue though:
It seems that all signs in a claim are thought as a Real Estate sign. I have players who I gave no permissions to buy claims getting such messages when using a shop sign.
Any thought as to this? Perhaps only have it check [RealEstate] signs instead of all?
-
View User Profile
-
Send Message
Posted May 5, 2012@shutka
You are right and I have now corrected this and am about to upload a new version.
As for the source, I do intent to release it to all but not until it is out of beta. Once officially released it will be out on GitHub for all!
-
View User Profile
-
Send Message
Posted May 5, 2012@Turqmelon
Thanks for the thanks!!!! Let me know what you think!
-
View User Profile
-
Send Message
Posted May 5, 2012Thanks so much for this.
I'll HAVE to try this out!
-
View User Profile
-
Send Message
Posted May 4, 2012@leezallen
When this update happens I will use it.
-
View User Profile
-
Send Message
Posted May 3, 2012@AuntieBeast
Just want to say that there is a technicial difference between renting and leasing. Leasing is normally for a much longer time, with everything paid upfront /but/ you do not own the property. This is what has been implemented... a life time lease which lets the /landlord/ retain their ownership.
Renting a property is the next thing on my list of things to do and will be for a configurable amount of time, i.e. day,week, month, etc. Will be at least a week before this release is made though!
In the meantime enjoy!