🗞️Objective Conditions

Do you think the task was completed too easily? You can use the following conditions to limit the difficulty of players completing their goals.

PlceholderAPI condition

format: [placeholderapi]%XXX%;(>=/>/<=/</=);input

example:

conditions:
- '[placeholderapi]%player_max_health%;>;15
- '[placeholderapi]%player_food%;>=10'
...

Math conditions

[symbol](>=/>/<=/</=);value

[y]: Detect the player's location in y

example (When the player's y is greater than or equal to 120, it is passed through)

conditions:
- [y]>=120
- ...

[health]: Compare player's current health points

example.1 (specifi a value)

conditions:
- [health]>=10.0
- ...

example.2 (Percent of the max health)

conditions:
- [health]>=20%
- ...

[maxhealth]: Compare player's max health

[distance]: Compare player's current location distance form world's spawn location

[level]: Compare player's level

[food]: Compare player' food level

String conditions

[world]: Determine whether the player's current world is a specified world

example

conditions:
- [world]world_the_end
- ...

[permission]: Player has specific permission

example

conditions:
- [permission]legendarydailyquest.admin
- ...

[biome]: Determine whether the player's current biome is a specified biome

example

conditions:
- [biome]PLAINS
- ...

[stand]: Check the block's material under the player's feet

example

conditions:
- [stand]GRASS_BLOCK
- ...

Boolean conditions

[sneak]: When the player sneak

example

conditions:
- [sneak]

[fly]: When the player flying

[vehicle]: When the player in a vehicle

[onfire]: When the player in fire

[onground]: When the player on ground

[sleep]: When the player is sleeping

[run]: When the player is running

[night]: When the current world is night

[day]: When the current world is day

Item conditions

please look :

[hasitem]: Check player's inventory has specific item

example

conditions:
- [hasitem]custom;&cBig Sword
- ...

[handitem]: Check player's main hand is specific item

Same as above

[offhanditem]: Check player's off hand is specific item

Same as above

[offhanditem]: 玩家副手是否是指定物品

Same as above

[helmetitem]: 玩家头盔是否是指定物品

Same as above

[chestitem]: 玩家胸甲是否是指定物品

Same as above

[legsitem]: 玩家护腿是否是指定物品

Same as above

[bootsitem]: 玩家靴子是否是指定物品

Same as above

Other conditions

[chance]: There is a specified probability of passing this time

example (20%)

conditions:
- [chance]20
- ...

Last updated