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 Dec 27, 2014@Khaiming
Look at what @Orbixas wrote a few comments below. Also, if you're using EssentialsChat, you shouldn't use Simple Prefix at the same time.
-
View User Profile
-
Send Message
Posted Dec 27, 2014Why not working to me. If i remove Essentials its work , but i put Essentials its not working
-
View User Profile
-
Send Message
Posted Dec 26, 2014@CarrotBox
You can: http://wiki.ess3.net/wiki/Group_Manager#Negative_Nodes
It's a basic concept in all permissions plugins, including Group Manager.
Edit: If you're using Group Manager, read the part about Exception Nodes as well. You'll use a negative node to deny simpleprefix.* for OPs, and then exception nodes to allow simpleprefix.command.* (if you want) and the permission of the prefix/suffix group.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@BaranCODE
I've searched for a plugin that will deny permissions with groupmanager and couldn't find one.
-
View User Profile
-
Send Message
Posted Dec 24, 2014@BaranCODE
Im afraid that you cant deny permissions with groupmanager.
-
View User Profile
-
Send Message
Posted Dec 23, 2014Hey, there!
I have a problem with getting this set up... I have this and Essentials on my server, but with Essentials I just get my name in red since I am op. This works perfectly fine without Essentials, is there any way to fix it? I don't want to remove Essentials...
EDIT
I found out how. Go to the Essentials' config and set the anti change name thingy and op color name to false and none.
-
View User Profile
-
Send Message
Posted Dec 17, 2014@BaranCODE
I was using bungeecord, but I see you have uploaded a new version with better bungeecord support so ill see how that goes :P
-
View User Profile
-
Send Message
Posted Dec 17, 2014@CarrotBox
I have taken a look at it, and decided to not do it. This is because in the Bukkit permissions system, when the default value for a permission node is undefined, OPs will have the permission by default; and in Simple Prefix, I do a basic check to see if a player has the permission for a group. I can't set the default values for the group permissions either, because I don't know what the names of the Simple Prefix groups are going to be beforehand (as the user configures it). All of this basically means that this can't be done very easily.
On the other hand, you can accomplish what you want very easily with a permissions plugin. Just deny simpleprefix.* to OPs (you'll probably give them simpleprefix.command.* though), and give them the specific group permissions. If I remember correctly, when using PEX, you should give them the specific permissions first, and deny simpleprefix.* afterwards, in the list of permissions.
-
View User Profile
-
Send Message
Posted Dec 17, 2014@foxcraftcloakfox
Are you using an offline mode server? Simple Prefix does not support offline mode
-
View User Profile
-
Send Message
Posted Dec 16, 2014@BaronCODE
When can u fix this?
@Evorz
Glad I could help.
-
View User Profile
-
Send Message
Posted Dec 15, 2014I am getting this error and it does not load the suffix for the user Simpleprefix errors: http://pastebin.com/wggwZwZ6 exact error: http://pastebin.com/pj3T5vSh
-
View User Profile
-
Send Message
Posted Dec 7, 2014@CarrotBox
Thanks for the help, but it didn't work so i did this and it worked: format: '<{factions_relcolor}§l{factions_roleprefix}§r{factions_relcolor}{factions_name|rp}[prefix][name][suffix]> '
-
View User Profile
-
Send Message
Posted Dec 6, 2014@Evorz
Find "format" in your SimplePrefix config. Add {faction_name} wherever you would like to display the players factions tag.
-
View User Profile
-
Send Message
Posted Dec 6, 2014@BaranCODE
Alright, thanks. I saw that there were a lot of request on it. It just never explained how to fix it, just complaints.
-
View User Profile
-
Send Message
Posted Dec 5, 2014I have a problem with Factions, that it doesnt display the Faction name before the prefix :/
-
View User Profile
-
Send Message
Posted Nov 28, 2014@NinjaSplat
Yes, it probably will.
@tristanthewren
The latest version of Simple Prefix should work with 1.7. If it doesn't, check if you're having the "problem" I mentioned in my previous comment.
@CarrotBox
Alright, I guess I'll take a look at that (you're not the first person to mention it).
-
View User Profile
-
Send Message
Posted Nov 28, 2014If you guys are having problems with this plugin (specifically, the problem where nothing happens in the config or in-game when you try to set a prefix/suffix), then that's because you're using offline mode.
SimplePrefix does not work with players in offline mode, and I'm not planning to make it so any time soon. You may:
- Either use online mode.
- If you have to use offline mode because you're using a proxy (like bungeecord), and your proxy is in online mode, that's okay too.
-
View User Profile
-
Send Message
Posted Nov 26, 2014Hi,
Could you make it so that when you have multiPrefix set to True that every op will not have all the prefixes assigned to them? If I need to do something in the config to correct this, please give me a detailed explanation on how to correct this as other people may have the same problem.
When I am op with only the permissions * and simpleprefix.prestige0 (one of my prefixes) it will display all of the prefixes, when I am op and have the permissions simpleprefix.prestige0 it displays all of the prefixes. When I am deoped with the permissions * and simpleprefix.prestige0 it will have the prefix prestige0 and that is it.
Thanks,
CarrotBox
-
View User Profile
-
Send Message
Posted Nov 19, 2014If someone can tell me what version of this plugin they use that the commands work on and runs with 1.7 that would be great, thanks :)
-
View User Profile
-
Send Message
Posted Nov 16, 2014Will this plugin be ported to Sponge when it's out? I need this plugin and it's very useful.