Living Patina
世界会在使用中逐渐老去。反复走同一条路,草地会被踩成泥土,进而变成压实的土路。留在岩浆旁的石头会被烧焦成黑石。靠在原木上的水会长出苔藓,而在阴暗潮湿角落里的圆石也会随时间变得长满青苔。
功能说明
足迹路径
只有当你从其他方块实际移动到一个方块上时,该方块才会记录你的步数。草方块(以及配置文件中可配置的软地面,如菌丝体、灰化土、粗泥土和根状泥土)会被磨损成泥土,而泥土会被磨损成土路。奔跑会加速地面磨损。你可以设置潜行时不留下任何痕迹。
环境老化
一个周期性的扫描器会在玩家附近运行,就地使方块老化:
- 接触岩浆的石头族方块会逐渐变黑成为黑石。
- 接触水的原木和树叶顶部会生长出一层苔藓地毯。
- 处于阴暗潮湿处的圆石和石砖会变成其对应的长满青苔版本。
所有更改均在主线程上执行,且仅在已加载的区块中进行,并且每次扫描的限制次数确保了你的 TPS 不会受到影响。
服务器管理员须知
环境老化无法区分玩家建造的方块与自然生成的方块。靠近岩浆构造的石头会变黑,而在阴暗潮湿的地牢中的圆石会长满青苔,无论这些方块是否是你放置的。如果你不希望这样,可以关闭环境老化功能(environment.enabled: false)仅保留足迹路径,或者调整扫描设置。脚步地图保存在内存中,因此当服务器重启时,积累的足迹将会重置。
命令
/patina(别名:/livingpatina, /lp)
| 子命令 |
权限节点 |
描述 |
/patina info |
patina.use |
插件信息及实时统计数据(跟踪的条目数、老化的方块数)。 |
/patina stats |
patina.use |
记录你正下方方块的步数统计。 |
/patina reload |
patina.admin |
重新加载 config.yml 并重启计时器。 |
/patina sweep |
patina.admin |
立即强制执行一次环境扫描。 |
/patina clear |
patina.admin |
清除内存中的脚步地图。 |
权限
| 权限节点 |
默认值 |
授予权限 |
patina.use |
true |
信息类子命令的使用权。 |
patina.admin |
op |
使用 reload、sweep、clear(以及 patina.use)。 |
配置文件 (config.yml)
关键可调参数(完整带注释的列表请参见文件):
paths.steps-to-dirt, paths.steps-to-path 设置磨损阈值。
paths.sprint-multiplier, paths.wear-while-sneaking, paths.also-wear-to-dirt.
environment.sweep-interval-ticks, environment.chunk-radius, environment.max-changes-per-sweep,
environment.samples-per-chunk, environment.vertical-radius.
environment.lava-charring, environment.water-moss, environment.damp-dark-moss(以及 max-light)。
maintenance.prune-interval-ticks, maintenance.prune-entry-age-ms.
可以通过 paths.enabled 和 environment.enabled 单独关闭任一系统。
兼容性
Paper, Spigot, Bukkit 和 Purpur 1.21.1 至 1.21.11,以及 26.1.x 系列(已在 26.1.2 上验证)。
Java 21,编译为 class 版本 65,仅支持 Bukkit API。
Living Patina
The world ages as you use it. Walk the same route enough times and the grass wears down to dirt,
then to a packed dirt path. Stone left next to lava chars to blackstone. Water sitting against logs
grows moss, and cobblestone in a dark, damp corner turns mossy over time.
What it does
Trodden paths
A block counts your steps only when you actually move onto it from another block. Grass blocks (plus
configurable soft ground like mycelium, podzol, coarse dirt, and rooted dirt) wear to dirt, and dirt
wears into a dirt path. Sprinting wears the ground faster. You can set sneaking to leave no trail.
Environmental aging
A periodic sweeper runs near players and ages blocks in place:
- Stone-family blocks touching lava char toward blackstone.
- Logs and leaves touching water grow a moss carpet on top.
- Cobblestone and stone bricks in dark, damp spots turn into their mossy versions.
Every change runs on the main thread, only in loaded chunks, and is capped per sweep so your TPS
stays protected.
Note for server owners
Environmental aging does not tell the difference between player builds and naturally placed blocks.
Stone near a lava feature will char, and cobble in a dark, damp base can go mossy, whether or not you
placed it. If that is not what you want, you can turn environmental aging off
(environment.enabled: false) and keep only the trodden paths, or tune the sweep settings. The
footstep map is kept in memory, so accumulated paths reset when the server restarts.
Commands
/patina (aliases: /livingpatina, /lp)
| Subcommand |
Permission |
Description |
/patina info |
patina.use |
Plugin info and live totals (entries tracked, blocks aged). |
/patina stats |
patina.use |
Step count recorded for the block directly under you. |
/patina reload |
patina.admin |
Reload config.yml and restart the timers. |
/patina sweep |
patina.admin |
Force one environmental sweep right now. |
/patina clear |
patina.admin |
Clear the in-memory step map. |
Permissions
| Node |
Default |
Grants |
patina.use |
true |
The informational subcommands. |
patina.admin |
op |
reload, sweep, clear (plus patina.use). |
Configuration (config.yml)
Key tunables (see the file for the full annotated set):
paths.steps-to-dirt, paths.steps-to-path set the wear thresholds.
paths.sprint-multiplier, paths.wear-while-sneaking, paths.also-wear-to-dirt.
environment.sweep-interval-ticks, environment.chunk-radius, environment.max-changes-per-sweep,
environment.samples-per-chunk, environment.vertical-radius.
environment.lava-charring, environment.water-moss, environment.damp-dark-moss (plus max-light).
maintenance.prune-interval-ticks, maintenance.prune-entry-age-ms.
Either system can be turned off on its own with paths.enabled and environment.enabled.
Compatibility
Paper, Spigot, Bukkit, and Purpur 1.21.1 through 1.21.11, plus the 26.1.x line (verified on 26.1.2).
Java 21, compiled to class version 65, Bukkit API only.
评论 0
登录后参与评分
还没有评论,来抢沙发吧