LuckPerms

LuckPerms

41.4k Downloads

PlaceholderAPI Addition

coopersully opened this issue ยท 1 comments

commented

I think it would be super useful to have an additional placeholder %luckperms_prefix_clean% that would simply return the player's prefix with no color codes (&d or &#FFFFF) for use in plugins that send messages in other mediums (such as DiscordSRV) or GUI management plugins that do not automatically convert hex codes or color codes in general.

commented
  1. This suggestion belongs in the LuckPerms/placeholders repo.
  2. LP itself is not the one responsible for applying any formatting to placeholders, prefixes or anything, it just gives out the stored value raw (that's why it shows the way it does through DSRV).
    You can currently achieve this with meta values and the %luckperms_meta_<meta-key>% placeholder, by storing say for instance a meta key prefix-no-color with the group prefix as value but without the formatting codes. You can find the command syntax in the meta commands page on the wiki, under set.