Restrict when a task counts: worlds, regions, biomes, structures, Y-level, light, time, weather, riding, held item, placeholders, requirements
Every task can have an optional filters: section that restricts when progression is counted. For example, only count blocks broken in a certain world, below a certain Y level, inside a mineshaft, at night, during a thunderstorm, or while holding a specific pickaxe. Filters live inside a task, next to args:
tasks:
mine_deep:
task: BLOCK_BREAK
display: "{status} &fMine {required} deepslate &b{current}&f/&b{required}"
args:
amount: 100
types:
- "minecraft:deepslate"
filters:
worlds:
type: whitelist
value: [ "world" ]
max-ylevel: 0
All filters are optional — include only the ones you need, or omit the whole filters section. When several filters are present, a task only progresses when all of them pass.
Restrict progression to (or away from) specific worlds. type is whitelist (only these worlds count) or blacklist (these worlds never count).
filters:
worlds:
type: whitelist
value: [ "world", "world_nether" ]
Restrict progression to specific WorldGuard regions. Same whitelist / blacklist type. Requires WorldGuard — if WorldGuard isn't installed, this filter is simply ignored. Use /rg info in-game to find region names.
filters:
regions:
type: blacklist
value: [ "spawn", "safezone" ]
Restrict progression to specific biomes. Use namespaced biome keys. Same whitelist / blacklist type.
filters:
biomes:
type: whitelist
value: [ "minecraft:plains", "minecraft:forest" ]
Restrict progression by the Y coordinate where the action happens. You can use either bound on its own or both together to define a band.
filters:
min-ylevel: -64
max-ylevel: 16
Restrict progression to (or away from) generated structures, such as mineshafts, strongholds or villages. Use namespaced structure keys; datapack structures work too. Same whitelist / blacklist type. An unknown structure key logs a warning on load and is skipped.
filters:
structures:
type: whitelist
value: [ "minecraft:mineshaft", "minecraft:ancient_city" ]
Restrict progression by the light level (0-15) where the player is standing when the action happens. This is always the player's position, not the block of the action, so it works the same for every task type (for example, mining in a dark cave). As with the Y-level, you can set either bound or both.
filters:
# Only count in the dark, where mobs can spawn
max-light: 7
Only count progression during the day or the night in the world where the action happens. The check uses Minecraft's own day/night detection, not a fixed tick range. Any other value logs a warning and the filter is skipped.
filters:
time: night
Restrict progression by the current weather of the world. Valid values are clear, rain and thunder. Same whitelist / blacklist type. Weather is tracked per world, not per biome, so rain also matches while you're standing in a desert or a snowy biome during a storm.
filters:
weather:
type: whitelist
value: [ "rain", "thunder" ]
Restrict progression by what the player is riding when the action happens. Accepts any entity type key. With whitelist, the player must be riding one of the listed entities. With blacklist, the player must not be riding any of them (being on foot passes).
filters:
riding:
type: whitelist
value: [ "minecraft:horse", "minecraft:camel" ]
Check one or more PlaceholderAPI placeholders. Every entry under placeholders: must pass. The entry keys (has-speed and rich below) are just names you choose. Each entry has:
placeholder - The placeholder to check, e.g. %vault_eco_balance%. Required, and it must not contain spaces.
value - The value to compare against. Required.
comparison - Optional, defaults to ==. It can be:
== for text equality.
===, >, <, >= or <= for number comparisons.
contains / !contains to check whether a list-style placeholder contains (or doesn't contain) a whole entry.
separator - Only used by contains / !contains. It's the text that splits the list into entries, and defaults to ", ". Entries are trimmed before comparing, and the match is case-sensitive.
filters:
placeholders:
has-speed:
placeholder: "%potioneffects_list_level%"
comparison: contains
value: "Speed II"
separator: ", "
rich:
placeholder: "%vault_eco_balance%"
comparison: ">="
value: "1000"
Requires PlaceholderAPI. If a number comparison gets a placeholder value that isn't a number, the check counts as not met. Invalid entries (missing placeholder/value, an unknown comparison, an empty separator) log a warning on load and are skipped.
Only count progression while the player is holding a matching item. List one or more items — only one needs to match. Supports vanilla materials and the custom-item formats of supported plugins (see Item config).
filters:
hand:
items:
- "minecraft:diamond_pickaxe"
- "minecraft:netherite_pickaxe"
- "nexo:mythril_pickaxe"
A general-purpose gate using the Aurora requirement system — the same requirements available for custom menu items. Progression is only counted when all listed requirements are met. Handy for things like "only count while the player has a permission", "only during a certain time", etc. You can use {player} as a placeholder.
filters:
requirements:
- "[permission] your.permission"
- "[placeholder] %some_placeholder% == value"
Each entry uses the [prefix] args format. See Custom menus requirements for the full list of available requirement types ([permission], [money], [has-items], [placeholder], …) and their syntax.
tasks:
farm_wheat:
task: FARM
display: "{status} &fHarvest {required} wheat &b{current}&f/&b{required}"
args:
amount: 64
types:
- "minecraft:wheat"
filters:
worlds:
type: whitelist
value: [ "farmworld" ]
regions:
type: blacklist
value: [ "spawn" ]
biomes:
type: whitelist
value: [ "minecraft:plains" ]
min-ylevel: 60
max-ylevel: 120
time: day
weather:
type: whitelist
value: [ "clear" ]
riding:
type: blacklist
value: [ "minecraft:horse" ]
placeholders:
is-farmer:
placeholder: "%luckperms_primary_group_name%"
value: "farmer"
hand:
items:
- "minecraft:golden_hoe"
requirements:
- "[permission] farming.quests"