Ajneb97 / EasyCommandBlocker

MIT License
6 stars 4 forks source link

Color support #9

Closed JuraRusan closed 10 months ago

JuraRusan commented 11 months ago

Request to add HEX colors, or at least Legacy (&x&f&b&0&0&0&0)

Thank you in advance!

Ajneb97 commented 11 months ago

The plugin already has support for hex colors, use this format: #000000

JuraRusan commented 11 months ago

I tried using the format you suggested, but I don't get the color I expected.

blocked_command_default_actions:
  - "message: #f42f31 Error: #caeaf5You cannot execute the given command or the argument is invalid!"

image

These colors were expected image image

Maybe some kind of error? Or am I doing it wrong?

Ajneb97 commented 11 months ago

Are you using Spigot/Paper ?

JuraRusan commented 11 months ago

I use it on both a proxy (Waterfall) and a paper servers

This server is running Paper version git-Paper-84 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: c016e03)
You are 112 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: git-Paper-538 (MC: 1.19.4)
JuraRusan commented 10 months ago

Thanks a lot for the fix (1.8.2), everything works great!