Flan-Rental

Adding a rental property system to the mod flan

19

Quick challenge

How far can you run before the mobs catch you?

Flan-Rental

Flan Rent – Automated Shop Rentals for NeoForge/Fabric (1.21.1) Flan Rent is a server-side only rental and property system that turns Flan claims into rentable shop plots. It lets servers replace permanent shop ownership with purchase + daily rent, fully automated and hands-off. When a player claims a plot, they’re automatically added as a Flan Co-Owner, keeping protections perfectly in sync. Rent is collected automatically on a daily cycle and can be sent to player banks or a configured target account. If a renter can’t pay, Flan Rent tracks missed payments, recovers back-rent when possible, and evicts after repeated misses. All payments, charges, and evictions are logged, and players can view a full transaction history in-game. Neoforge Supports Lightman’s Currency and Create: Numismatics, with auto-detection and admin controls. Fabric Supports CobbleDollars with the same functionality as neoforge Admin-owned plots can be marked admin-claimed, turning rent into a money sink (rent is collected and deleted). Includes automatic cleanup if a Flan claim is deleted, preventing orphaned rentals. Optional BlueMap integration can display rental plots as map markers and can be toggled or reloaded in-game.

Commands Player Commands /flanrent create <name> <purchasePrice> <rentCost> Create a rental plot inside your own Flan claim. You become the landlord.

purchasePrice = what renters pay up-front

rentCost = what renters pay daily

Only one rental plot per Flan claim unless you are renting out a subclaim - No renting out subclaim and main claim though as that causes some permission issues

/flanrent info Shows details about the rental plot you’re standing in (owner, renter, price, rent, location, status).

/flanrent claim Claim/rent the plot you’re standing in. This:

Charges the purchase price

Sets you as the renter

Adds you as Flan Co-Owner automatically

/flanrent unclaim Ends your rental on the plot you’re standing in. Removes you as renter and revokes your Flan Co-Owner access.

/flanrent myplots Lists all plots you are currently renting (includes coordinates + quick teleport style links).

/flanrent myrentals Lists all rental plots you own (shows whether each is rented or available).

/flanrent history Shows your full rental transaction history (purchases + rent charges, newest first).

/flanrent delete Deletes the rental plot you are currently standing in(rental plot, not entire flan claim) - must have no renter and you must be owner of the plot.

/flanrent setbank <bankName> Sets a custom bank/account to receive rent from plots you own (useful for shared/team banks).

/flanrent setdefaultbank <bankName> Sets the default bank/account used automatically for any future plots you create.

Admin Commands (OP Level 2) /flanrentadmin create <name> <purchasePrice> <rentCost> Creates a rental plot at your location (admin-owned plot) inside a Flan claim.

/flanrentadmin remove <name> Deletes a rental plot and clears renter data (evicts the renter if needed).

/flanrentadmin info [name] Shows plot details by name, or (if omitted) for the plot at your current location.

/flanrentadmin list Lists every rental plot on the server with owner/renter status.

/flanrentadmin set price <name> <purchasePrice> <rentCost> Updates the purchase price and daily rent for an existing plot.

/flanrentadmin set bank <shop> <landlord|renter> <name> Configures where rent is deposited for a plot.

landlord = who receives rent income

renter = where charges come from / renter-side targeting (for advanced setups)

/flanrentadmin set renter <shop> <player> Manually assigns a renter to a plot (useful for fixes/transfers).

/flanrentadmin claimasadmin <shop> Marks a plot as admin-claimed: rent is still collected, but deleted (money sink / inflation control).

/flanrentadmin checkpayments <player> Displays pending or missed rent entries for a player (debugging payment/eviction issues).

/flanrentadmin debug bank <player> Shows a player’s bank balance (primarily for Create: Numismatics testing).

/flanrentadmin debug charge <plot> Immediately attempts to charge rent for a specific plot (great for testing without waiting).

/flanrentadmin currency Shows which currency system is active.

/flanrentadmin currency set <system> Switches the active currency system (if supported by installed mods).

/flanrentadmin currency reload Reloads currency configuration without restarting the server. (Note: some displays may not reflect the new system until a restart, but the requirement is still enforced.)

/flanrentadmin bluemap toggle Enables/disables BlueMap markers for rental plots.

/flanrentadmin bluemap reload Rebuilds/recreates BlueMap markers for all plots.

/flanrentadmin bluemap check Shows BlueMap integration status and marker counts.

ADS