SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.06k stars 366 forks source link

Prefixes #6634

Open AllawiEZ opened 4 months ago

AllawiEZ commented 4 months ago

Suggestion

set {_prefix} to colored prefix of group named "admin" set {_prefix} to colored {_group}

Why?

Since you have this and this. It will be a pretty neat edition.

Other

Maybe suffix? Don't really care about that.

Agreement

Fusezion commented 4 months ago

this? https://docs.skriptlang.org/expressions.html?search=#ExprPrefixSuffix

Phill310 commented 4 months ago

I think thats what they want except they want to be able to use it on groups as well as players

AllawiEZ commented 4 months ago

this? https://docs.skriptlang.org/expressions.html?search=#ExprPrefixSuffix

No, I meant color of groups

I think thats what they want except they want to be able to use it on groups as well as players

Correct.

Hurming commented 4 months ago

Also add group of offline player that is very needed. image_2024-05-02_013930178 image_2024-05-02_013940745

Phill310 commented 4 months ago

The code looks like it already supports offline players

Hurming commented 4 months ago

The code looks like it already supports offline players

It's showing as < none > . that's why offline players don't work only online players

AyhamAl-Ali commented 4 months ago

RE: For the group of offline players

This is probably not related to Skript. Skript only uses Vault's API that permission plugins uses See if enabling this option helps

https://github.com/LuckPerms/LuckPerms/blob/d74a4dcb7efe61aa366397c5cff7de3aef132aeb/bukkit/src/main/resources/config.yml#L641