Flan Rent
为 Flan 领地提供自动化的商店租赁功能
支持 NeoForge 与 Fabric(Minecraft 1.21.1)
Flan Rent 是一个服务端租赁系统,可将 Flan 领地转化为可出租的商店地块。
玩家不再拥有永久所有权,而是可以通过自动购买和每日租金支付来租赁商店。模组会自动处理付款、驱逐、领地同步及交易记录追踪。
当玩家租赁一块地块时,他们会被自动添加为 Flan 的共同所有者,以确保保护机制完全同步。
功能特点
全自动租赁系统
每日定期收取租金
自动同步 Flan 共同所有者身份
未付款项追踪与驱逐系统
交易历史记录日志
支持管理员拥有的地块及“货币回收”功能
当 Flan 领地被删除时自动清理
可选 BlueMap 集成
仅服务端运行
货币支持
NeoForge
Lightman’s Currency
Create: Numismatics
Impactor
Fabric
CobbleDollars
Impactor
货币系统会自动检测,并可通过管理员命令切换。
工作原理
玩家在 Flan 领地内创建一个租赁地块
另一名玩家通过支付购买价格来租赁该地块
每天自动扣除租金
承租人会自动成为 Flan 共同所有者
如果无法支付租金:
系统将追踪未付款项
在可能的情况下追回欠付租金
最终驱逐承租人
玩家命令
创建租赁地块
/flanrent create <name> <purchasePrice> <rentCost>
在你的 Flan 领地内创建一个租赁地块。
purchasePrice = 一次性租赁费用
rentCost = 每日定期租金
注意:
每个主领地只能有一个租赁地块
子领地也可以租赁
不支持同时租赁主领地和子领地
地块信息
/flanrent info
显示:
所有者
承租人
租金成本
购买价格
地块状态
位置
认领地块
/flanrent claim
支付购买价格
将你设置为承租人
自动将你添加为 Flan 共同所有者
结束租赁
/flanrent unclaim
移除承租人并撤销 Flan 共同所有者权限。
查看你的租赁地块
/flanrent myplots
显示你当前正在租赁的所有地块。
/flanrent myrentals
显示你拥有的所有地块。
交易历史
/flanrent history
显示购买记录和租金支付情况。
删除租赁地块
/flanrent delete
删除你所站立位置的租赁地块。
要求:
无活跃承租人
必须是地块所有者
银行命令
/flanrent setbank <bankName>
设置租金收入的存款账户。
/flanrent setdefaultbank <bankName>
设置未来地块使用的默认银行账户。
管理员命令
需要 OP 等级 2
创建或删除地块
/flanrentadmin create <name> <purchasePrice> <rentCost>
创建一个由管理员拥有的租赁地块。
/flanrentadmin remove <name>
删除租赁地块并清除承租人数据。
地块信息
/flanrentadmin info [name]
显示地块详情。
/flanrentadmin list
列出服务器上的所有租赁地块。
修改地块设置
/flanrentadmin set price <name> <purchasePrice> <rentCost>
更新定价。
/flanrentadmin set bank <shop> <landlord|renter> <name>
配置付款目标。
/flanrentadmin set renter <shop> <player>
手动分配承租人。
管理员拥有的“货币回收”地块
/flanrentadmin claimasadmin <shop>
将地块标记为管理员拥有。
租金将被收取并直接销毁,而不是支付给玩家。
适用于:
服务器经济系统
通货膨胀控制
公共市场系统
调试与货币命令
/flanrentadmin checkpayments <player>
显示未付或待处理的租金。
/flanrentadmin debug bank <player>
显示银行账户余额信息。
/flanrentadmin debug charge <plot>
强制立即尝试收取租金。
/flanrentadmin currency
显示当前活跃的货币系统。
/flanrentadmin currency set <system>
更改当前活跃的货币系统。
/flanrentadmin currency reload
重新加载货币配置。
BlueMap 集成
可选的 BlueMap 支持可以将租赁地块作为地图标记显示。
命令:
/flanrentadmin bluemap toggle
启用或禁用标记。
/flanrentadmin bluemap reload
重建所有地块标记。
/flanrentadmin bluemap check
显示集成状态和标记数量。
注意事项
仅服务端运行
无需安装客户端模组
专为生存服务器、城镇、购物区和玩家经济系统设计
自动保持 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 <name> <purchasePrice> <rentCost>
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 <bankName>
Sets where rent income is deposited.
/flanrent setdefaultbank <bankName>
Sets the default bank used for future plots.
Admin Commands
Requires OP Level 2
Create or Remove Plots
/flanrentadmin create <name> <purchasePrice> <rentCost>
Creates an admin-owned rental plot.
/flanrentadmin remove <name>
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 <name> <purchasePrice> <rentCost>
Updates pricing.
/flanrentadmin set bank <shop> <landlord|renter> <name>
Configures payment targets.
/flanrentadmin set renter <shop> <player>
Assigns a renter manually.
Admin-Owned Money Sink
/flanrentadmin claimasadmin <shop>
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 <player>
Shows missed or pending rent.
/flanrentadmin debug bank <player>
Displays bank balance information.
/flanrentadmin debug charge <plot>
Forces an immediate rent charge attempt.
/flanrentadmin currency
Shows the active currency system.
/flanrentadmin currency set <system>
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧