PCB-Homes Redux

I must apologize for long hiatus on my plugins, I had to deal with quite a bit of life issues that I’ve hopefully resolved now. That being said, I’m starting a full re-code of my previous plugin PCB-Homes and afterwords will be upgrading Swearblock to fit my standards.

Now thanks to the advances with command blocks I can make much more aesthetically appealing things and I’m looking for suggestions on what the community would like the plugin to do. At its core, PCB-Homes allows players to sell their homes by creating a sign outside of it and marking it appropriately. Any other player with sufficient funds can come by and purchase the home simply by clicking the sign, regardless if the owner is online or not.

My current thoughts for this are such:
Simplify sign creation to something simple
| [SELL] |
| price |
| |
| |
Which would then turn the sign into this
| For Sale |
| owner |
| |
| price |
As well as provide a hovering “name” above the sign,
displaying it’s price value.

When clicked, it will prompt the user with a message in chat asking them if they
wish to buy this home. If the user types in the command to purchase the home (/purchase)
the sign will be replaced with another sign signifying the ownership of the home.
This sign can be used again if the owner of the home looks at it and types /sellhome price,
which sets the sign back to its for-sale state.

Signs will still be locked with logblock to whomever owns the home.
Permissions will be corrected to allow easy moderation.

Effects and Sounds when you buy a home, because why not

Purchasable sign replacements for your new home.

This is only theoretical for the moment, because I dont know the limitations.
However instead of simply having a sign that displays your name on it, why not have a nice
statue, dog, cat, mailbox, crucified villager, or golem statue that not only displays your name above it,
but also provides your own personal message whenever it’s clicked on? These would behave
just like a sign when applied to /sellhome.

Please leave your comments and suggestions and I’ll see what can be done. :slight_smile:

I think there should be some way of notifying the owner. For example, when you join it says

SomeGuy bought your house for $100
SomeOtherGuy bought your house for $120

Obviously if you were online it just says it in chat.

Also fireworks when you buy a house cause why not.

Also welcome back from the dead :wink:

A way to do that would be to link it to the mail system, perhaps?

I like the idea of purchasing statue type things to replace the sign, but it may look nicer to keep it all uniform, so you can easily tell which houses are ones which have been linked to the system. Unless they somehow purchase a “statue” through the system then can place it elsewhere, but I imagine that would get complicated.

And yeah, welcome back! :slight_smile:

I would love the idea of a rental system…have the possibility of charging a certain amount per month/week/day. It could be fun to set up “hotels” The cost could be auto deducted until they are no longer in the building. You could also rent store space/market space as well.

This will be added.

It will automatically Mail the owner if he/she is offline. Otherwise it will mail AND send a message.
And the statue system would be quite distinct. I’d like to have it so that signs that have been placed on the ground (not wall signs) could be turned into mob statues or even fake player statues that Display “Player’s Home” Above it with a name tag, and when clicked on would send a message to the player in chat with a pre-recorded message. These of course, would not be free and would have to be purchased through the system. However this is an idea and could/could not be implemented, and will come after the mod has been released into the server as an update.

This is an idea I love, however this would require the creation of another database on the server. I’m writing this mod to be as lag intensive as possible, and anything that requires me to create a database on a timer, read the list and cycle through all of the players accounts to see if they have the right funds would effect the server in some way. If I can think of another way to do this, this is something I would love to add.

Anything involving defining a space is also out of the question, it would be intensive to constantly scan locations to see if players were inside them (Albeit possible with trig functions, still intensive and hard to manage.) , as well as store every location.

Maybe a way to auction the house using the for sale signs?

Update, ended up having to use Serializable Databases because Mojang doesn’t want their metadata to stay on restarts. Anywho, here’s a screenshot http://imgur.com/KD3uQZB

Working on fixing minor bugs and additional features now that the core is working 100%

To make things simple, you’ll have to click on the sign with a book in order to purchase the home. I figured its sort of like a deed in a way.

Great to see this plug in still in use even today!

inb4 WTF FERRARI?!

:o

he’s allliiiiiiivvvvveeee