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
added a note to using legacy colour codes authored May 31, 2022 by Phillip's avatar Phillip
Show 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,12 +52,22 @@ Legacy color codes: ...@@ -52,12 +52,22 @@ Legacy color codes:
| &9 | Blue | &O | Italic | | &9 | Blue | &O | Italic |
| &A | Green | &R | Reset | | &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 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.display> | Returns the caster's displayed name | | <caster.display> | Returns the caster's displayed name |
| <caster.uuid> | Returns the UUID of the caster | | <caster.uuid> | Returns the UUID of the caster |
......
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