Time System
Controls how registered chests refill.
Configured in config.yml.
Default Refill Time
Section titled “Default Refill Time”settings: default-refill-seconds: 300- Applied when registering a chest
- Used by
/nchestrefill sync - Value in seconds
Example:
300 = 5 minutesChange Refill Time (Runtime)
Section titled “Change Refill Time (Runtime)”/nchestrefill settime <seconds>Permission:
nchestrefill.settimeExample:
/nchestrefill settime 600- Updates interval for all chests
- Recalculates next refill timestamp
Value must be numeric.
Synchronize Timers
Section titled “Synchronize Timers”/nchestrefill syncPermission:
nchestrefill.sync- Resets all timers
- Reapplies
default-refill-seconds - Aligns next refill time
Force Refill
Section titled “Force Refill”/nchestrefill forcerefillPermission:
nchestrefill.forcerefill- Instantly refills all chests
- Does not change interval
Refill Check Interval
Section titled “Refill Check Interval”settings: refill-check-interval: 20- 20 ticks = 1 second
- Controls how often refill check runs
Recommended:
20Refill Conditions
Section titled “Refill Conditions”Only If Empty
Section titled “Only If Empty”settings: refill-only-if-empty: falsetrue→ refill only if chest emptyfalse→ always refill
Clear Before Refill
Section titled “Clear Before Refill”settings: clear-before-refill: truetrue→ clear inventory before refillfalse→ insert without clearing
Broadcast On Refill
Section titled “Broadcast On Refill”settings: broadcast-refill: true broadcast-permission: ""- Empty permission → send to all
- Set permission → restrict receivers
Example:
broadcast-message: - "&eChest refilled at &f%world% &7(%x%, %y%, %z%)"Placeholders:
| Placeholder | Value |
|---|---|
| %world% | World name |
| %x% | X |
| %y% | Y |
| %z% | Z |
Hologram Time Format
Section titled “Hologram Time Format”hologram: time-format: use-seconds: false format: "mm:ss"Formats:
mm:ssm:ss
If:
use-seconds: trueDisplays:
120sProcessing Limit
Section titled “Processing Limit”performance: max-chests-per-tick: 50Controls how many chests are processed per tick.
- Lower → smoother
- Higher → faster bulk processing