kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
49 stars 23 forks source link

1.20.1: Questions about luckperms prefixes on bungeecord #2751

Closed xOnlyFadi closed 2 months ago

xOnlyFadi commented 2 months ago

Are you using MySQL?

Yes

Are you using BungeeCord/Velocity?

Yes - BungeeCord

Question

Hello kangarko, I have a question about bungeecord version of chatcontrol red is there a way to get luck perms prefixes that works with bungeecontrol red to get prefixes?

kangarko commented 2 months ago

Yes, but you need to make the prefixes be recognized by PlaceholderAPI on your spigot server. ChatControl will then pick up on them.

xOnlyFadi commented 2 months ago

Yes, but you need to make the prefixes be recognized by PlaceholderAPI on your spigot server. ChatControl will then pick up on them.

How do I make to recognize the placeholder for chatcontrol ?

kangarko commented 2 months ago

Install PlaceholderAPI and its luckperm expansion pack

xOnlyFadi commented 2 months ago

tried this but the join message with luckperms prefix did not work I used a different method, download the bungeecontrol-red from bitbucket and imported the luckperms library and made a custom function that calls the prefix is that okay with you this way?

    public String getPlayerPrefix() {
        LuckPerms api = LuckPermsProvider.get();

        User user = api.getUserManager().getUser(this.uniqueId);
        String prefix = user.getCachedData().getMetaData().getPrefix();

        return prefix;

    }
kangarko commented 2 months ago

That is okay!

xOnlyFadi commented 2 months ago

thank you and have a nice day 😄