Objective Configuration

Objective key configuration

Field
Meaning
Example

type

Objective type (kebab‑case). Many legacy aliases are also supported.

"break-blocks"

amount

How many times / how many items (default: 1).

32

target-materials

Targets for blocks/items. Use quotes for values with:

["OAK_LOG", "POTION:HEALING"]

target-entities

Entity targets (optional).

["COW","SHEEP"]

distance

Distance for travel/ride objectives.

250

x, y, z

Target coordinates for “reach location”.

100, 64, -20

region

Region name (if you use regions WorldGuard).

"spawn"

containers

Allowed container types for “open container”.

["CHEST","BARREL"]

time + time-unit

For time objectives (play/hold): seconds/minutes/hours…

time: 2 + time-unit: "minutes"

message

Extra text filter (chat/sign/book/new name, etc.).

"Hello"

command

Command filter for “execute command”.

"call"

cause

Cause filter (teleport / damage type, etc.).

"NETHER_PORTAL"

weapon

Weapon filter (player kill, etc.).

"DIAMOND_SWORD"

Tip: Prefer target-materials everywhere (blocks/items/potions). Potions use POTION:HEALING, SPLASH_POTION:POISON, etc.

Last updated