SimplePrefix
![]()
Main | Configuration | Metadata | Source
Simple Prefix: Allows you to easily manage your chat with prefixes and suffixes.
This plugin uses prefixes and suffixes that are very easy to configure, from inside of an yml config file. You apply prefixes and suffixes per user or group in the /SimplePrefix/config.yml file.
Alternatively, Simple Prefix can be configured to get the prefixes and suffixes from Vault supported chat plugins instead (PermissionsEx, bPermissions, etc.)
You can fully alter the chat format. For example, you could achieve the following ingame:
- [Admin] Flabaliki: my message here
Or even, just completely mix and match the template to get the look you want.
A developer API is available to those who wish to access prefixes and suffixes and use them within their own plugin. Click "Metadata" above.
That's basically what this is, just a lightweight plugin for quickly getting your prefixes and suffixes to work, however you want.
Read the Configuration page for instructions on how to use the plugin.
Features:
- Uses permissions to apply prefixes and suffixes to selected users or groups.
- Alternatively, can use prefixes and suffixes from plugins supported by Vault.
- Formatting/color codes are fully supported.
- Configure the chat format to display however you want.
- Developer API for fetching prefixes and suffixes.
- Easy to use commands for adding / removing prefixes in game.
- Set prefixes and suffixes per group or per user.
- Plays nicely with Essentials /nick command.
- Option to allow multiple prefixes / suffixes, and a configurable separator which is placed between them to separate them.
- A prefix or suffix tier system (so that you can make multiple ranking ladders).
- UUID support
- Offline mode server support (using usernames instead of UUIDs)
- Factions chat tags support (read our Configuration page)
Installation:
- Place Simple Prefix.jar into your plugins folder
- Restart or reload your server
- Edit your config.yml (see here for info)
Please carefully read the Configuration page!
Youtube Video:
A simple tutorial by Otaku Geeks that will help you get started:
And another video on the basics of setting up the config.
Here is a German video about the plugin.
Commands and Permissions:
| Command | Function | Permission |
|---|---|---|
| /spr help | Displays help | Depends on other permissions |
| /spr colours | Displays all colour codes | simpleprefix.command.colors |
| /spr p g <group> [prefix] | Add/remove prefix from specified group | simpleprefix.command.editGroups |
| /spr s g <group> [suffix] | Add/remove suffix from specified group | simpleprefix.command.editGroups |
| /spr p u <user> [prefix] | Add/remove prefix from a single player | simpleprefix.command.editIndividual |
| /spr s u <user> [suffix] | Add/remove suffix from a single player | simpleprefix.command.editIndividual |
| /spr p [prefix] | Add/remove prefix from yourself | simpleprefix.command.editOwn |
| /spr s [suffix] | Add/remove suffix from yourself | simpleprefix.command.editOwn |
| /spr w <world> [nickname] | Add/remove a world nickname | simpleprefix.command.editWorld |
| /spr reload | Reloads config from file | simpleprefix.command.reload |
| Permission for all commands | simpleprefix.command.* |
To remove a prefix or suffix, leave [prefix] and [suffix] out of the command
Use the permission simpleprefix.<group name> to add a person to a group.
What people say about Simple Prefix:
"This was exactly what I was looking for! Simple and straight forward to use ... I think it took me about 5 minutes after reading over the directions to get it setup...and my users were instantly thankful and excited about their cool new fancy prefixes. Thanks for your efforts!" - GrumblyOldBear
"You're the best! Prior to simplePrefix I spent weeks looking for something that would do prefixes by permissions, and now that I find it, I get functionality AND quick support, as well as new features implemented! <3" - octoshrimpy
"Epic plugin!" - Bammerbom
"Great plugin! :)" - ThisUsernameIsMine
"oh thank god youre updating this...i love the concept of multiple prefixes. its what ive been looking for for a LOOONNNGGG time. im so glad i found this one and itd be awesome to have it updated" - SatansDaughter66 (Written when the 2.3 update was announced)
"Been using this for quite some time, and it's always served our needs well... Thanks for making an awesome plugin! - Islid
As of version 2.3.1, this plugin uses an automatic updater to check if you are running the latest version, and if not, it downloads the latest version. To disable this please set "Auto-Update" to "false" in the config.yml file.
-
View User Profile
-
Send Message
Posted Mar 13, 2015Afer looking into your advice, I have changed the config and it did fix some issues. However multiPrefix option is not working. I would like to be able to give players multiple prefixes with groups. Also if the player is OPed, he automatically recieves the highest in order group which overrides any specific groups that he has access to. Can you please make multiprefix work with groups and disable OP's from getting the highest in order groups. Here is mine config: http://pastebin.com/5wD8HdrK
-
View User Profile
-
Send Message
Posted Mar 13, 2015Hello. I downloaded your plugin just so I could get the format and multiprefix-suffix support. This is currently my config http://pastebin.com/21A05mM9 I enabled vault so that it would fetch all the prefix/suffix's from there and just copy the format and use multiprefix/suffix. The suffix does not go infront of the name currently & Multi prefix's don't work so on. Do I still need to add permissions to groups or something?
-
View User Profile
-
Send Message
Posted Mar 12, 2015@shop1126
I'm having a hard time understanding what you said. Could you explain it more clearly, and show me your permissions and simple prefix configs (at least the relevant parts).
Edit: If I'm not mistaken, your problem is probably about the order of the groups in the config. Read this, maybe it'll help:
"If the user has multiple nodes, for group prefix or suffixes, the top most one in the config.yml file will be used. For example, if a user has both; simpleprefix.owner and simpleprefix.mod, then the owner group should be placed above the mod group, in the config file. This will make the owner group more important than the mod group, and owners won't get the mod prefix." (from Configuration page)
-
View User Profile
-
Send Message
Posted Mar 10, 2015Did some testing, here is a quick summary: Using Spigot build #35, groupmanager #2.1.31, all ranks inherit permissions from previous. Firts two ranks will display and second rank will inherit the group-set (simpleprefix.<group>) prefix/suffix, any ranks beyond that don't display them. If you add group-set (simpleprefix.<group>) prefix/suffx to user, it will not be displayed, even if user is one of first two ranks. All player assigned prefixes/suffixes (/spr p <user> <prefix> or/and /spr s <user> <suffix>) do display. I am sure that I am adding correct permissions.
-
View User Profile
-
Send Message
Posted Mar 10, 2015@BaranCODE
Thanks man, it worked perfect!
Appreciate the reply.
-
View User Profile
-
Send Message
Posted Mar 10, 2015@Landstreet
If you have multiPrefix turned off (everyone only gets one prefix), then you could use this method:
"If the user has multiple nodes, for group prefix or suffixes, the top most one in the config.yml file will be used. For example, if a user has both; simpleprefix.owner and simpleprefix.mod, then the owner group should be placed above the mod group, in the config file. This will make the owner group more important than the mod group, and owners won't get the mod prefix." (from Configuration page)
-
View User Profile
-
Send Message
Posted Mar 10, 2015@shop1126
Hi, thanks for your reply.
I have tried to negate the wrong prefix, however it still gives me the wrong one when im OP.
-
View User Profile
-
Send Message
Posted Mar 9, 2015@Landstreet
I believe if you're using Groupmanager try to do /manuaddp (user) -simpleprefix.(group) what's important here is the - it negates the wrong prefix.
-
View User Profile
-
Send Message
Posted Mar 9, 2015I have a problem, if i have OP i automatically get the example prefix even tho my group has another prefix. If i de-op myself i get the right prefix. Is there a fix to this?
-
View User Profile
-
Send Message
Posted Mar 9, 2015@shop1126
So you're saying the user-set prefixes work, but not the group-set ones? That sounds like a permissions problem.
-
View User Profile
-
Send Message
Posted Mar 8, 2015I'm experiencing an issue where group-set prefixes and suffixes do not show up, it just started with the new Spigot version Build #35. I'm running an online server. Also, I'm not using Bungeecord. Also, I believe the permissions are all set up accordingly. Here is our current config: http://pastebin.com/bDGH73mZ
-
View User Profile
-
Send Message
Posted Mar 7, 2015@VenionTC
Is your server in online mode, or offline? That's something that usually happens on offline mode servers.
"SimplePrefix may not work in offline mode, and I'm not planning to make it so any time soon. No support will be offered to offline mode servers"
-
View User Profile
-
Send Message
Posted Mar 4, 2015There's a weird bug where random players will not be able to have command-given prefixes at all, anyone else experiencing this?
Update: in the config where their UUID should be it is simply saying 'null'
Update 2: The player had to re-log to fix this, but I still needed to add the prefixes manually once more, which is a bit of a pain
-
View User Profile
-
Send Message
Posted Mar 4, 2015@MuhsinunCool
use /mv conf prefixchat false
-
View User Profile
-
Send Message
Posted Feb 25, 2015Plz add multiverse support i wanted the multiverse aliases not the [World] D: and the multiverse alias won't show up with this plugin D: plz fix D: mew
-
View User Profile
-
Send Message
Posted Feb 24, 2015@shop1126
I haven't noticed any bug like what you described. Make sure you're properly adding the permissions for all the prefixes you want to give.
-
View User Profile
-
Send Message
Posted Feb 21, 2015Ah I see what you mean towards the end, but we've always had multiple prefixes enabled to true but sometimes it doesn't show them all. Btw thanks for the quick reply.
-
View User Profile
-
Send Message
Posted Feb 21, 2015@shop1126
That's not a glitch, that's a feature. :)
There's an option in the config that let's you choose whether multiple prefixes should be allowed or not. Please read the last two bullet points on this page: http://dev.bukkit.org/bukkit-plugins/simple-prefix/pages/configuration/
About the Essentials Chat, both that and this are chat formatting plugins. They are used to do the same thing, so you shouldn't be using both at the same time. That's like using.. multiverse and multiworld at the same time, see what I mean?
-
View User Profile
-
Send Message
Posted Feb 21, 2015Sometimes there's a glitch that doesn't allow you to have multiple prefixes added to one person, is there anyway to fix this? Thanks :) Also I don't think there's full compatibility with Essentials Chat. Thanks for reading :)
-
View User Profile
-
Send Message
Posted Feb 19, 2015@hugocap22
"Use the permission simpleprefix.<group name> to add a person to a group."