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 Nov 5, 2011Did the timestamp option get remove yet? Just wondering.
-
View User Profile
-
Send Message
Posted Nov 3, 2011in "<reader>", line 12, column 18: prefix: '&2[user]&f' ^expected alphabetic or numeric character, but found [(91)in "<reader>", line 12, column 20: prefix: '&2[user]&f' ^i dont get it. The online Yaml parser says the same but i dont use tabs and the & and ' are correct i think. Can somebody help me?-
View User Profile
-
Send Message
Posted Oct 27, 2011I am currently using simple prefix on a CB 1337 and it has not give me any errors at all. Very good plugin very simple, yet i feel gives the best outcome.
-
View User Profile
-
Send Message
Posted Oct 17, 2011Your download link for 1.1 is incorrect. when plug in loads, it shows 1.0.1 . Does 1.1 work with 1317?
-
View User Profile
-
Send Message
Posted Oct 15, 2011@Kekler
Press Tab ingame? Why do you need a command to see the players?
-
View User Profile
-
Send Message
Posted Oct 14, 2011@Flabaliki
We love the plugin! But we have a little issue! When we do the list command it shows all the prefixes, any fix?
-
View User Profile
-
Send Message
Posted Oct 13, 2011Thanks a lot , this is a way simpler and cooler than iChat . I love your plugin ;)
-
View User Profile
-
Send Message
Posted Oct 13, 2011@frozeny95
Use this format '<[prefix][name][suffix]>' Then set prefix as the color you want, eg '&e' then set the suffix as white '&f'
-
View User Profile
-
Send Message
Posted Oct 13, 2011I want my name colored in any colour. I just used that config '<[prefix][name]>' but this is the result
<randomqc>MESSAGE randomqc>message is all colored but not the first <
I only want the part with randomqc :( Help me thanks
-
View User Profile
-
Send Message
Posted Oct 10, 2011@Flabaliki
Sorry I got nothing else. Dx I think you should just remove the timestamp option.
-
View User Profile
-
Send Message
Posted Oct 9, 2011@VietCookie @add1ct3dd I think I'll just remove the time stamp option, I don't think it's used by the majority of people. I really don't know what's wrong with it. It works perfectly fine for me when I remove it on both my home server and my remote servers. Really odd. Any more details you can possible provide that will help me figure it out?
-
View User Profile
-
Send Message
Posted Oct 9, 2011@add1ct3dd
I'm having the same problem, the plugin stops working when removing timestamp from the format.
-
View User Profile
-
Send Message
Posted Oct 9, 2011@Flabaliki
ok cool :) i gave mChat ago but it's so ridiculously complicated for such a simple thing I'm waiting for yours to be fixed :)
-
View User Profile
-
Send Message
Posted Oct 9, 2011@add1ct3dd
Yeah, a lot of people are having that issue for some reason. It's odd. I'm trying to fix it.
-
View User Profile
-
Send Message
Posted Oct 9, 2011I'm not sure what's broken mine, but i updated my groups and it's just stopped working!
Here's my config:
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 :(
-
View User Profile
-
Send Message
Posted Sep 22, 2011@treerainsun
If you're using PermissionsBukkit it should be: - simpleprefix.Tech-Admin: true
I believe.
-
View User Profile
-
Send Message
Posted Sep 11, 2011I am using permissionsbukkit and SimplePrefix And It Keeps Saying
Permissions node is incorrect or treerainsun doesn't have a node.
Template:
format: '[[timestamp]] <[prefix][name][suffix]> '
time: hh:mm a
Group:
Owner:
prefix: '&c[Owner]&f'
suffix: ''
Tech-Admin:
prefix: '&a[Tech-Admin]&f'
suffix: ''
Admin:
prefix: '&6[Admin]&f'
suffix: ''
Vip:
prefix: '&6[Vip]&f'
suffix: ''
Member+:
prefix: '&6[Member+]&f'
suffix: ''
Member:
prefix: '&6[Member]&f'
suffix: ''
Guest:
prefix: '&6[Guest]&f'
suffix: ''
Server:
register: true
This is what i have for my Simple Prefix
users:
treerainsun:
permissions:
groups:
- Tech-Admin
Mclovin666:
permissions:
groups:
- Owner
groups:
Guest:
default: true
permissions:
- essentials.help
- essentials.helpop
- essentials.list
- essentials.motd
- essentials.rules
- essentials.spawn
- spawny.spawn
- simpleprefix.Guest true
inheritance: []
info:
prefix: §8
build: false
suffix: ''
Owner:
default: false
permissions:
- '*'
- simpleprefix.Owner true
inheritance:
- Tech-Admin
info:
prefix: §a
build: true
suffix: ''
Member:
default: false
permissions:
- craftbook.mech.bridge.use
- craftbook.mech.cauldron
- craftbook.mech.elevator
- craftbook.mech.elevator.use
- craftbook.mech.gate
- supernatural.command.help
- supernatural.command.list
- supernatural.command.power
- supernatural.command.classes
- supernatural.command.killlist
- supernatural.player.shrineuse
- supernatural.player.wolfbane
- simpleprefix.Member true
inheritance:
- default
info:
prefix: §f
build: false
suffix: ''
Member+:
default: false
permissions:
- essentials.afk
- essentials.back
- essentials.back.ondeath
- essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.chat.shout
- essentials.chat.question
- essentials.compass
- essentials.depth
- essentials.home
- essentials.ignore
- essentials.kit
- essentials.mail
- essentials.mail.send
- essentials.me
- essentials.msg
- essentials.nick
- essentials.pay
- essentials.ping
- essentials.portal
- essentials.powertool
- essentials.protect
- essentials.sethome
- essentials.signs.use.*
- essentials.signs.create.disposal
- essentials.signs.create.mail
- essentials.signs.create.protection
- essentials.signs.create.trade
- essentials.signs.break.disposal
- essentials.signs.break.mail
- essentials.signs.break.protection
- essentials.signs.break.trade
- essentials.suicide
- essentials.time
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
- essentials.warp
- essentials.warp.list
- essentials.worth
- craftbook.mech.light-switch
- craftbook.mech.bookshelf.use
- simpleprefix.Member+: true
inheritance:
- member
info:
prefix: '&2'
build: true
suffix: ''
Tech-Admin:
default: false
permissions:
- essentials.ban
- essentials.ban.notify
- essentials.banip
- essentials.broadcast
- essentials.clearinventory
- essentials.delwarp
- essentials.eco.loan
- essentials.ext
- essentials.getpos
- essentials.helpop.recieve
- essentials.home.others
- essentials.invsee
- essentials.jails
- essentials.jump
- essentials.kick
- essentials.kick.notify
- essentials.kill
- essentials.mute
- essentials.nick.others
- essentials.realname
- essentials.setwarp
- essentials.signs.create.*
- essentials.signs.break.*
- essentials.spawner
- essentials.thunder
- essentials.time
- essentials.time.set
- essentials.protect.alerts
- essentials.protect.admin
- essentials.protect.ownerinfo
- essentials.ptime
- essentials.ptime.others
- essentials.togglejail
- essentials.top
- essentials.tp
- essentials.tphere
- essentials.tppos
- essentials.tptoggle
- essentials.unban
- essentials.unbanip
- essentials.weather
- essentials.whois
- essentials.world
- groupmanager.listgroups
- groupmanager.mandemote
- groupmanager.manpromote
- groupmanager.manselect
- groupmanager.manuadd
- groupmanager.manudel
- groupmanager.manwhois
- spawny.set
- simpleprefix.Tech-Admin true
inheritance:
- admin
info:
prefix: §3
build: true
suffix: ''
Admin:
default: false
permissions:
- -essentials.backup
- -essentials.essentials
- -essentials.setspawn
- -essentials.reloadall
- -essentials.plugin
- essentials.*
- groupmanager.mantogglevalidate
- groupmanager.mansave
- groupmanager.mangcheckp
- groupmanager.manglistp
- groupmanager.manucheckp
- groupmanager.manulistp
- craftbook.mech.bridge
- supernatural.player.preventsundamage
- supernatural.admin.partial.curse
- supernatural.admin.command.adminhelp
- supernatural.admin.command.cure
- supernatural.admin.command.curse
- supernatural.admin.command.power
- supernatural.admin.command.reset
- supernatural.admin.command.reload
- supernatural.admin.command.save
- supernatural.admin.command.setchurch
- supernatural.admin.command.setbanish
- supernatural.player.witchhuntersign
- supernatural.player.preventwaterdamage
- supernatural.player.preventsundamage
- simpleprefix.Admin true
inheritance:
- member+
info:
prefix: '&c'
build: true
suffix: ''
Vip:
default: false
permissions:
- simpleprefix.Vip true
inheritance:
- member+
info:
prefix: '&2'
build: true
suffix: ''
And This Is My PermissionsBukkit
-
View User Profile
-
Send Message
Posted Sep 6, 2011when i load the server this comes up
18:27:39 [INFO] [Simple Prefix v1.0.1] Configuration Loaded. 18:27:39 [INFO] 3 18:27:39 [INFO] [Simple Prefix v1.0.1] Permissions node is incorrect or Slayergold3 doesn't have a node. 18:27:39 [INFO] [Simple Prefix v1.0.1] Plugin enabled!
help and whenever i type a command it says /spr help for anything related to the plugin
-
View User Profile
-
Send Message
Posted Aug 27, 2011@CosmicBreak
I have not. It shouldn't cause any server stopping errors, but they will probably have a bit of a conflict if they are both altering chat messages.
-
View User Profile
-
Send Message
Posted Aug 26, 2011i know some plugins like towny dont work with some plugins that control prefixes. have you tested to see if it works with towny?