Automatic refills used to be global for all tables and chests. Now you can specify whether or not you want them on your table, for example:
YAML:filters: - type: contains match: chest table: example refillTime: 1800 # It fills up automatically in 1800 seconds.
The 'refill' command now has the optional <table> property to perform a specific refill on that table; if not specified, all tables are refilled.
Example configuration:
YAML:# ============================================================ # ChestFiller # Version: 2.0.0 # ============================================================ lang: en debug: false silent-refill: false # In 'true' it does not notify with titles or messages the filling of the tables. # ============================================================ # CHEST PROTECTION # ============================================================ protection: allowBreaking: false allowPlacing: false # enabled: enables/disables per-table auto-refill (based on refillTime in filters) # onlyIfEmpty: if true, only refills when the chest is completely empty refill: enabled: true onlyIfEmpty: true loot: activeTable: example # The default table where things are added, change this with /chestfiller loot set {table} itemsPerChest: min: 2 max: 4 # ============================================================ # FILTERS # ============================================================ # refillTime (optional, seconds): # - if NOT defined -> that table will NOT auto-refill # - if defined -> auto-refills using that cooldown # # /chestfiller refill # -> forces refill (ALL) on the next chest openings # /chestfiller refill <table> # -> forces refill only for that table (on the next chest openings) filters: - type: contains match: chest table: example refillTime: 1800 # It fills up automatically in 1800 seconds. # # - type: contains # match: dungeon # table: rare # # no refillTime -> no auto-refill # - type: equals # match: Furniture_Royal_Chest # table: epic # refillTime: 7200
addedin config.ymlCode:silent-refill
set to 'true' to make refill in silent.
WARNING - BREAKING CHANGES - Please read before updating!
This is a major update that completely overhauls the internal systems. Your existing configuration will be automatically migrated, but please backup your files before updating.
What's New:
- Modern Filter System - New flexible filter configuration with 'equals' and 'contains' types
- Multi-Table Support - Chests can now pull loot from multiple tables at once (e.g., table: jungle,tools)
- Block ID Normalization - Fixed chest matching for already-placed chests in the world
- Improved Refill System - Global refills now properly force chest updates regardless of cooldown
- Table Auto-Discovery - Loot tables are now automatically loaded from /tables/*.yml
- Disable Tables - Prefix table files with _ to disable them (e.g., _old_table.yml)
Bug Fixes:
- Fixed: Chests using wrong loot tables after /refill command
- Fixed: Manual edits to table files being lost on /reload
- Fixed: Already-placed chests not matching filters correctly
- Fixed: Filter priority issues causing incorrect table selection
Configuration Changes:
- Old 'filter:' section is now 'filters:' (auto-migrated)
- New filter properties: type, match, table
- See updated config.yml for examples
Migration:
Your existing configuration will be automatically migrated on first load. A backup will be created.
Full Documentation:
Check the updated config.yml comments for detailed filter examples and usage.
