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 Feb 19, 2015Hello, I installed this plugin but when I do /spr prefix group admin &c, and /spr reload, the admin group is white when it should be red. In the config there has group: admin / prefix: &c but it is always white. The prefix only work when I put them on users, such as /spr prefix user hugocap22 &c. Can you help me?
-
View User Profile
-
Send Message
Posted Jan 31, 2015@MrGrieferHGTech
The version numbers for the files are the versions the plugin was specifically made for. However, that doesn't mean the plugin only works with those versions. Even though the recent versions of Simple Prefix were made for 1.7.9, they work perfectly fine on 1.8 versions. That's how it is for a lot of plugins.
-
View User Profile
-
Send Message
Posted Jan 31, 2015@BaranCODE
If it works on 1.8.1 then it doesn't say on the Recent Files that's why I asked u!
-
View User Profile
-
Send Message
Posted Jan 31, 2015@MrGrieferHGTech
Correct me if I'm wrong, but I think Simple Prefix works fine on 1.8 and 1.8.1.
-
View User Profile
-
Send Message
Posted Jan 30, 2015@BaranCODE
Can you guys update Simple Prefix to 1.8.1? I really need your plugin!
-
View User Profile
-
Send Message
Posted Jan 21, 2015@jacohun123
I've said this many times before, I won't be doing something like that. Not because I don't feel like it, but because the way Simple Prefix is made doesn't allow me to do that easily.
Besides, it is recommended that only the owner of a server has OP or *, and all other players' permissions are completely handled by permissions plugins.
If an owner that uses Simple Prefix is certain he wants to OP (or give * to) other players, then it's his responsibility to add negative permission nodes for the prefixes/suffixes he doesn't want them to have. I don't think this "workaround" is all that complicated.
-
View User Profile
-
Send Message
Posted Jan 21, 2015I really enjoy your plugin but have run into one issue. When i for say op someone or give them the * permission they get all the top rank prefixes. Along with your rank permissions you should also make a default op/all permissions prefix so you dont have to worry about people thinking your developer is the owner and such. I do know there is a work around but many wont. Thank you!
-
View User Profile
-
Send Message
Posted Jan 19, 2015To all you offline mode server owners, I want to make this clear. Simple Prefix may or may not work for you; if it doesn't, I'm not going to provide any support for you.
That said, I may look into making a more stable system for offline mode servers, in the future. But for now, I don't consider it a high priority.
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Omega3395
Maybe that's because you're using offline mode, which Simple Prefix does not support. Here, I'll quote this:
Note:
SimplePrefix may not work in offline mode, and I'm not planning to make it so any time soon. No support will be offered to offline mode servers
You may:
•Either use online mode.
•If you have to use offline mode because you're using bungeecord, and bungeecord is in online mode, that's okay too
-
View User Profile
-
Send Message
Posted Jan 17, 2015I think this is a bug, PasteBin: http://pastebin.com/DpFV4A8w
Server version: CraftBukkit version git-Spigot-1544 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
-
View User Profile
-
Send Message
Posted Jan 6, 2015@kaosce
If you add that to your config, that should work yes. Or if you're using commands to give the permission, then use -simpleprefix.streamer (only one dash).
-
View User Profile
-
Send Message
Posted Jan 6, 2015@BaranCODE
So if add the permission - -simpleprefix.streamer it wont show the streamer prefix at the owner right?
-
View User Profile
-
Send Message
Posted Jan 6, 2015@kaosce
If you give the prefixes by setting it for specific users, and if disabling the multiPrefix option is okay for you, then do that; only the prefix you set for that user will show. If you need to keep multiPrefix on, or if you give the prefixes with the use of SimplePrefix groups, then you will need to deny the other prefixes from the OPs with permissions (add negative permission nodes to them for each prefix group you don't want them to have); you need to do this because OPs and Admins with * perms will automatically have the permissions for all prefix groups.
-
View User Profile
-
Send Message
Posted Jan 6, 2015Well i have a question can OPs or Admins with * perms dont get every suffix/prefix but only the one seted up in the config?
-
View User Profile
-
Send Message
Posted Jan 3, 2015@meontheweb
So you are saying that the chat format works, but the prefix doesn't? Make sure that the UUID is correct, and also make sure that the server can get the correct UUID of the player. What I mean by this is that your server should be in online mode, not offline mode. If you need to use offline mode because you're using Bungeecord (and your Bungeecord is in online mode), then use the latest version and read the instructions on this page, under "Note".
-
View User Profile
-
Send Message
Posted Jan 1, 2015Help!
My config.yml is very simple:
User:
[UUID]:
prefix: '&c[Owner]&f'
When I start the server (local machine) I see this:
[time] [world] [Player] <playername>
I can change the template to test things out and I'll see the changes, but for some reason when the UUID is set correctly to a player that exists I won't see "owner" in front of their name.
Any ideas?
-
View User Profile
-
Send Message
Posted Jan 1, 2015@CarrotBox
Sure. And let's take this conversation to PMs.
-
View User Profile
-
Send Message
Posted Dec 28, 2014@BaranCODE
So I tried doing that by typing in /manuaddp XTheFletcherX -simpleprefix.* and it didnt work. I also tried removing essentials all together and it still didnt work. But what is weird is that when im op and have *, it shows all of the prefixes, but when im deoped with *, it shows the prefixes that i have perms to and works..
I can make a video and send u the link if you want?
-
View User Profile
-
Send Message
Posted Dec 28, 2014@Khaiming
it works for me, is the player logged in at the time you do the command? they need to be as the plugin stores the prefix against UUID.
also, check the config.yml to see what the plugin has set,
-
View User Profile
-
Send Message
Posted Dec 28, 2014Why I can use my own prefix , but i put on players not working? Seem like only op can have own prefix , i do /spr p u Player Prefix , the players show nothing