HomeLimiter
概览
HomeLimiter 与 EssentialsX 和 LuckPerms 配合使用,根据玩家当前最高活跃权限组自动执行家园数量限制。
当玩家晋升或降级时,插件会检查其新等级允许的家园数量并相应调整。这确保玩家永远不会超过当前等级所允许的家园上限——如果后续限额再次增加,他们的家园会自动恢复。
HomeLimiter 也支持已有服务器——在启动时会对所有玩家进行验证,以确保其家园数量与等级相符。
工作原理
- 家园限额直接读取自 EssentialsX 的
sethome-multiple 配置(无需重复配置)
- 插件会检查玩家匹配的最高 LuckPerms 权限 (
essentials.sethome.multiple.<key>)
- 当玩家等级变更时,新的限额会立即生效
- 服务器启动时,所有玩家都会自动进行验证
- 如果玩家超出限额,最早的家园会被锁定——最近创建的家园始终保留
智能且安全的锁定机制
- 优先锁定最早的家园;最新家园始终受保护
- 没有时间戳的家园(安装前设置)作为平局处理依据,按 Z → A 排序
- 受保护的家园名称(如
home)绝不会被锁定
- 如果玩家限额再次增加,被锁定的家园会自动存储并恢复
仅锁定确切数量的超额家园——不多不少。
示例
如果 VIP 等级允许 5 个家园,而玩家被降级为仅允许 2 个家园的等级,则会自动锁定 3 个最早的家园。
如果玩家随后重新晋升回 VIP,这 3 个相同的家园将被恢复——数据不会丢失。
无需任何手动操作。
为何使用此插件?
- 防止滥用临时等级
- 完全自动化——无需工作人员干预
- 如果玩家等级再次提升,被锁定的家园会安全恢复
- 适用于已建立的服务器,无需迁移
- 保持进度平衡且公平
- 轻量级且对性能友好
- 专为 EssentialsX 家园系统设计
非常适合使用 EssentialsX 提供基于等级的福利,并希望可靠、免手动地执行家园限额限制的服务器。
要求
- EssentialsX 2.20+
- LuckPerms 5.4+
- Java 21+
- Spigot / Paper 1.21–26.1+
HomeLimiter
Overview
HomeLimiter works with EssentialsX and LuckPerms to automatically enforce player home limits based on their highest active permission group.
When a player is promoted or downgraded, the plugin checks how many homes their new rank allows and adjusts accordingly. This ensures players never exceed the number of homes permitted by their current rank — and if their limit increases again later, their homes are automatically restored.
HomeLimiter also supports existing servers — all players are validated on startup to make sure their home count matches their rank.
How It Works
- Home limits are read directly from EssentialsX's
sethome-multiple config (no duplicate configuration needed)
- The plugin checks the player's highest matching LuckPerms permission (
essentials.sethome.multiple.<key>)
- When a player's rank changes, their new limit is applied instantly
- On server startup, all players are automatically validated
- If a player exceeds their limit, the oldest homes are locked — the most recently created homes are always kept
Smart & Safe Locking
- Oldest homes are locked first; newest homes are always preserved
- Homes without timestamps (set before installation) are sorted Z → A as a tiebreaker
- Protected home names (like
home) are never locked
- Locked homes are stored and restored automatically if the player's limit increases again
Only the exact number of excess homes are locked — nothing more, nothing less.
Example
If the VIP rank allows 5 homes and a player is downgraded to a rank that allows only 2 homes, the 3 oldest homes are locked automatically.
If the player is later re-promoted to VIP, those same 3 homes are restored — no data is lost.
No manual action required.
Why Use This Plugin?
- Prevents abuse of temporary ranks
- Fully automatic — no staff intervention needed
- Locked homes are safely restored if a player's rank increases again
- Works on already established servers with no migration needed
- Keeps progression balanced and fair
- Lightweight and performance-friendly
- Designed specifically for EssentialsX home systems
Perfect for servers that use EssentialsX for rank-based perks and want reliable, hands-free home limit enforcement.
Requirements
- EssentialsX 2.20+
- LuckPerms 5.4+
- Java 21+
- Spigot / Paper 1.21–26.1+
评论 0
登录后参与评分
还没有评论,来抢沙发吧