StepErosion
StepErosion 是一款轻量级的 Paper 插件,让你的 Minecraft 世界充满生机——玩家行走最频繁的地方会自然形成路径。
工作原理
每次玩家迈步都会通过滑动时间窗口进行追踪。一旦某个方块在该窗口内积累了足够的足迹数,它就会侵蚀到下一个阶段:
GRASS_BLOCK ──[20 步]──► DIRT ──[50 步]──► DIRT_PATH
路径并非永久存在——如果 DIRT_PATH 方块长时间未被踩踏,它会逐渐恢复为 DIRT,模拟自然恢复过程。
功能特性
- 渐进式侵蚀 — 方块根据真实玩家活动逐步退化
- 自然恢复 — 泥土小径在无人行走后恢复为泥土
- 滑动窗口 — 仅统计最近的足迹;旧有的通行记录会逐渐消失
- 持久化存储 — 侵蚀状态保存至磁盘,服务器重启后依然保留
- 爆炸感知 — TNT 和苦力怕的爆炸会清除被破坏方块的侵蚀数据
- 蔓延感知 — 草自然蔓延覆盖泥土时会重置其侵蚀进度
- 完全可配置 — 阈值和时间窗口均可在 config.yml 中调整
- 调试命令 —
/se 允许管理员检查、模拟和重置侵蚀数据
配置
erosion:
dirt-threshold: 20 # GRASS → DIRT 所需的步数
path-threshold: 50 # DIRT → DIRT_PATH 所需的步数
step-window-ticks: 1728000 # 1 天 — 滑动窗口大小
recovery-window-ticks: 5184000 # 3 天 — 路径恢复前的闲置时间
命令与权限
| 命令 |
描述 |
/se info |
显示脚下方块的侵蚀数据 |
/se list |
列出当前所有正在追踪的方块 |
/se reset |
清除脚下方块的侵蚀数据 |
/se simulate <n> |
在脚下方块上模拟 N 次踩踏 |
/se config |
显示当前激活的配置值 |
/se reload |
重新加载 config.yml 而无需重启服务器 |
权限: steperosion.admin(默认:op)
要求
- Paper 26.1.2+(2026 构建系列)
- Java 25+
⚠️ 区域插件兼容性
目前,StepErosion 不与任何区域保护插件集成,例如 Towny、WorldGuard、GriefPrevention、PlotSquared 或类似的基于地块的解决方案。
这意味着如果玩家被允许进入受保护区域,侵蚀仍可能发生在那里。
完整的区域插件支持计划在未来的更新中实现。
StepErosion
StepErosion is a lightweight Paper plugin that makes your Minecraft world feel alive - paths form naturally wherever players walk most often.
How it works
Every step a player takes is tracked using a sliding time window. Once a block accumulates enough footsteps within that window, it erodes to the next stage:
GRASS_BLOCK ──[20 steps]──► DIRT ──[50 steps]──► DIRT_PATH
Paths are not permanent - if a DIRT_PATH block goes unwalked for long enough, it slowly reverts back to DIRT, simulating natural recovery.
Features
- Gradual erosion — blocks degrade step-by-step based on real player activity
- Natural recovery — dirt paths revert to dirt after inactivity
- Sliding window — only recent footsteps count; old traffic fades away
- Persistent — erosion state is saved to disk and survives server restarts
- Explosion-aware — TNT and creeper blasts clear erosion data for destroyed blocks
- Spread-aware — grass naturally overgrowing dirt resets its erosion progress
- Fully configurable — thresholds and time windows are all adjustable in config.yml
- Debug command —
/se lets admins inspect, simulate, and reset erosion data
Configuration
erosion:
dirt-threshold: 20 # steps to erode GRASS → DIRT
path-threshold: 50 # steps to erode DIRT → DIRT_PATH
step-window-ticks: 1728000 # 1 day — sliding window size
recovery-window-ticks: 5184000 # 3 days — idle time before path reverts
Commands & Permissions
| Command |
Description |
/se info |
Show erosion data for the block under your feet |
/se list |
List all currently tracked blocks |
/se reset |
Clear erosion data for the block under your feet |
/se simulate <n> |
Simulate N footsteps on the block under your feet |
/se config |
Display active configuration values |
/se reload |
Reload config.yml without restarting the server |
Permission: steperosion.admin (default: op)
Requirements
- Paper 26.1.2+ (2026 build series)
- Java 25+
⚠️ Region Plugin Compatibility
Currently, StepErosion does not integrate with region protection plugins such as Towny, WorldGuard, GriefPrevention, PlotSquared, or similar plot-based solutions.
This means erosion can occur in protected areas if players are allowed to walk there.
Full region plugin support is planned for a future update.
评论 0
登录后参与评分
还没有评论,来抢沙发吧