IpacChunkLoader

插件

· 作者 ApliNi

一个用于 Minecraft 的简单区块加载器插件。

0 本站下载 0 关注 更新于 11 小时前

最新 1.6 · 26.3 · Paper / Purpur

一键开服(送7天)

IpacChunkLoader

一款简单的 Minecraft 区块加载插件。

这是一个假人(fake players)的简单替代方案,允许玩家以相对安全的方式使用强制加载区块来保持机器运行。
如果你需要稳定的挂机(AFK)体验,且不想使用像假人那样高度自动化的工具,那么可以考虑这款插件。

使用方法

通过给盔甲架命名 ID ChunkLoad N 来激活区块加载器。

  • ID 是可选的,用于给加载器命名。
  • N 的范围是从 0 到 10。0 仅加载盔甲架所在的单个区块;1 加载一个 3x3 的区域(共 9 个区块)。

每次命名都会使加载器激活 4 小时。重新命名可以累积持续时间,最高可达 24 小时。
区块加载器的工作原理是将区块设置为持续加载状态。加载区域会跟随盔甲架的移动而更新,每 20 刻(ticks)刷新一次。
它不会像玩家那样触发生物生成。
在到期前 2 小时将发送通知。

命名规则

  • ^\s*(?<id>.{0,24}?)\s*(?:ChunkLoad|ChunkLoader)\s*(?<radius>\d+)\s*$
  • ChunkLoad 10
  • FurnaceArray ChunkLoad 4

命令

  • /icl - 帮助和统计信息
  • /icl reload - 重载插件
  • /icl list - 查看活动加载器列表
  • /icl clear - 清除所有强制加载的区块和加载器(包括由非插件添加的加载器)
  • /icl tp <UUID> - 传送至某个活动的加载器

权限

permissions:

  IpacChunkLoader.reload:
    description: 'Reload the plugin'
    default: op
  IpacChunkLoader.list:
    description: 'View the list of active loaders'
    default: op
  IpacChunkLoader.clear:
    description: 'Clear all force-loaded chunks and loaders'
    default: op
  IpacChunkLoader.tp:
    description: 'Teleport to an active loader'
    default: op

配置文件


# Regex to identify armor stand names
name-regex: '^\s*(?<id>.{0,24}?)\s*(?:ChunkLoad|ChunkLoader)\s*(?<radius>\d+)\s*$'

# Inherit the previous ID if the nametag does not match a new one
inherit-id: true

# Default value used when the ID matcher finds no content
default-id: 'Unnamed'

# Armor stand name format after activation: %id% %radius% %time%
display-format: '%id% [ChunkLoader] %radius% - %time%'

# Armor stand name format after expiration: %id% %radius% %time%
expiry-format: '%id% [ChunkLoader] %radius% - %time%'

# Initial/accumulated duration in hours
add-hours: 4

# Maximum duration in hours
max-hours: 24

# Maximum loading radius
max-radius: 10

# Maximum number of concurrent active loaders
max-count: 10

# Persistence settings
# true:  Restore previously active loaders after server start, and do not release chunks when the plugin is unloaded
# false: Actively release all chunks when the plugin is unloaded, and clear any residual force-loaded chunks at startup
persistence: true

# Execute commands when remaining time falls below specified hours
warn-hours: 2
# Placeholders: %world% %x% %y% %z% %name% %id% %radius% %time%
warn-commands:
  - 'say Chunk loader about to expire [%world%/%x%/%y%/%z%] [%id%] %radius% - %time%'

# Dimension display names
# If defined, the %world% variable will use the corresponding display name; otherwise, the default dimension name is used.
world-names:
  world: 'Overworld'
  world_nether: 'Nether'
  world_the_end: 'The End'

msg:
  activate: '§bIpacEL §f> §aChunk loader activated'
  quant-limit: '§bIpacEL §f> §bChunk loader limit reached'
  list-header: '§bIpacEL §f> §aActive loaders list:'
  list-line: '  §7- [%world%/%x%/%y%/%z%] [%id%] %radius% - %time%' # %world% %x% %y% %z% %name% %id% %radius% %time%
  list-hover: 'Click to teleport'

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源