Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 162
    • Issues 162
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
  • Placeholders

Placeholders · Changes

Page history
reformat tables authored Feb 28, 2022 by Phillip's avatar Phillip
Hide whitespace changes
Inline Side-by-side
Showing with 106 additions and 106 deletions
+106 -106
  • Skills/Placeholders.md Skills/Placeholders.md +106 -106
  • No files found.
Skills/Placeholders.md
View page @ bc5fc33d
...@@ -9,27 +9,27 @@ __**Note:** Usage of many variables in skills are locked to the premium versions ...@@ -9,27 +9,27 @@ __**Note:** Usage of many variables in skills are locked to the premium versions
Special Characters Special Characters
------------------ ------------------
| **Placeholder** | **Function** | | **Placeholder** | **Function** |
|-----------------|---------------------------------------| |-----------------|-----------------------------------|
| <&co> | Returns a colon (:) | | <&co> | Returns a colon (:) |
| <&sq> | Returns an apostrophe (') | | <&sq> | Returns an apostrophe (') |
| <&da> | Returns a dash (-) | | <&da> | Returns a dash (-) |
| <&bs> | Returns a backslash (\\) | | <&bs> | Returns a backslash (\\) |
| <&fs> | Returns a forward slash (/) | | <&fs> | Returns a forward slash (/) |
| <&sp> | Returns a space | | <&sp> | Returns a space |
| <&cm> | Returns a comma (,) | | <&cm> | Returns a comma (,) |
| <&sc> | Returns a semicolon (;) | | <&sc> | Returns a semicolon (;) |
| <&eq> | Returns an equals symbol \[=\] | | <&eq> | Returns an equals symbol \[=\] |
| <&ss> | Returns a section symbol (ยง) | | <&ss> | Returns a section symbol (ยง) |
| <&dq> | Returns double quotes (") | | <&dq> | Returns double quotes (") |
| <&rb> | Returns a right bracket (\]) | | <&rb> | Returns a right bracket (\]) |
| <&lb> | Returns a left bracket (\[) | | <&lb> | Returns a left bracket (\[) |
| <&rc> | Returns a right curly bracket (}) | | <&rc> | Returns a right curly bracket (}) |
| <&lc> | Returns a left curly bracket ({) | | <&lc> | Returns a left curly bracket ({) |
| <&nm> | Returns a number sign (#) | | <&nm> | Returns a number sign (#) |
| <&nl> | Forces a new line | | <&nl> | Forces a new line |
| <&heart> | Returns a heart | | <&heart> | Returns a heart |
| <&skull> | Returns a skull and bones | | <&skull> | Returns a skull and bones |
Color Codes Color Codes
----------- -----------
...@@ -47,7 +47,7 @@ properly format tellraw-commands used in command skills! ...@@ -47,7 +47,7 @@ properly format tellraw-commands used in command skills!
| &5 | Dark Purple | &K | Magic | | &5 | Dark Purple | &K | Magic |
| &6 | Gold | &L | Bold | | &6 | Gold | &L | Bold |
| &7 | Gray | &M | Strike through | | &7 | Gray | &M | Strike through |
| &8 | Dark Gray | N | Underline | | &8 | Dark Gray | N | Underline |
| &9 | Blue | &O | Italic | | &9 | Blue | &O | Italic |
| &A | Green | &R | Reset | | &A | Green | &R | Reset |
...@@ -55,75 +55,75 @@ Caster Placeholders ...@@ -55,75 +55,75 @@ Caster Placeholders
------------------ ------------------
These placeholders will return whatever attribute of the caster that is called. For instance `<caster.l.y.#>` will return the caster's Y location. These placeholders will return whatever attribute of the caster that is called. For instance `<caster.l.y.#>` will return the caster's Y location.
|Caster Placeholder|Function| | Caster Placeholder | Function |
|----------------------------------|-------------------------------------------------------------------------| |---------------------|-------------------------------------------------------------------|
|<caster.damage>|Returns the caster's Attack_Damage attribute value| | <caster.damage> | Returns the caster's Attack_Damage attribute value |
|<caster.uuid>|Returns the UUID of the caster| | <caster.uuid> | Returns the UUID of the caster |
|<caster.level>|Returns the level of the caster| | <caster.level> | Returns the level of the caster |
|<caster.name>|Returns the name of the caster| | <caster.name> | Returns the name of the caster |
|<caster.hp>|Returns current hp of the caster| | <caster.hp> | Returns current hp of the caster |
|<caster.mhp>|Returns the max hp of the caster| | <caster.mhp> | Returns the max hp of the caster |
|<caster.php>|Returns the percent hp of the caster| | <caster.php> | Returns the percent hp of the caster |
|<caster.thp>|Returns the full number hp of the caster| | <caster.thp> | Returns the full number hp of the caster |
|<caster.tt.top>|Returns the name of the top threat holder of the caster| | <caster.tt.top> | Returns the name of the top threat holder of the caster |
|<caster.l.w>|Returns the world name the caster is in| | <caster.l.w> | Returns the world name the caster is in |
|<caster.l.x>|Returns the X coordinate of the caster| | <caster.l.x> | Returns the X coordinate of the caster |
|<caster.l.x.#>|Returns the X coordinate of the caster +- random number between #| | <caster.l.x.#> | Returns the X coordinate of the caster +- random number between # |
|<caster.l.x.double>|Returns the precise X coordinate of the caster| | <caster.l.x.double> | Returns the precise X coordinate of the caster |
|<caster.l.y>|Returns the Y coordinate of the caster| | <caster.l.y> | Returns the Y coordinate of the caster |
|<caster.l.y.#>|Returns the Y coordinate of the caster +- random number between #| | <caster.l.y.#> | Returns the Y coordinate of the caster +- random number between # |
|<caster.l.y.double>|Returns the precise Y coordinate of the caster| | <caster.l.y.double> | Returns the precise Y coordinate of the caster |
|<caster.l.z>|Returns the Z coordinate of the caster| | <caster.l.z> | Returns the Z coordinate of the caster |
|<caster.l.z.#>|Returns the Z coordinate of the caster +- random number between #| | <caster.l.z.#> | Returns the Z coordinate of the caster +- random number between # |
|<caster.l.z.double>|Returns the precise Z coordinate of the caster| | <caster.l.z.double> | Returns the precise Z coordinate of the caster |
|<caster.l.yaw>|Returns the yaw of the caster| | <caster.l.yaw> | Returns the yaw of the caster |
|<caster.l.pitch>|Returns the pitch of the caster| | <caster.l.pitch> | Returns the pitch of the caster |
|<caster.stance>|Returns the current stance of the caster| | <caster.stance> | Returns the current stance of the caster |
|<caster.owner.name>|Returns the name of the wolf's owner| | <caster.owner.name> | Returns the name of the wolf's owner |
|<caster.owner.uuid>|Returns the uuid of the wolf's owner| | <caster.owner.uuid> | Returns the uuid of the wolf's owner |
**Variable Placeholders** **Variable Placeholders**
----------------- -----------------
These placeholders will return whatever variable has been called. For instance <caster.var.\[name\]> will return the value of the caster's \[name\] variable. These placeholders will return whatever variable has been called. For instance <caster.var.\[name\]> will return the value of the caster's \[name\] variable.
| **Variable Placeholder** | **Function** | | **Variable Placeholder** | **Function** |
|----------------------------------|-------------------------------------------------------------------------| |---------------------------|-------------------------------------------------------------------------|
| <caster.var.\[name\]> | Returns the value of the variable \[name\] on the caster. | | <caster.var.\[name\]> | Returns the value of the variable \[name\] on the caster. |
| <skill.var.\[name\]> | Returns the value of the variable \[name\] on the current skill tree.| | <skill.var.\[name\]> | Returns the value of the variable \[name\] on the current skill tree. |
| <skill.var.damage-amount> | Returns the amount of damage taken in the onDamaged trigger | | <skill.var.damage-amount> | Returns the amount of damage taken in the onDamaged trigger |
| <skill.var.damage-type> | Returns the type of damage taken as specified in a mechanic, aura, etc.| | <skill.var.damage-type> | Returns the type of damage taken as specified in a mechanic, aura, etc. |
| <skill.var.aura-name> | Returns the name of the aura as specified in an aura. | | <skill.var.aura-name> | Returns the name of the aura as specified in an aura. |
| <skill.var.aura-charges> | Returns the amount of charges the aura has left. | | <skill.var.aura-charges> | Returns the amount of charges the aura has left. |
| <skill.var.aura-duration> | Returns the duration of the aura. | | <skill.var.aura-duration> | Returns the duration of the aura. |
| <skill.var.aura-stacks> | Returns the amount of stacks the aura has. | | <skill.var.aura-stacks> | Returns the amount of stacks the aura has. |
| <skill.targets> | Returns the amount of inherited targets | | <skill.targets> | Returns the amount of inherited targets |
**Target Placeholders** **Target Placeholders**
----------------- -----------------
These placeholders will return whatever target selector has been used. For instance <target.name> + @NearestPlayer will return the name of the player closest to the casting mob. These placeholders will return whatever target selector has been used. For instance <target.name> + @NearestPlayer will return the name of the player closest to the casting mob.
| **Target Placeholders** | **Function** | | **Target Placeholders** | **Function** |
|----------------------------------|-------------------------------------------------------------------------| |-------------------------|-------------------------------------------------------------------|
|<target.uuid>|Returns the UUID of the target| | <target.uuid> | Returns the UUID of the target |
|<target.name>|Returns the name of the target| | <target.name> | Returns the name of the target |
|<target.hp>|Returns current hp of the target| | <target.hp> | Returns current hp of the target |
|<target.mhp>|Returns the max hp of the target| | <target.mhp> | Returns the max hp of the target |
|<target.php>|Returns the percent hp of the target| | <target.php> | Returns the percent hp of the target |
|<target.thp>|Returns the full number hp of the target| | <target.thp> | Returns the full number hp of the target |
|<target.threat>|Returns the threat level of the target| | <target.threat> | Returns the threat level of the target |
|<target.l.w>|Returns the world name the target is in| | <target.l.w> | Returns the world name the target is in |
|<target.l.x>|Returns the X coordinate of the target| | <target.l.x> | Returns the X coordinate of the target |
|<target.l.x.#>|Returns the X coordinate of the target +- random number between #| | <target.l.x.#> | Returns the X coordinate of the target +- random number between # |
|<target.l.y>|Returns the Y coordinate of the target| | <target.l.y> | Returns the Y coordinate of the target |
|<target.l.y.#>|Returns the Y coordinate of the target +- random number between #| | <target.l.y.#> | Returns the Y coordinate of the target +- random number between # |
|<target.l.z>|Returns the Z coordinate of the target| | <target.l.z> | Returns the Z coordinate of the target |
|<target.l.z.#>|Returns the Z coordinate of the target +- random number between #| | <target.l.z.#> | Returns the Z coordinate of the target +- random number between # |
|<target.l.yaw> |Returns the yaw of the target| | <target.l.yaw> | Returns the yaw of the target |
|<target.l.pitch> |Returns the pitch of the target| | <target.l.pitch> | Returns the pitch of the target |
|<target.level> |Returns the level of the target| | <target.level> | Returns the level of the target |
|<target.block.type> |Returns the block type of the target| | <target.block.type> | Returns the block type of the target |
|<target.entity_type> |Returns the entity type of the target| | <target.entity_type> | Returns the entity type of the target |
**Trigger Placeholders** **Trigger Placeholders**
----------------- -----------------
...@@ -133,21 +133,21 @@ These placeholders will return whatever attribute of the entity that caused the ...@@ -133,21 +133,21 @@ These placeholders will return whatever attribute of the entity that caused the
- message{m="<&b><caster.name><&r> was slain by <&a><trigger.name><&r>."} @PIR{r=20} ~onDeath - message{m="<&b><caster.name><&r> was slain by <&a><trigger.name><&r>."} @PIR{r=20} ~onDeath
----------------- -----------------
|Trigger Placeholders|Function| | Trigger Placeholders | Function |
|------------------|--------------------------------------------------------------------------------------| |----------------------|----------------------------------------------------------------------------------------|
|<trigger.uuid> |Returns the UUID of the entity triggering the skill| | <trigger.uuid> | Returns the UUID of the entity triggering the skill |
|<trigger.name> |Returns the name of the entity triggering the skill| | <trigger.name> | Returns the name of the entity triggering the skill |
|<trigger.hp> |Returns the current hp of the entity triggering the skill| | <trigger.hp> | Returns the current hp of the entity triggering the skill |
|<trigger.threat> |Returns the threat level of the entity triggering the skill| | <trigger.threat> | Returns the threat level of the entity triggering the skill |
|<trigger.l.w> |Returns the world name of the entity triggering the skill| | <trigger.l.w> | Returns the world name of the entity triggering the skill |
|<trigger.l.x> |Returns the X coordinate of the entity triggering the skill| | <trigger.l.x> | Returns the X coordinate of the entity triggering the skill |
|<trigger.l.x.#> |Returns the X coordinate of the entity triggering the skill +- random number between #| | <trigger.l.x.#> | Returns the X coordinate of the entity triggering the skill +- random number between # |
|<trigger.l.y> |Returns the Y coordinate of the entity triggering the skill| | <trigger.l.y> | Returns the Y coordinate of the entity triggering the skill |
|<trigger.l.y.#> |Returns the Y coordinate of the entity triggering the skill +- random number between #| | <trigger.l.y.#> | Returns the Y coordinate of the entity triggering the skill +- random number between # |
|<trigger.l.z> |Returns the Z coordinate of the entity triggering the skill| | <trigger.l.z> | Returns the Z coordinate of the entity triggering the skill |
|<trigger.l.z.#> |Returns the Z coordinate of the entity triggering the skill +- random number between #| | <trigger.l.z.#> | Returns the Z coordinate of the entity triggering the skill +- random number between # |
|<trigger.l.yaw> |Returns the yaw of the trigger| | <trigger.l.yaw> | Returns the yaw of the trigger |
|<trigger.l.pitch> |Returns the pitch of the trigger| | <trigger.l.pitch> | Returns the pitch of the trigger |
Misc Placeholders Misc Placeholders
...@@ -156,21 +156,21 @@ Misc Placeholders ...@@ -156,21 +156,21 @@ Misc Placeholders
| **Placeholder** | **Function** | | **Placeholder** | **Function** |
|-----------------------|-----------------------------------------------------| |-----------------------|-----------------------------------------------------|
| **Misc Placeholders** | | | **Misc Placeholders** | |
| <drops.xp> | Returns the xp dropped via Heroes or SkillAPI mods | | <drops.xp> | Returns the xp dropped via Heroes or SkillAPI mods |
| <drops.money> | Returns the money dropped through the vault plug-in | | <drops.money> | Returns the money dropped through the vault plug-in |
Special Placeholders Special Placeholders
-------------------- --------------------
| **Placeholder** | **Function** | | **Placeholder** | **Function** |
|----------------------------------------|---------------------------------------------------------------------------| |-----------------------------|-------------------------------------------------------------------------|
| <caster.score.objective> | Returns the score of the caster from "objective" | | <caster.score.objective> | Returns the score of the caster from "objective" |
| <target.score.objective> | Returns the targeters score from "objective" | | <target.score.objective> | Returns the targeters score from "objective" |
| <trigger.score.objective> | Returns the score of the trigger from "objective" | | <trigger.score.objective> | Returns the score of the trigger from "objective" |
| <global.score.objective> | Returns the score of fake player: \_\_GLOBAL\_\_ score from "objective" | | <global.score.objective> | Returns the score of fake player: \_\_GLOBAL\_\_ score from "objective" |
| <score.objective.dummyname> | Returns the score of "dummyname" (fake player) from "objective" | | <score.objective.dummyname> | Returns the score of "dummyname" (fake player) from "objective" |
| <random.#to#> | Returns a random integer in the specified range | | <random.#to#> | Returns a random integer in the specified range |
| <random.float.#to#> | Returns a random float number in the specified range | | <random.float.#to#> | Returns a random float number in the specified range |
Examples Examples
-------------------- --------------------
......
Clone repository

Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information

Mobs

     Overview
     Types
     Mob Options
     Mob Levels
     Mob Factions
     Power Scaling
     Damage Modifiers
     Equipment
     BossBar
     Custom AI
     Custom Kill Messages
     Threat Tables
     Immunity Tables
     Extra: Disguises
     Extra: ModelEngine

Skills

     Overview
     Mechanics
     Effects
     Targeters
     Triggers
     Conditions
     Placeholders
     Variables

Items & Drops

     Items
     Drops and Drop Tables
     Options
     Attributes
     Enchantments
     Potions
     Banner Layers

Spawning

     Spawners
     Random Spawns

Tutorials

     DamageSpells