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 Aug 10, 2014@BaranCODE
A plugin with a chat variable was developed for me, but when I add the variable to SimplePrefix, I get the following error in console, and chat turns to the default layout for EssentialsChat. http://pastebin.com/E0RT2w02
The person who made me the plugin said he has no idea why this is happening. Any fix that you know of?
-
View User Profile
-
Send Message
Posted Aug 10, 2014@BaranCODE
Ah, I see, lol. Well, what can you do, eh? :P
I seem to be having an issue where when I use the /spr suffix command, it applies whatever I type as a prefix instead. I'm using version 2.3.3. Am I typing something wrong, or is it a config problem? Or perhaps something else?
EDIT: I'm terribly sorry, I mixed those two up - I edited the post to reflect what I really intended to say. This is why I shouldn't ask for plugin support at 2 AM, lol.
-
View User Profile
-
Send Message
Posted Aug 10, 2014@Islid
People rarely ask their questions or give their ideas using the ticket system; they find it easier to comment. I've found that trying to enforce the ticket system is futile, and decided I wouldn't bother doing so, this time. I just provide the support here, in the comments, as you can see below.
-
View User Profile
-
Send Message
Posted Aug 10, 2014Am I just totally blind, or am I missing where tickets are supposed to be posted? I can't see a link anywhere. :(
-
View User Profile
-
Send Message
Posted Aug 9, 2014@BaranCODE
ok,thanks for the help,now works fine
-
View User Profile
-
Send Message
Posted Aug 8, 2014@Luuko132
I don't believe that is possible with the current versions of Simple Prefix and McMMO. I may make an update to add this.
-
View User Profile
-
Send Message
Posted Aug 8, 2014@altair123ezio
Did you actually read the quote I pasted in my previous comment? Read it again.
Basically, what it's saying is that if a person has permissions for more than one group (which I am sure your admins do), make sure the group that is more important is higher up in the config. What you did is write default first, and admin next, but it should be the opposite way around, in the config.
-
View User Profile
-
Send Message
Posted Aug 8, 2014I have a pluggin Mcmmo. Can i when i reach a certain power level with mcmmo. Change my prefix. Any help appreciated ;)
-
View User Profile
-
Send Message
Posted Aug 7, 2014@BaranCODE
This is my Permissions bukkit file
http://pastebin.com/vNASiWRW
And this the SimplePrefix file
http://pastebin.com/BFnPhZLU
My question is,what go wrong?
-
View User Profile
-
Send Message
Posted Aug 5, 2014@altair123ezio
"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."
-
View User Profile
-
Send Message
Posted Aug 5, 2014well,on my server this plugin no works fine,in my admin group i put the perm simpleprefix.admin: true,but in the game i have the prefix of the normal member,help me pls
-
View User Profile
-
Send Message
Posted Aug 3, 2014@WitherFire
You give them permission to set their own prefixes? Huh.
-
View User Profile
-
Send Message
Posted Aug 3, 2014Don't you guys think this plugin should have a max character limit? A lot of people on my server get banned for doing that after donating for it.
-
View User Profile
-
Send Message
Posted Aug 3, 2014@Demy37
Then you shouldn't use any of the 2.3 versions at all. Starting with v2.3, all of them use UUIDs.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@BaranCODE
Because..
And I don't use UUID function with SimplePrefix...
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Demy37
Why don't you use the latest, v2.3.3 instead? The latest is always the recommended one.
-
View User Profile
-
Send Message
Posted Aug 2, 2014Hi,
If I use only SimplePrefix for group prefix and not for personal prefix, is it better to use version 2.3.1 or 2.3 ?
(Sorry for my bad English :/ )
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Creeperisaac
Look at the table of commands on this page, the function is written there.
-
View User Profile
-
Send Message
Posted Aug 1, 2014What does /spr p/s group <Group> [p/s] do?
-
View User Profile
-
Send Message
Posted Aug 1, 2014@UltimateRuneMaster
You could deny them the permission, with a permissions plugin.