IpacChunkLoader
A simple chunk loader plugin for Minecraft.
/plugins/ipacchunkloader
This is a simple alternative to fake players, allowing players to use force-loaded chunks in a relatively safe way to keep machines running.
If you need stable AFK and do not want to use highly automated tools like fake players, then consider this plugin.
Usage
Activate a chunk loader by naming an armor stand ID ChunkLoad N.
IDis optional and is used to name the loader.Nranges from0to10.0loads the single chunk where the armor stand is located;1loads a 3x3 area (9 chunks).
Each naming activates the loader for 4 hours. Renaming can accumulate the duration up to a maximum of 24 hours.
The chunk loader works by setting chunks to be constantly loaded. The loaded area follows the armor stand's movement and updates every 20 ticks.
It does not trigger mob spawning as a player would.
A notification will be sent 2 hours before expiration.
Naming Rules
^\s*(?<id>.{0,24}?)\s*(?:ChunkLoad|ChunkLoader)\s*(?<radius>\d+)\s*$ChunkLoad 10FurnaceArray ChunkLoad 4
Commands
/icl- Help and statistics/icl reload- Reload the plugin/icl list- View the list of active loaders/icl clear- Clear all force-loaded chunks and loaders (Including those added by non-plugins)/icl tp <UUID>- Teleport to an active loader
Permissions
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
Configuration File
# 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'
Создатели
Детали
Лицензия:Apache-2.0
Опубликован:4 недели назад
Обновлён:3 недели назад
