Skip to main content

Configuration

All settings are in plugins/HopperLimiter/config.yml. Apply changes with /hl reload.

Full Config Referenceโ€‹

Counting Modeโ€‹

counting-mode: COMBINED   # COMBINED, SEPARATE, or WEIGHTED
ModeDescription
COMBINEDBlock hoppers + hopper minecarts share a single limit
SEPARATEBlock hoppers and hopper minecarts each have their own limit
WEIGHTEDEach type has a weight; total weighted score must stay under max

Limitsโ€‹

COMBINED modeโ€‹

combined-limit: 50

SEPARATE modeโ€‹

block-hoppers-limit: 30
hopper-minecarts-limit: 20

WEIGHTED modeโ€‹

weighted:
block-hopper-weight: 1
hopper-minecart-weight: 2
max-weight: 50

In WEIGHTED mode, placing a block hopper costs 1 unit and a hopper minecart costs 2 units. The chunk's total weight must stay at or below max-weight.


Overflow Handlingโ€‹

overflow-action: BREAK   # BREAK or REMOVE
removal-priority: distance # distance, y-level, or age
KeyOptionsDescription
overflow-actionBREAK, REMOVEBREAK โ€” drops items; REMOVE โ€” silent deletion
removal-prioritydistance, y-level, ageWhich hoppers are removed first when the limit is exceeded

Validationโ€‹

validation-interval: 60    # seconds between background scans (30โ€“120 recommended)
chunks-per-tick: 5 # chunks scanned per scheduler tick (3โ€“10 recommended)

The periodic validator catches any hoppers that may have been placed in ways that bypass the placement event (e.g. pistons, commands). Lowering chunks-per-tick reduces CPU usage at the cost of slower validation.


Bypassโ€‹

permission-bypass:
enabled: true

Players with hopperlimiter.bypass can place hoppers beyond the limit when this is true.


Messagesโ€‹

messages:
placement-blocked: "&cYou cannot place more than {limit} hoppers in this chunk! ({current}/{limit})"
reload-success: "&aHopperLimiter configuration reloaded!"

Use {limit} and {current} as placeholders in the blocked message.


Summary Tableโ€‹

SettingDefaultRecommended Range
combined-limit5032 โ€“ 64
block-hoppers-limit3020 โ€“ 40
hopper-minecarts-limit2010 โ€“ 25
validation-interval6030 โ€“ 120
chunks-per-tick53 โ€“ 10