# Formatting

Formatting is a NEW feature that replaces letters/words from a placeholder into something else,\
for example:

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace:
      J: A
      u: B
      n: C
      keh: DEFGHI
```

If you do `%easyph_format1%` and your username contains J or any of the letters listed (for example My username is Junkeh) The output will keep it the same but replaces those letters, (so my output would be ABCDEFGHI instead of Junkeh

`replace_all:` will check if the ENTIRE placeholder is the same so it  replaces it (this is a faster way to format placeholders)

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace_all:
      J: A
      u: B
      n: C
      keh: DEFGHI
```

formats are also on its own section, so it wont be under the placeholders category!

{% hint style="warning" %}
The replaces ARE CASE SENSITIVE
{% endhint %}

### Why is this feature a thing?

because you can do stuff like this:\
which will change ANY username to use a special font like this:

<figure><img src="https://3098818695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgeqwFFpKB18uBqEVNS3C%2Fuploads%2FJk6Q4LmvIOPvsuZWXC4T%2Fimage_2025-04-10_113855827.png?alt=media&#x26;token=87fe167f-346e-4b6d-874d-d7a1a76c7b54" alt=""><figcaption></figcaption></figure>

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace:
      a: ꐡ
      A: ꐡ
      b: ꐢ
      B: ꐢ
      c: ꐣ
      C: ꐣ
      d: ꐤ
      D: ꐤ
      e: ꐥ
      E: ꐥ
      f: ꐦ
      F: ꐦ
      g: ꐧ
      G: ꐧ
      h: ꐨ
      H: ꐨ
      i: ꐩ
      I: ꐩ
      j: ꐪ
      J: ꐪ
      k: ꐫ
      K: ꐫ
      l: ꐬ
      L: ꐬ
      m: ꐭ
      M: ꐭ
      n: ꐮ
      N: ꐮ
      o: ꐯ
      O: ꐯ
      p: ꐰ
      P: ꐰ
      q: ꐱ
      Q: ꐱ
      r: ꐲ
      R: ꐲ
      s: ꐳ
      S: ꐳ
      t: ꐴ
      T: ꐴ
      u: ꐵ
      U: ꐵ
      v: ꐶ
      V: ꐶ
      w: ꐷ
      W: ꐷ
      x: ꐸ
      X: ꐸ
      y: ꐹ
      Y: ꐹ
      z: ꐺ
      Z: ꐺ
      0: ꐻ
      1: ꐼ
      2: ꐽ
      3: ꐾ
      4: ꐿ
      5: ꑀ
      6: ꑁ
      7: ꑂ
      8: ꑃ
      9: ꑄ
```
