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 132
    • Issues 132
    • 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
added a note to using legacy colour codes authored 2 years ago by Phillip's avatar Phillip
Hide whitespace changes
Inline Side-by-side
Showing with 38 additions and 28 deletions
+38 -28
  • Skills/Placeholders.md Skills/Placeholders.md +38 -28
  • No files found.
Skills/Placeholders.md
View page @ f27e6d11
......@@ -52,38 +52,48 @@ Legacy color codes:
| &9 | Blue | &O | Italic |
| &A | Green | &R | Reset |
Note: As of MM 5.0.1+, it's recommended that you use [MiniMessage standard tags](https://docs.adventure.kyori.net/minimessage/format.html#standard-tags) for text decorations for readability and configurability, since MythicMobs will try to convert legacy color codes to MiniMessage tags.
Here's an example of using MiniMessage tags:
```yml
MessageSkill:
Skills:
- message{m=<rainbow>This text is a rainbow</rainbow> but <red>this is red</red>!} @target
- message{m=<#bae5f4>This is a cool color that I picked from</#bae5f4> <red><click:open_url:https://www.color-hex.com/color/bae5f4>color-hex site</click></red>} @target
```
MiniMessage also has a [web viewer](https://webui.adventure.kyori.net/) to see what your text will look like in game.
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.display> | Returns the caster's displayed name |
| <caster.uuid> | Returns the UUID of the caster |
| <caster.level> | Returns the level of the caster |
| <caster.name> | Returns the name of the caster |
| <caster.hp> | Returns current hp of the caster |
| <caster.mhp> | Returns the max hp of the caster |
| <caster.php> | Returns the percent 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.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 +- random number between # |
| <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 +- random number between # |
| <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 +- random number between # |
| <caster.l.z.double> | Returns the precise Z coordinate of the caster |
| <caster.l.yaw> | Returns the yaw of the caster |
| <caster.l.pitch> | Returns the pitch 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.uuid> | Returns the uuid of the wolf's owner |
| <caster.heldenchantlevel.#> | Returns the enchant level of specified # enchant |
| Caster Placeholder | Function |
|:---------------------------:|-------------------------------------------------------------------|
| <caster.damage> | Returns the caster's Attack_Damage attribute value |
| <caster.display> | Returns the caster's displayed name |
| <caster.uuid> | Returns the UUID of the caster |
| <caster.level> | Returns the level of the caster |
| <caster.name> | Returns the name of the caster |
| <caster.hp> | Returns current hp of the caster |
| <caster.mhp> | Returns the max hp of the caster |
| <caster.php> | Returns the percent 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.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 +- random number between # |
| <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 +- random number between # |
| <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 +- random number between # |
| <caster.l.z.double> | Returns the precise Z coordinate of the caster |
| <caster.l.yaw> | Returns the yaw of the caster |
| <caster.l.pitch> | Returns the pitch 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.uuid> | Returns the uuid of the wolf's owner |
| <caster.heldenchantlevel.#> | Returns the enchant level of specified # enchant |
**Variable Placeholders**
......
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information
  • Packs

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

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns

Tutorials

  • Common Examples