Full output of /ess version:
Server log:
https://gist.github.com/dixiatielu/cb6b375077f771bd5deb578e37b36ef2
EssentialsX config
Config Here
Problem
I tried to add a sever command in kits.yml, which includes {PLAYER}. Like this:
ten_online_gift:
delay: -1
items:
- /lp user {PLAYER} parent add sponsori
When I tried to give the kit to the player, the console said it's not a valid username.

What I have tried
I tried to change the /lp command to /give {PLAYERNAME} acacialog, but it worked successfully.
But when I tried /setvip {PLAYER} SponsorI 1, it doesn't work again.

Screenshots
See above.
Can confirm.

What seems to be the issue is that EssentialsX provides usernames with color codes in them
Try using the {USERNAME} placeholder instead. The {PLAYER} placeholder returns the player's display name, including any prefixes/suffixes/coloring.
Try using the
{USERNAME}placeholder instead. The{PLAYER}placeholder returns the player's display name, including any prefixes/suffixes/coloring.
Yeah that works. Could you update the comments in kits.yml?
Yeah that works. Could you update the comments in
kits.yml?
kits.yml already reflects this: https://github.com/EssentialsX/Essentials/blob/73d2457feac4861de214143e5160e2b6795f5e57/Essentials/src/kits.yml#L8-L9
Yeah that works. Could you update the comments in
kits.yml?
kits.ymlalready reflects this:
OK, thanks. Maybe that's just because my config is a little bit old.
Most helpful comment
OK, thanks. Maybe that's just because my config is a little bit old.