Files
DarkflameServer/dDashboardServer/routes/PropertyRentRoutes.h
Aaron Kimbrell 680615ba9f feat: optional property rent
Off unless property_rent_enabled is on. Each property world's rent comes from its PropertyTemplate
row (minimumPrice every rentDuration x durationType; Block Yard is free), unless the new Property
Rent dashboard page sets another price or period (property_rent_manage). Rent is taken from the
owner's coins shortly after their character loads, with a mail receipt; unpaid rent is mailed and,
after property_rent_grace_days, makes the property private until it is paid, like live. The
property management component refuses public or best friends privacy while rent is overdue and a
property world that loads overdue makes itself private. Property game messages are unchanged.

Fixes #943

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:30:52 -05:00

11 lines
381 B
C++

#pragma once
/**
* The Property Rent page: each property world's rent from its PropertyTemplate row and the price and period staff
* set instead (IPropertyRent). Viewing needs properties_view, changing property_rent_manage. Rent is only charged
* while property_rent_enabled is on (see dCommon/PropertyRentRules.h).
*/
namespace PropertyRentRoutes {
void RegisterRoutes();
}