Sorry my English. I`m Russian.
The essence of the thing. I want players to be able to rent/buy areas for various periods. Ideally:
If you put a sign and write this:
- [Rent]
2.(region_name)
3.(price)/(time)
4.(sign_name)
After installation of such signs changes to the text:
- ===============
2.(sign_name)
3.(price)/(time) - ===============
Example:
- [rent]
- home1
- 100 / h (h - hour, m - month, y - year)
- My Home
\ / \ / \ / \ / \ /
- ===============
- My Home
- $100 / hour (month / year)
- ===============
If you click on the sign will open chest inventory called “Are you sure?” (Only with the right amount! If the amount is not, then just chat shows “You have not money!!!”)
In the chest inventory you can see:
1.Green Wool (preferably the ability to customize in the config) titled “Yes.” Obviously, if it pressed, the area is leased from the player’s account and this amount is deducted.
2.Red Wool (preferably config) titled “Cancel”. When it is pressed, the window just closes.
Once the lease is inserted instead of the price nickname tenant
- ===============
- My Home
- CayzerOK
- ===============
Teams:
/ has - Information on renting regions. In the chat there is something like this:
Your apartment:
1.My Home - (the time until the next payment)
Obviously, the larger the shot regions, the more lines in the list.
ALTERNATIVE:
If you click on rent-tenant sign player chat appears:
It remains to pay: (The time until the next payment)
Buying region:
as well as the rent, but is given to the region forever. If a player did not go 90 days (preferably setting in the configuration), the region of the meat put up for sale.
So, instead of [Rent] written [Sell].
It looks like this:
- [sell]
- home1
- 1000
- My home