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 144
    • Issues 144
    • 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
MiniMessage formatting authored Feb 28, 2022 by Phillip's avatar Phillip
Show whitespace changes
Inline Side-by-side
Showing with 113 additions and 99 deletions
+113 -99
  • Skills/Placeholders.md Skills/Placeholders.md +113 -99
  • No files found.
Skills/Placeholders.md
View page @ 33454e35
......@@ -10,7 +10,7 @@ Special Characters
------------------
| **Placeholder** | **Function** |
|-----------------|-----------------------------------|
|:---------------:|-----------------------------------|
| <&co> | Returns a colon (:) |
| <&sq> | Returns an apostrophe (') |
| <&da> | Returns a dash (-) |
......@@ -37,8 +37,10 @@ Color Codes
These color codes work anywhere in mob- and skill-files. They will even
properly format tellraw-commands used in command skills!
Legacy color codes:
| **Code** | **Color** | **Code** | **Color** |
|----------|-------------|----------|----------------|
|:--------:|:-----------:|:--------:|:--------------:|
| &0 | Black | &B | Aqua |
| &1 | Dark Blue | &C | Red |
| &2 | Dark Green | &D | Light Purple |
......@@ -51,12 +53,25 @@ properly format tellraw-commands used in command skills!
| &9 | Blue | &O | Italic |
| &A | Green | &R | Reset |
MiniMessage color formatting:
| **Code** | **Color** | **Example** | **Text Displayed** |
|:----------:|:---------------------:|:--------------------:|:----------------------------------------:|
| \<HEXCODE> | The hex color defined | <#F9DC58>TEXT | <p><font color="#F9DC58">TEXT</font></p> |
| \<b> | Bold | \<b>BOLD | **BOLD** |
| \<i> | Italic | \<i>ITALICIZED | <i>ITALICIZED</i> |
| \<st> | Strikethrough | \<st>STRIKETHROUGH | ~~STRIKETHROUGH~~ |
| \<u> | Underlined | \<u>UNDERLINED | <u>UNDERLINED</u> |
| \<obf> | Obfuscated | \<obf> | |
| \<reset> | Reset | \<b>BOLD\<reset>TEXT | <strong>BOLD</strong>TEXT |
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.
| Caster Placeholder | Function |
|---------------------|-------------------------------------------------------------------|
|:-------------------:|-------------------------------------------------------------------|
| <caster.damage> | Returns the caster's Attack_Damage attribute value |
| <caster.uuid> | Returns the UUID of the caster |
| <caster.level> | Returns the level of the caster |
......@@ -88,7 +103,7 @@ These placeholders will return whatever attribute of the caster that is called.
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** |
|---------------------------|-------------------------------------------------------------------------|
|:-------------------------:|-------------------------------------------------------------------------|
| <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.damage-amount> | Returns the amount of damage taken in the onDamaged trigger |
......@@ -104,7 +119,7 @@ These placeholders will return whatever variable has been called. For instance <
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.uuid> | Returns the UUID of the target |
| <target.name> | Returns the name of the target |
| <target.hp> | Returns current hp of the target |
......@@ -134,7 +149,7 @@ These placeholders will return whatever attribute of the entity that caused the
-----------------
| Trigger Placeholders | Function |
|----------------------|----------------------------------------------------------------------------------------|
|:--------------------:|----------------------------------------------------------------------------------------|
| <trigger.uuid> | Returns the UUID 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 |
......@@ -154,8 +169,7 @@ Misc Placeholders
-----------------
| **Placeholder** | **Function** |
|-----------------------|-----------------------------------------------------|
| **Misc Placeholders** | |
|:---------------------:|-----------------------------------------------------|
| <drops.xp> | Returns the xp dropped via Heroes or SkillAPI mods |
| <drops.money> | Returns the money dropped through the vault plug-in |
......
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