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 Jul 31, 2014Hey, is there a way to setup the permissions and the conf file so that ops dont get the title on the top? Becuase that is the "owner" title, and we have a difference, the owners are ops, but some ops arent owners... We dont wanna put an "op" one over the "owner" one because then the owners would get the "op" title, wouldn't they? Becuase the Ops are getting the topmost title.
-
View User Profile
-
Send Message
Posted Jul 30, 2014I'm using the (&)e character insted of the one DejonPlayMC is using are they both compatible?
EDIT: nevermind it changes it on here...duhh
-
View User Profile
-
Send Message
Posted Jul 26, 2014@DejonPlayMC
Make sure you are in the Fighter group, and not in another group. Can I see your config file, and can you tell me how you did the permissions?
-
View User Profile
-
Send Message
Posted Jul 25, 2014i'm in a group called ''Fighter'' when i am doing the command: /spr p g Fighter &e[Fighter] it says: Prefix for group Fighter set to: [Fighter] but when i send a message its still white. and my other group ''miner'' does work
-
View User Profile
-
Send Message
Posted Jul 24, 2014@ThisUsernameIsMine
That's because it needs an internet connection. The UUIDs won't work without it. You have asked this and I have answered it the same way, before.
-
View User Profile
-
Send Message
Posted Jul 24, 2014I'm getting a NPE: "Could not pass event AsyncPlayerPreLoginEvent to SimplePrefix v2.3.3" when it tries to lookup/retrieve my UUID on a computer with no internet i.e. offline-mode (which of course fails).
-
View User Profile
-
Send Message
Posted Jul 15, 2014still not understanding. if it helps any, i'll tell u what i wanna do and maybe u can explain it further.
so im gonna have people donate to get a certain prefix cuz i have a set list of prefixes i wanna sell. say one person donated $1 which is the price of the prefix [Princess]. then they donated another $1 for the prefix [creeping]. is there any way they can get the permission to have that certain prefix so they dont have to donate to get it again?
EX: simpleprefix.prefix.princess
I dont wanna have to give them the permission to edit their own.
-
View User Profile
-
Send Message
Posted Jul 14, 2014@SatansDaughter66
That's exactly the way this plugin works. Please read this page, and the Configuration page to learn about how to use Simple Prefix. If you still don't understand, then ask here again.
-
View User Profile
-
Send Message
Posted Jul 14, 2014i have a suggestion which i wanna use for my donations. what if theres a permission to give people access to a certain prefix?
EX: say a player has the prefix [princess]...can there be a permission for simpleprefix.prefix.princess
Still thankful for u remaking this plugin :D
-
View User Profile
-
Send Message
Posted Jul 12, 2014@Rise8647
Yes, that's a bug. Until it's fixed, you can set the suffix from the config file instead.
-
View User Profile
-
Send Message
Posted Jul 11, 2014Um sorry to bother again everything is working fine but i want to add a suffix, so my name is
[Owner] Alex, Which is fine but i want to add a suffix at the end of it so when i do
/spr s u The_Kard_King &4[devil] it says suffix change to [Devil] but then i reload then type something, My Prefix is [Devil]Alex not Owner and not a suffix Can you help please or if I'm doing something Wrong? Besides that plugin works great Thank you
-
View User Profile
-
Send Message
Posted Jul 11, 2014Sorry I'm a bit confused, How would i go about doing that?
Nervermind thank you very much :)
-
View User Profile
-
Send Message
Posted Jul 10, 2014@Rise8647
Edit the Template format option, and remove the world and time from there.
-
View User Profile
-
Send Message
Posted Jul 10, 2014The Plugin Works great but i wanna know how to get just Owner cause in my game it says
[7:00] [World] [owner] [The_Kard_King] how do i get rid of the world and time please help?
-
View User Profile
-
Send Message
Posted Jul 9, 2014@Islid
Yep, I've been notified of that; it's caused by a small typo in the code. It'll be fixed in the next update. Thanks for the great feedback!
-
View User Profile
-
Send Message
Posted Jul 8, 2014Been using this for quite some time, and it's always served our needs well. Had a bit of a burp when the UUID transition happened (for some reason the old SPR caused a LOT of overhead), but the newest version seems to have eliminated that problem.
One small note - when using the /spr suffix command on a user, it seems that the config file assigns whatever you choose as a prefix instead of a suffix. This is easily remedied by going into the config file and just replacing "prefix" with "suffix", but is nonetheless a bit annoying since all 28 of our moderators have unique suffixes and obviously aren't all online at once. :)
It's a very minor problem, and ultimately isn't anywhere close to a deal breaker, but I figured I would bring it up so it could get resolved. Thanks for making an awesome plugin!
-
View User Profile
-
Send Message
Posted Jul 7, 2014@thegeecat
"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."
- Simple Prefix description
Also, make sure you are using the latest version of Simple Prefix.
As to what you said about how it used to work before, Simple Prefix has always worked this way; it is nothing new.
-
View User Profile
-
Send Message
Posted Jul 6, 2014Hi there, I'm trying to setup basic prefixes based on the players group. I've done this many times before, but since these new updates it just hasn't been working.
I'm using PermissionsBukkit, which has two working groups... Owner and default.
I setup Simple Prefix to have the group default have the tag [Player], and have the group Owner have the tag [Owner].
Now, only the first tag set ([Player]) shows, no matter the group I'm in. It always shows [Player], even when the ONLY group I'm in is Owner.
I made sure that the simpleprefix.Owner: true is within the owner group. I also tried removing the simpleprefix.default: true from the default group, as I thought it might be inherited. Still doesn't work.
I had the same problem with EssentialChat, which is why I tried this. But for some reason it just won't work like it used to.
-
View User Profile
-
Send Message
Posted Jul 4, 2014@bclaudio
You can ask here in the comments.
-
View User Profile
-
Send Message
Posted Jul 4, 2014I'm having an issue with this plugin and I'm seeking help, but I can't find where to submit a ticket.