⚖️Condition Format

The condition format will consist of several options.

Supported Placeholders

MythicTotem supports those placeholders in ActionFormat and ConditionFormat.

  • %player%

  • %player_x%

  • %player_y%

  • %player_z%

  • %player_yaw% (Added in 2.1.5)

  • %player_pitch% (Added in 2.1.5)

  • %block_x%

  • %block_y%

  • %block_z%

  • %world%

  • %totem_start_x% (Added in 2.5.2)

  • %totem_start_y% (Added in 2.5.2)

  • %totem_start_z% (Added in 2.5.2)

  • %totem_column% (Added in 2.5.2)

  • %totem_raw% (Added in 2.5.2)

  • %totem_layout% (Added in 4.2.5)

  • %totem_id% (Added in 4.2.5)

conditions:
  1:
    type: world
    world: lobby

Biome

Player must be in the biome.

conditions:
  1:
    type: biome
    biome: oraxen

Permission

Player must has the permission.

Remember that OP players will always have all permissions unless plugin set it not by default, so if you want to test this condition, you have to deop yourself.

conditions:
  1:
    type: permission
    permission: 'group.vip'

Placeholder

Player must be meet the placeholder condition.

Rule can be set to:

  • >=

  • <=

  • >

  • <

  • == (String)

  • = (Number)

  • != (Number or string)

  • !*= (Number or string) Not contains.

  • *= (String) Contains, for example, str *= string is true, but example *= ple is false.

conditions:
  1:
    type: placeholder
    placeholder: '%player_health%'
    rule: '<='
    value: 5

Trigger

This totem can only be actived with specified trigger. For available trigger event, please view config.yml file.

(Added in 2.5.2)

conditions:
  1:
    type: trigger
    event: 'PlayerInteractEvent' 

Trigger Item

This totem can only be actived with specified item.

conditions:
  1:
    type: trigger_item
    item: 
      material: 'stone' # Use Item Format

Near Mobs - Premium

If there is no corresponding mob within a nearby distance, the condition can be met. It supports both the vanilla mob ID and MythicMobs mob ID.

conditions:
  1:
    type: mobs_near
    entity: SkeletonKing
    distance: 50

Do not use this condition in many totems and do not make distance too far otherwise this maybe lead to server lag.

Any

conditions:
  1:
    type: any
    conditions:
      1:
        type: placeholder
        placeholder: '%eco_balance%'
        rule: '>='
        value: 200
      2:
        type: placeholder
        placeholder: '%player_points%'
        rule: '>='
        value: 400

Not

conditions:
  1:
    type: not
    conditions:
      1:
        type: placeholder
        placeholder: '%eco_balance%'
        rule: '>='
        value: 200

Last updated