A simple and easy to use custom prefix plugin
This is not a full prefix manager and is intended to be a perk / feature.
This allows anyone with the correct permissions to set their own chat prefix You will still require a chat manager and permissions system to handle this as this changes the specified player’s prefix option within the permissions files
I don’t fully get how to plugin works. When a player has more than 1 rank, but only 1 prefix is showing, I want them to be able to switch between the prefixes.
Example:
Player1 has Trainer and Builder, and [Trainer] prefix is showing. He wants to change it to [Builder]. Is it possible that he just does /prefixlist and it would show him all his available prefixes (instead of him setting the prefix to whatever he likes, he’s limited to just those 2), then when he clicks on one, it sets his prefix to that?
The main reason I’m doing it this way is to provide more flexibility. For instance if someone just wanted to provide multiple different prefixes instead of physically having to have a specific group with a prefix set to it.
And yes it should work with PermissionsEx. I will test it to make sure before i release it though.
Hmmm something seems to be broken.
I have this, for example in my config "1" { permission=mmcprefix.builder prefix="&7[&2Builder&7]" }
and I can see it when I give myself all perms, but when I remove myself from the all-perms (owner) rank and give myself mmcprefix.prefix.list and mmcprefix.builder only, it does not show me anything on the prefixlist. I made sure i reloaded the plugins and permissions file.
Also, can I request the commands to have cooldowns? perhaps something you set on the config file. Wouldn’t want a player keep changing his prefix every few seconds to confuse and annoy people lol.
ohhh that makes sense. So if I put mmcprefix.builder as the permission I’ll have to add mmcprefix.list.mmcprefix.builder to the user who wants it, right?
I would like to suggest a feature where a command can add a prefix to a player’s /prefixlist
So something like /addprefix [Test] player. Now player can choose the [Test] prefix
If you are on the latest version of luckperms, it should work. If you are, i will take a look and see if there is anything i can do
Edit: I have found that it indeed does not work. I have raised an issue on LuckPerms github as i believe it is the plugin’s problem since the method i am using does not work specifically on this permissions plugin.