Mechanics
Other WikisDonate
  • Home
  • Examples
  • Placeholders
  • ⚙️Mechanics
    • Action Bar
    • Boss Bar
    • Command
    • Custom Sound
    • Damage
    • Drop Item
    • Fake Item
    • Firework
    • Flinch
    • Ignite
    • Leap
    • Lightning
    • Message
    • Particle
    • Potion
    • Push
    • Sculk Bloom
    • Sculk Shriek
    • Sound
    • Title
    • Warden Disturbance
  • 🎯Targeters
    • ServerPlayers
    • Shapes
      • Box
      • Scatter
    • Source
    • Target
    • World
  • ❔Conditions
    • Biome
    • Custom Biome
    • Entity Type
    • Gliding
    • Has Permission
    • InCone
    • Light Level
    • Material Category
    • On Ground
    • Range
    • Riding
    • Sneaking
    • Sprinting
  • 🔌Integrations
    • 🌊GeyserMC
    • 🌎MechanicsEverywhere
    • 👽MythicMobs
    • 🔫WeaponMechanics
Powered by GitBook
On this page
  • Source Placeholders
  • Target Placeholders
  • Other Plugin Placeholders

Placeholders

List of placeholders available in mechanics

Last updated 1 year ago

Sometimes, you may want to use the player's name when sending messages. Or you may want to send a message to the target warning them that a missile has locked onto them, and you use their name to get their attention. You can use the following placeholders in your messages and commands:

Source Placeholders

Placeholder
Description

<source_name>

The name of the source entity. For Players, this will be their in-game name, like CJCrafter.

<source_x>

The x coordinate of the source entity.

<source_y>

The y coordinate of the source entity.

<source_z>

The z coordinate of the source entity.

Target Placeholders

Not every mechanic has a target. For example, WeaponMechanics Shoot.Mechanics does not have any @Target{}, just a @Source{}.

Placeholder
Description

<target_name>

The name of the target entity. For Players, this will be their in-game name, like DeeCaaD.

<target_x>

The x coordinate of the source entity.

<target_y>

The y coordinate of the source entity.

<target_z>

The z coordinate of the source entity.

Other Plugin Placeholders

Some plugins may add placeholders for you to use.

  • from WeaponMechanicsPlus

Placeholders