跳到正文

Flan-Rental

作者:UnderEz

Adding a rental property system to the mod flan

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Flan Rent

Automated Shop Rentals for Flan Claims
Supports NeoForge & Fabric (Minecraft 1.21.1)

Flan Rent is a server-side rental system that turns Flan claims into rentable shop plots.

Instead of permanent ownership, players can rent shops using automated purchase and daily rent payments. The mod handles payments, evictions, claim syncing, and transaction tracking automatically.

When a player rents a plot, they are automatically added as a Flan co-owner so protections stay fully synchronized.

Features
Fully automated rental system
Daily recurring rent collection
Automatic Flan co-owner syncing
Missed payment tracking and eviction system
Transaction history logging
Admin-owned plots and money sink support
Automatic cleanup when Flan claims are deleted
Optional BlueMap integration
Server-side only
Currency Support
NeoForge
Lightman’s Currency
Create: Numismatics
Impactor
Fabric
CobbleDollars
Impactor

Currency systems are automatically detected and can be switched through admin commands.

How It Works
A player creates a rental plot inside their Flan claim
Another player rents the plot by paying the purchase price
Rent is charged automatically every day
The renter becomes a Flan co-owner automatically
If rent cannot be paid:
missed payments are tracked
back-rent is recovered when possible
renters are eventually evicted
Player Commands
Create a Rental Plot

/flanrent create

Creates a rental plot inside your Flan claim.

purchasePrice = upfront rental cost
rentCost = daily recurring rent

Notes:

Only one rental plot per main claim
Subclaims may also be rented
Renting both a main claim and subclaim simultaneously is not supported
Plot Information

/flanrent info

Shows:

owner
renter
rent cost
purchase price
plot status
location
Claim a Plot

/flanrent claim

Pays the purchase price
Sets you as the renter
Adds you as a Flan co-owner automatically
End a Rental

/flanrent unclaim

Removes the renter and revokes Flan co-owner permissions.

View Your Rentals

/flanrent myplots

Shows all plots you are currently renting.

/flanrent myrentals

Shows all plots you own.

Transaction History

/flanrent history

Displays purchases and rent payments.

Delete a Rental Plot

/flanrent delete

Deletes the rental plot you are standing in.

Requirements:

no active renter
must be the plot owner
Bank Commands

/flanrent setbank

Sets where rent income is deposited.

/flanrent setdefaultbank

Sets the default bank used for future plots.

Admin Commands

Requires OP Level 2

Create or Remove Plots

/flanrentadmin create

Creates an admin-owned rental plot.

/flanrentadmin remove

Deletes a rental plot and clears renter data.

Plot Information

/flanrentadmin info [name]

Shows plot details.

/flanrentadmin list

Lists all rental plots on the server.

Modify Plot Settings

/flanrentadmin set price

Updates pricing.

/flanrentadmin set bank

Configures payment targets.

/flanrentadmin set renter

Assigns a renter manually.

Admin-Owned Money Sink

/flanrentadmin claimasadmin

Marks a plot as admin-owned.

Rent is collected and deleted instead of paid to a player.

Useful for:

server economies
inflation control
public market systems
Debug & Currency Commands

/flanrentadmin checkpayments

Shows missed or pending rent.

/flanrentadmin debug bank

Displays bank balance information.

/flanrentadmin debug charge

Forces an immediate rent charge attempt.

/flanrentadmin currency

Shows the active currency system.

/flanrentadmin currency set

Changes the active currency system.

/flanrentadmin currency reload

Reloads currency configuration.

BlueMap Integration

Optional BlueMap support can display rental plots as map markers.

Commands:

/flanrentadmin bluemap toggle

Enable or disable markers.

/flanrentadmin bluemap reload

Rebuild all plot markers.

/flanrentadmin bluemap check

Shows integration status and marker counts.

Notes
Server-side only
No client installation required
Designed for survival servers, towns, shopping districts, and player economies
Keeps Flan permissions synchronized automatically

常见问题

Flan-Rental 支持哪些 Minecraft 版本?

Flan-Rental 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Flan-Rental 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

UnderEz 的其他作品

查看全部 →