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 Jun 22, 2015@CatTheKitten
Why do you people insist on not reading the instructions? The answer to your question is described in the Configuration page.
-
View User Profile
-
Send Message
Posted Jun 21, 2015I recently suggested this to a server I help around on and when the owner installed it, our names had a Timestamp and [World] before it. We do not want any of these and I have to know how to remove it from everyone. Please help?
-
View User Profile
-
Send Message
Posted Jun 19, 2015@FleetOfDeath
You said the spr command didn't work; it sounds like Simple Prefix didn't load at all. If that is the case, there were probably some errors while the server started. Take a look at those, and post them here if you need more help.
-
View User Profile
-
Send Message
Posted Jun 19, 2015I updated the plugin just recently, and it messed up everything. My prefixes reset, nicknames reset, suffixes reset, and I am having trouble fixing. It also says "unknown command" when I do /spr help. Any advice?
-
View User Profile
-
Send Message
Posted Jun 8, 2015@GoldenEagle5
You can already have multiple suffixes gotten through groups, you could achieve this through that. And I don't see why you would need an option to set multiple suffixes for a specific user; why don't you just write them next to each other, and set them as the suffix, together?
-
View User Profile
-
Send Message
Posted Jun 8, 2015Really great plugin, I just need to know how to add multiple suffixes to a person using commands. If you can't do it, I would suggest adding it by having a /spr s u add [user] [prefix] [hierarchy] where the suffix a user has with the highest hierarchy comes first. In addition, there should also be a /spr s u remove [user] [prefix]. This would be easy to use only when the multisuffix variable is true by having the if statement in the onCommand function be like if (this.getConfig().getBoolean("multisuffix") == true) or something like that. The same format could also be used to add multiple prefixes. Thanks
-
View User Profile
-
Send Message
Posted Jun 2, 2015@BaranCODE
Thank you!
-
View User Profile
-
Send Message
Posted Jun 1, 2015@CloudeLecaw
It should already work with display names.
And no, the order of those suffixes currently can't be changed, and I'm not planning to add that feature.
@anitawexler
You can use this: http://dev.bukkit.org/bukkit-plugins/simple-prefix/files/26-v2-3-5/
@ausir0726
I'll add that.
-
View User Profile
-
Send Message
Posted May 31, 2015do they have this for 1.7.10 cuz that would be nice
-
View User Profile
-
Send Message
Posted May 29, 2015hi ,
can you make prefix(suffix) word length .. ? because we need open this plugin for user . but some user type a very long prefix .. @@
thanks
-
View User Profile
-
Send Message
Posted May 29, 2015@CloudeLecaw
For your format, you just have:
format: '<[prefix][name][suffix]>'
Then, you enable the multiPrefix and the multiSuffix options. You can change multiPrefixSeparator and multiSuffixSeparator if you want.
You give the players the permissions for the group prefixes, with the permissions: simpleprefix.<group name>
And then you give the players personal prefixes by setting them in the config, under the User part, or by using the Simple Prefix commands.
-
View User Profile
-
Send Message
Posted May 29, 2015Update v2.4.1:
I've added an option called OPs-have-all. When this is true, opped players will have permissions for all the prefix/suffixes, by default. When this is false, they will be like every other player, and will only have the prefix/suffixes that they were specifically given permissions for.
I know many of you weren't pleased by the fact that OPs had all prefix/suffix permissions by default, so I decided to look into it, and I added this option.
-
View User Profile
-
Send Message
Posted May 29, 2015@CloudeLecaw
I'm not sure I fully understand. If you're saying you want people to have both their user prefixes, and group prefixes, then you should enable the multiPrefix option.
-
View User Profile
-
Send Message
Posted May 27, 2015@CloudeLecaw
That's not how it works. You have two options; either setting it up with permissions, or with Vault.
1) You set up the prefixes and suffixes in the Simple Prefix config, with Simple Prefix groups. And then you give people the permissions for those prefix and suffix groups, by adding "simpleprefix.<group name>" permissions. You can add those permissions to the groups you have in PEX, so that every group can have a Simple Prefix group (and so prefix/suffix).
OR
2) You enable the vault option in the Simple Prefix config, so that Simple Prefix gets the prefixes and suffixes for players from Vault and displays those. Vault will get these from the prefix and suffix values saved in PEX.
-
View User Profile
-
Send Message
Posted May 27, 2015@KeopsTV
"Note: 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."
- Taken from the Configuration page: http://dev.bukkit.org/bukkit-plugins/simple-prefix/pages/configuration/
-
View User Profile
-
Send Message
Posted May 25, 2015@BaranCODE
Setting use-vault to true solved some of my problems.. Though when I /setrank a person, the prefix does not update not matter what I do (restart, reload,etc..). Any possible solutions?
EDIT: It appears when a user is not OP, he is a user and when he is OP, he is a member.. I'm confused now
-
View User Profile
-
Send Message
Posted May 23, 2015@ElviePlayz
That would be nice.
-
View User Profile
-
Send Message
Posted May 23, 2015I could of make a video for the plugin if u still need one :D
-
View User Profile
-
Send Message
Posted May 23, 2015@pattyd15
The bungee option in the config is so that the plugin takes player UUIDs from bungeecord, it has nothing to do with permissions.
If you have BungeePerms only on your bungeecord server, that won't work for Simple Prefix; because that won't set any Bukkit permissions, just bungeecord permissions. If you're sure you want to use BungeePerms to manage all your permissions, you should install BungeePermsBukkit on your Bukkit/Spigot servers (I'm assuming you don't have another permissions plugin on them). Read more about it on BungeePerms's own page.
-
View User Profile
-
Send Message
Posted May 23, 2015@BaranCODE
Still not working even when use-vault is set to false. I have bungee set to true though, and I have BungeePerms installed on my bungee server, and SimplePrefix installed on my bukkit server
What does bungeecord: true even do? And am I right in saying that the permission node is simpleprefix.GROUP And I'm also assuming that this plugin works with BungeePerms.