Skip to content
EtienneDx edited this page Mar 7, 2022 · 6 revisions

Welcome to the RealEstate wiki!

Here will be listed all features included in the RealEstate plugin!

Installation

To install this plugin, simply get the latest release for your version of minecraft from the releases section, and add it to your plugins folder.

After running the server once, some files will get created in the plugins/RealEstate folder, including the config.yml file, that you can change to fit your needs.

Usage

This plugin currently includes 3 different usage types : Selling, Renting and Leasing claims.

Selling

Selling a claim transfers it to the buyer once bought. The seller loses all his right over the claim once sold. By default, a player cannot sell subclaim, since it's impossible to transfer ownership over a subclaim.

To sell a claim, you simply need to setup a sign as follow : preSell

The sign will then change into a selling sign : postSell

Anyone can then access the sale informations by sneak-right clicking the sign, and buy it by simply right clicking it.

Once bought, the sign is destroyed directly.

Renting

Renting a claim or subclaim gives the buyer build access for a given period of time. At the end of this period of time, the rent is either renewed, which leaves the buyer build access, or not, and the player loses all access over the claim.

To put a claim for rent, you need to write a sign as follow : preRent

The format for the duration is simple, first the weeks, then the days :

  • "1 week 2 days" means a total of 9 days
  • "2 weeks" means a total of 14 days
  • "3 day" means a total of 3 days
  • "12w 5d" means a total of 89 days (12*7 + 5)
  • "3d" means 3 days
  • and so on...

Again, the sign will then turn into a rent sign, that can be used just as the sell sign above.

Once rented, the sign will indicate who is renting the claim, and until when. This could potentially change, depending on feedback and future evolutions already planned.

Automatic payments can be setup using the /re renewrent [enable|disable] command.

Leasing

Leasing is close to renting, the difference being that at the end, the buyer gets to keep the claim. The lease is paid as multiple payments, split by a certain amount of time between each. If at some point, the buyer cannot pay (the payment is automatic), the lease is cancelled.

To create a lease for a claim, you only need to place a sign containing those informations : preLease

This indicates a lease consisting of 3 payments of 10 dollars, each separated by one day.

Again, sneak-right click for informations and right click to accept the lease contract. The sign will get destroyed as soon as someone accepts the contract.

Config description

A full config description is available at this page

Changelog

1.4.0

Added

  • Readme and changelog files
  • Error messages to messages.yml
  • List messages to messages.yml
  • Info messages to messages.yml
  • Support of GriefPrevention v16.18 and up
  • Disabled resizing of parent claims when subclaims are being rented

Modified

  • Changed java version to java 16
  • Changed spigot version to 1.18.1 (should still support 1.17)
  • Removed requirement for custom GP jar file

Fixed

  • Sign header color formatting being lost on server restart
  • Fixed issue preventing to buy claims due to currencies using $ character
  • Fixed error with /re list
  • Fixed error regarding renewrent

0.2.0

  • Fixed error linked to non hand-related interactions (pressure plates for example)
  • Added possibility to display the prices on the signs with a currency symbol instead of the full currency name.

0.1.2

  • You can now exit contracts using the /re exitoffer command.
  • You can now rent a given claim for a specified amount of times.
  • Offline players can receive mails informing them about their claim transactions (on sell, rent lease, etc...)

Contribute

If you wish to contribute, either for the wiki or the code, please feel free to do so.

Clone this wiki locally