Home Selling Plugin

Per request of Ferrari, I have created a plugin that will allow players to sell their own homes.

To put a home for sale, place a sign with the following layout
[FOR SALE]
Price
-leave blank-
-leave blank-

This will make a for sale sign, which the creator can break. To purchase a sign, right click it. If you can afford it you will buy it. This will change the sign to an owned sign with your name.

Want to resell a home you’ve bought? Do /sellhome price and click the sign. This will put the home up for sale.

The plugin will be added soon, and is pending changes and potential debugging. If any bugs are encountered or ideas are thought of, please PM me.

Will the plugin only affect the money being more easily transferable or is the plugin also gonna allow to define a region for the home that makes it “unbuildable” until purchased? Might be something to consider if it’s still in the works

This plugin was made to make money transfer easier. Homes will still be “unlocked” like before. The only locked block is the block the sign is on. I felt we didn’t need to lock the whole house, since that could get complicated with town areas, apartments, and whatnot.

Has this been discussed in staff board? I think it’s important if it has not.

It was a suggestion that was passed a while back. It got approval from Andy, along with much of the staff.

http://projectcitybuild.com/forums/index.php?topic=6830.0

But, if you feel we should discuss it, I don’t see why not.

In that case I think that the best way you can handle this plugin is if you only do this for houses protected by a fence or bush, or whatever. That way there isn’t a way to “break in” and the only way in would be either through a gate or just a front door

Isn’t that how most houses are? This ppugin isnt to protect houses more, only to ease the buying/selling process.

Nonono if it was already discussed then I’m all good with it, just never caught that thread

Couple Questions…

1.) How does it log who is selling what sign?
2.) When is the money actually transferred between accounts?

  1. LWC. The sign actually pays whoever owns the sign with LWC.Then swaps over ownership to the new owner. It does display who is selling the home at the bottom line, however.

  2. Money is transferred when the sign is bought (right-clicked).

Could we get an Admin to put this in?

May I suggest adding rents? I was discussing this with Ferrarri yesterday about how this would work, and here’s what we came up with:

The format would be something like this
[FOR RENT]
12345($12345)
1 M(every 1 month)
(Leave blank for name)

Then when the rent is due, the person gets a notice through their in game mail, and after five days, if he or she doesnt pay the rent, the ownership goes back to the owner and all the items inside the house are given to the owner of the house.

This wouldnt cause problems because the player already had a 5 day grace period to either move out or pay the rent.

Rent isn’t a bad idea, it prevents inactive people from taking up all the property in your city.

I would have rents more like this. You right click the sign and it will automatically pay. If you don’t have enough money it will tell you at regular intervals.

You would be able to use /rent stop to cancel the rent. The sign would automatically be put back to how it was. It might also be cool to have a terms of rent, such as “You cannot modify your house” ect…

Or maybe even an option to rent or buy a house, that would be good.

Sadly, I will not add Renting. It’s a good idea yes, but I’m attempting to keep the plugin from running timed tasks and such. I can easily do it, but I’d prefer to just keep it simple. If I were to do rent, I would have to find a way to determine how to store the data for signs in an offline database, then read the data on start/shut down. And then the time calculations/when to swap the money. It’s better to just keep to simple buying and selling.

Rent sounds like a good idea but I can see people possibly forgetting it. As for the plug in it’s self i will say it actually is a handy idea, offline buying would be a great thing too for people in different timezones who aren’t on the same time as the seller of the home.