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 Mar 28, 2013@xpopy
I have experimented as much as I possibly can with this plugin. It works fine for single prefixes from my Permissions Plugin, I have no problems at all there. It's the multi-prefix I am trying to get to work. I can't get a single prefix to show up when it's enabled and all the prefixes moved from my Permissions Plugin into the simple prefix file... Which to my understanding was how it was supposed to be able to work without a Permissions plugin that can handle the prefix/suffixes.
Here is a link to a cry for help I made on a forum.. http://forums.bukkit.org/threads/bpermissions-simple-prefix.136687/
I am trying my best not to get over-heated about these things but it's difficult to control when it's been days without any replies from anywhere on how anything works. I am struggling with a heavy work-load with the server right now, and trying to get multiple plugins up and running let alone working the way I want them to. So I apologize for my hastiness...
-
View User Profile
-
Send Message
Posted Mar 28, 2013@sakura_blades
I suppose the author is either extremely lazy, or has abandoned the plugin. Just calm down and don't rage about it, try get it work alone first, experiment around. Its working perfectly for me, and as vemacs said, the bukkit chat API hasn't changed at all, so there are no needs for any updates.
-
View User Profile
-
Send Message
Posted Mar 27, 2013If we can't write tickets, and the Dev doesn't reply to our questions in comments.. Then what? Are we just supposed to suck it up and deal with what we've got or go look elsewhere? I'm a little annoyed at the lack or response and/or help here...
I posted 3-4 days ago with a question/request for help and have received nothing, and I know the Dev has been online since then.
Part of keeping happy users of your product is being actively helpful and responsive. x.x
-
View User Profile
-
Send Message
Posted Mar 25, 2013@vemacs
The plugin sure is working with lastest craftbukkit, but it would still be nice with it supporting other plugins, such as TagAPI
-
View User Profile
-
Send Message
Posted Mar 23, 2013We can't write tickets? .... I am trying to get this Multi-Prefix to work.... It's just simply NOT! At first I thought it was something in my permissions file.. Nope, all that's fine. Then I discovered the Configuration page you have linked here and did what it told me... Put all the group name and whatever into the configuration there. No luck... So I removed all the Prefix and Suffix information from my bPermissions and made sure each group had the proper "simpleprefix.<group>" permission node... Still nothing.
Players/Groups have the permission node, the groups are set up properly in the Simple Prefix Config file... Metadata (prefix/suffix) info is not present in my Permissions File AT ALL anymore. I don't know what else to do! I've even set up personal tags for myself and my co-owner, but even those weren't working before AND after I put in any "simpleprefix.<group>" nodes....
BTW, you're example for the config and giving us the example nodes for "admin, OP, and member".... Those groups aren't even listed in the default config file! So how are they good examples of something we're not even seeing? Essentially those groups aren't even existing in the default config!
-
View User Profile
-
Send Message
Posted Mar 23, 2013Is this plugin compatible with the Plugins called Jobs? Jobs allows us to have a prefix for the type of Job/Skill level we have, and I'm wondering if Simple Prefix will work with it. I'd also like to better understand how the double Prefix works. Will it add all the Prefix's of the lower group ranks or only if the player is actually part of those groups. For example: A player is an Admin and would have that Prefix, but also listed as a Gnome. Would they have Admin + Gnome? (Btw, Gnome is one our Group titles.)
EDIT: Okay so I went ahead and turned Multiprefix on, but it doesn't seem to be doing anything. I am both tagged as Owner group and Gnome group, but only get the Owner Prefix.... How do I get "Gnome" to show up too? Adding another [Prefix] to the display line-up just made my Owner tag repeat itself!
@vemacs
Sorry for the long over-due response.... I request an update not because something isn't working right, or there are any errors or the like. But because I was once told that if the code of my plugins isn't up-to-date with any code that my server may be running off of. For example even a tiny change in CraftBukkit 1.5 vs this Plugin's 1.4.5 could cause my server more strain than necessary. So personally I prefer to have plugins that match the same CB version as the one I am currently running on so my server isn't working any harder than it has to.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@KingZickz
I believe it's because Essentials Chat is over-riding Simple Prefix. If I recall they essentially are trying to do the same job..
-
View User Profile
-
Send Message
Posted Mar 19, 2013pls help me suffix don't work and if u want to know i use essentials chat
-
View User Profile
-
Send Message
Posted Mar 18, 2013Atm, people who got a permission node for example:
simpleprefix.admin
will get displayed in chat like this:
[Admin][Admin][Player]
I have checked they don't have 2 permissions, no personal one in the config, or any other
simpleprefix.[perfixhere]
This is when multible-prefixes is enabled
-
View User Profile
-
Send Message
Posted Mar 16, 2013hi again i use essentials chat plugin and i have disable everything to do with prefix/suffix
but when i do /spr s <suffix> its still be a prefix pls help
thx for answers
sry for bad english
-
View User Profile
-
Send Message
Posted Mar 16, 2013Can you make this use vault?
-
View User Profile
-
Send Message
Posted Mar 12, 2013Can you updated for the 1.8 version of Factions? Faction tags don't seem to be working. :/ Thanks.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@sakura_blades
Why would you need an update? The Bukkit API hasn't changed at all, chatwise.
-
View User Profile
-
Send Message
Posted Mar 7, 2013@Pendar2
Hi, take a look at the config of any other chat plugin you have. Remove anything to do with a prefix in it's chat format. This should resolve the issue
-
View User Profile
-
Send Message
Posted Mar 5, 2013When I reload the config or use the /spr p commands everyone's prefixes double. Is there a plugin conflict that causes this or is this a known bug?
-
View User Profile
-
Send Message
Posted Mar 5, 2013help me pls when i do /spr s <suffix> it's become a prefix
-
View User Profile
-
Send Message
Posted Mar 3, 2013Does this support TagAPI? If not, please make it! I want the prefixes to be displayed over the heads aswell :)
-
View User Profile
-
Send Message
Posted Feb 27, 2013please add support for &k
-
View User Profile
-
Send Message
Posted Feb 26, 2013So out of curiosity, and sorry if I am a "nOOb" or whatever, but is there a way to get the towny tags to show for nation and town?
-
View User Profile
-
Send Message
Posted Feb 26, 2013please add colors to names above the head / tabliste