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 8, 2012@Rcyo It shouldn't need that command anymore, which is why I took it out. There may be something bugged which is not updating prefixes properly. I'll have a look.
-
View User Profile
-
Send Message
Posted Aug 8, 2012Can you add the command /spr reload ? To reload the config file :) ?
-
View User Profile
-
Send Message
Posted Aug 8, 2012Hey everyone, I've got a bit of free time, going to be working on this plugin.
I'll be updating to 1.3 and making some other changes too! Sit tight :)
-
View User Profile
-
Send Message
Posted Aug 7, 2012@camsedin
Here is a temp solution
http://minecraftsmp.org/forum/download/file.php?id=2851
-
View User Profile
-
Send Message
Posted Aug 6, 2012this getting updating to work with 1.3.1 and latest bukkit api?
-
View User Profile
-
Send Message
Posted Jul 31, 2012HELP
So the problem is I set prefixes and they seem to work. But for some reason the colours dont. even though i put colours in. I KNOW i did it right because the prefix shows up coloured in my server's cmd console. but in standard chat the colours dont work at all. (Note: Im doing my editing through the config.yml in the simple prefix folder with notepad im not using the commands.)
-
View User Profile
-
Send Message
Posted Jul 29, 2012Hey, just wondering if your plugin has support for the inheritance function on PermissionsBukkit, because if you want your default class to have no prefix and your donation class to have a prefix like [Stone] Name, the inheritance makes the node act on the default class as well as the stone donation class.
-
View User Profile
-
Send Message
Posted Jul 25, 2012@MikeSalvato
Yes, Make Sure You Have The simpleprefix.command.* Node On Your Group, It Will Give You Access To The Commands.
-
View User Profile
-
Send Message
Posted Jul 25, 2012Ok So I Got This Plugin And Everything Worked Perfect But Then When I Added The Member Rank In My Server The Prefix Stays As It Was Before Changed.
Here Is My Simple Prefix Config
And Here Is My Member Permissions via PermissionsBukkit
Any Help To Fix This?
-
View User Profile
-
Send Message
Posted Jul 22, 2012"They seem fine, and all of the relevant groups in PermissionsBukkit have the correct simpleprefix.<group>: true enabled :(
Edit: Ok so after playing around it would seem that the plugin stops working when you remove the timestamp from the formatting, please update to fix "
YES
-
View User Profile
-
Send Message
Posted Jul 18, 2012is there no priority system?? I dont want my donators to change to the "Commoner" tag when they do the public quest for player ranks.
Basicly whats happening is i have 2 types of ranks, public and donator. Public everyone can earn and its known as the "Commoner" rank. Donators get ranks like "Donator" and "Donator2". Well when my Donator2 guy does the quest and gets rewarded the permission for simpleprefix.Commoner, even tho his group already has the "simpleprefix.Donator2" tag, his commoner is taking priority when i want the donator tags to take priority, how can i fix this?
-
View User Profile
-
Send Message
Posted Jul 17, 2012hi i got this plug in to work for two of my groups admin and default but i need it to work for my group cops.
here is my permission bukkit config:
groups:
default:
permissions:
permissions.build: true
essentials.spawn: true
essentials.tpa: true
essentials.warp: true
essentials.signs.sell.use: true
essentials.signs.warp.use: true
essentials.balance: true
essentials.home: true
essentials.sethome: true
drugs.*: true
essentials.back: true
essentials.money: true
simpleprefix.new: true
admin:
permissions:
permissions.*: true
essentials.*: true
simpleprefix.admin: true
inheritance:
- user
cops:
permissions:
essentials.jail: true
essentials.kick: true
simpleprefix.cops: true
inheritance:
- user
user:
permissions:
permissions.build: true
worlds:
creative:
coolplugin.item: true
inheritance:
- default
here is my simple prefix config:
Template:
format: '<[prefix][name][suffix]> '
time: '[h:mm aa]'
Worlds:
world:
nickname: '&e[World]&f'
Group:
admin:
prefix: '&4[Admin]&f'
suffix: ''
new:
prefix: '&f[New user] &f'
suffix: ''
cops:
prefix: '&f[cops] &f'
suffix: ''
User:
Flabaliki:
prefix: '&c[Who?]&f'
suffix: ''
-
View User Profile
-
Send Message
Posted Jul 17, 2012Hey all when I try to do /spr p u <user> <prefix> it says always says "[Simple Prefix Commands] More help: http://dev.bukkit.org/server-mods/simple-prefix/" Does anyone know what to do....
Mike
-
View User Profile
-
Send Message
Posted Jul 17, 2012@Vynarus do /spr p u <user> <prefix>. ur format was rong that is why.
@BlinxCraftOfficial i hope that gets added!!!! where u need [] or < > is something with factions. the plugin is not allowing other plugins editing chat to have color codes i have found.
@Cozzmy13 i think it will im testing it now!
@CarltonLassiter4 are u /reload the server? if so it may be that the plugin breaks when you do that.
-
View User Profile
-
Send Message
Posted Jul 15, 2012Wow this is exactly what i have been looking for, for the longest time! It works perfectly with factions! Right out of the box just simply add your ranks via ingame commands and set up perms and its perfect! tyvvvvvvvvvvvvvvvvm
-
View User Profile
-
Send Message
Posted Jul 14, 2012Works with pex?
-
View User Profile
-
Send Message
Posted Jul 13, 2012Hello I factions on my server and if you dont have the [] or <> on the template for chat it makes the factions say a FactionName f could you add a support for factions please :)
-
View User Profile
-
Send Message
Posted Jul 13, 2012it works if you need help making it work pm me on here Thanks Flabaliki
-
View User Profile
-
Send Message
Posted Jul 9, 2012This does not let me do any of the commands, it always says "[Simple Prefix Commands] More help: http://dev.bukkit.org/server-mods/simple-prefix/"
and it doesn't do what i wanted it to do. Help?
-
View User Profile
-
Send Message
Posted Jul 8, 2012My config file resets after save. Why is this?