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 Jan 13, 2013asdasdsadsadsadsad
-
View User Profile
-
Send Message
Posted Jan 10, 2013I have a request: Could you add Buycraft prefix support? So there would be a prefix in front of your rank which contains the amount of donated money in buycraft. I asked it at the Buycraft page and they say there is an api that tracks the amount of donated money. I would love to see this because I want people to have a normal and a donator rank at the same time. Enabling multiprefix in the config does not have the desired effect. And I also wanted to thank you for fixing the factions conflict :)
-
View User Profile
-
Send Message
Posted Jan 5, 2013heard that simple prefix is now working with factions :d thx so much for fixing it
-
View User Profile
-
Send Message
Posted Jan 4, 2013Hey, great plugin. Just one thing, my default group (Traveler) never seems to get any sort of prefix. Any suggestions?
-
View User Profile
-
Send Message
Posted Dec 30, 2012@XiteCreations
Say you wanted the user bob to have a prefix you would type:
/spr p u bob [&8Prefix&f]
His name in game would then look like this:
[Prefix] Bob
With the "prefix" part being grey due to the "&8"
Just make sure you have the permission:
simpleprefix.command.*
-
View User Profile
-
Send Message
Posted Dec 29, 2012Okay, how do i set a prefix for a user?
-
View User Profile
-
Send Message
Posted Dec 24, 2012@ReecoPlays
Get Permissions. This is what I do:
•PermissionsBukkit, has a default group.
•The default group has "simpleprefix.default: true".
•In the SimplePrefix config it says:
default:
prefix '&7[Guest]'
suffix: ''
This works perfectly on my server, and should work good on yours too :)
-
View User Profile
-
Send Message
Posted Dec 23, 2012Could you add a feature that is the default Prefix? plz
-
View User Profile
-
Send Message
Posted Dec 22, 2012erm on my mates server it just says for help visit and then the link to the dev.bukkit.org please help me!
-
View User Profile
-
Send Message
Posted Dec 19, 2012Add Faction Compatbillity D: the stable 1.8.0 came out.
-
View User Profile
-
Send Message
Posted Dec 16, 2012Can you do a temp fix for Factions compatibility?
EDIT: Apparently v.2.2.1 is working with Factions now!! THANK YOU SO MUCH!!!
-
View User Profile
-
Send Message
Posted Dec 15, 2012@rockjolt375 PEX wouldn't cause an issue, as permissions managers are required for it to work. HeroChat on the other hand most likely would do.
@travja I'm not sure why you are getting this issue, can you send me a PM with more details like what plugins you are running and that?
@BlocklyCrafter I've added it in the next version, should be up soon.
-
View User Profile
-
Send Message
Posted Dec 15, 2012When I use ape reload it duplicates people's prefixes..
-
View User Profile
-
Send Message
Posted Dec 15, 2012Ik I have already posted before but I got Delta prefix to work but now when I try rankup it doesnt change the prefix I need help I use Pex so if anyone can help pm me thanks
-
View User Profile
-
Send Message
Posted Dec 14, 2012I cant seem to get the prefixes/suffixes to show up at all. Everything seems to be working flawlessly, no errors and states "prefix set to xxx" but it shows nothing. I use PEX and Herochat...would either of these override the simple prefix?
-
View User Profile
-
Send Message
Posted Dec 14, 2012Can you pleeeeaaaase add the &k color? I need this, because I'm making a world where you can get banished to. So when you're there (nether) it says [Banished] <name> [Netherrish] &ktext
-
View User Profile
-
Send Message
Posted Dec 11, 2012Is there a way i can disable the time?
-
View User Profile
-
Send Message
Posted Dec 11, 2012Why doesn't it work please help!
-
View User Profile
-
Send Message
Posted Dec 9, 2012How can I make the regular worldname go away? I set a nickname for a couple worlds and in chat it says [worldname] [nickname] [playersname] i want it to be just the nickname for the world showing not the actual name.
-
View User Profile
-
Send Message
Posted Dec 8, 2012@Flabaliki
I figured out what the issue was, i forgot the 'simpleprfix.member: false' in the permissions