Skript: Permission Colors stopped working

Created on 7 Jan 2019  路  8Comments  路  Source: SkriptLang/Skript

Description

Permission colors in commands stopped working

Steps to Reproduce

use this code:

command /test:
    permission: perm.perm
    permission message: &cYou do not have perm for this
    trigger:
        send "test"

it outputs:
"&cYou do not have perm for this" (not colored)

Expected Behavior

It should send "You do not have perm for this" in red

Errors / Screenshots

no errors

Server Information

  • Server version/platform: PaperMC (git-Paper-474 (MC: 1.13.2))
  • Skript version: Skript version 2.3.1
bug completed

Most helpful comment

here is when pikachu fixed it last time, and I remember it working after that
https://github.com/SkriptLang/Skript/commit/de0351cfe5b9704ae12fd8d02890561bedb19133

All 8 comments

try use this 搂c

@ShaneBeee

well that is odd that works,

but still &c should work

Do you have any clue what version this used to work in?

Does it work with cooldown messages?

The commit that fixed this was likely lost in the 1.13 merge, it should still be in commit history

It works with cooldown messages but not permission messages

https://github.com/SkriptLang/Skript/pull/1047/files#diff-96afdca7bb9db518e3faac3e25164e9fR449

https://github.com/SkriptLang/Skript/commit/b26cf61002986784d5bc6801aad9811bd0741644#diff-96afdca7bb9db518e3faac3e25164e9fR426

@Pikachu920 you should have used the same code in any way

here is when pikachu fixed it last time, and I remember it working after that
https://github.com/SkriptLang/Skript/commit/de0351cfe5b9704ae12fd8d02890561bedb19133

That commit should be back now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GiraffeCubed picture GiraffeCubed  路  3Comments

Eryk1983S picture Eryk1983S  路  3Comments

ghost picture ghost  路  3Comments

Snow-Pyon picture Snow-Pyon  路  4Comments

jaylawl picture jaylawl  路  3Comments