... | ... | @@ -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 |
|
|
|
|
... | ... | |