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.
also a size limit.
will be nice if have a "prefix blacklist" to avoid players from using prefixes like [admin]...
@Flabaliki
well it's good to know atleast someone is trying :D
@Zumerock
I don't know.
I've just rewritten the plugin entirely. It's waiting approval now. Usually all the errors with prefixes come from permissions and inheritance. Inheritance is something that I can not avoid in the plugin. In config.yml for Simple Prefix, you need to order your groups from top to bottom on which inherits from another, otherwise, the prefixes will be muddled. Either that, or add :false for every prefix you don't want the group to have.
That being said, just wait for 2.0 to be released later today sometime, it still has the same quirk with permissions, as I do not know how to bypass that without setting up my own permissions specifically for the plugin in its own config, which to be frank, is quite stupid.
Ok look , Flabalaki , everyone is having this problem about the node , could you please help us by giving us the solution to this problem , Thanks -Zumerock
11:38:00 [INFO] [Simple Prefix] Essentials is Detected
11:38:00 [INFO] [Simple Prefix] PermissionsBukkit is Detected
11:38:00 [INFO] [Simple Prefix v1.5] Plugin enabled!
11:38:05 [INFO] Zumerock [/5.9.198.19:51030] logged in with entity id 282 at ([world] 135.01942421103251, 115.74879640200419, -236.14403410106922)
11:38:05 [INFO] [Simple Prefix v1.5] Permissions node is incorrect or Zumerock doesn't have a node.
11:38:09 [INFO] <Zumerock> Why! After 20 times of trying! WHYYYY!
11:38:10 [INFO] Zumerock lost connection: disconnect.quitting
My Permissions look just like tmsunrise's but I have the same problem. Everything is normal. There isnt no prefixses.. nothing - <name> message! In the console i have an issue !
Permission Node is incorrect or (USERNAME) dosen't have a node... !?I've puted my username in a group Admin everything is correectly done. I don't know where is the problem. Please Help Me !!!
@tmsunrise
Any errors in console?
i setup the config and for some reason it wont show the prefix/suffix. it stays the same. here is my configs for permissionsbukkit and simple prefix:
simpleprefix:
Template: format: '<[world] [prefix][name][suffix]> ' Group: owner: prefix: '&4[Owner]&f' suffix: '' admin: prefix: '&c[Admin]&f' suffix: '' op: prefix: '&a[Op]&f' suffix: '' member: prefix: '&6[Member]&f' suffix: ''
permissionsbukkit:
users: ConspiracyWizard: permissions: admin groups: permissions.example: true groups: tmsunrise: permissions: admin groups: permissions.example: true groups: - owner default: permissions: permissions.build: false owner: permissions: permissions.*: true simpleprefix.Owner: true inheritance: - user admin: permissions: permissions.*: true inheritance: - user user: permissions: permissions.build: true worlds: creative: coolplugin.item: true inheritance: - default messages: build: '&cYou do not have permission to build here.'
debug: false
sorry that the forum automatically types it side by side :(. im using latest bukkit and latest simple prefix so wats wrong?
Check that all players has simpleprefix.<Prefix>: node that allows them have a prefix.
When Does 1.2.5 Come Out i really wanna have it so it says next to my name :)
Thanks for the update sir C:
@Daroach1
I'll see if I can fix it, it was just giving errors with % before, I'm sure there is a simple fix, I never looked into it too much.
EDIT: v1.5 fixes the % sign. And I've added bold, striked, underlined and italic tags. (&l &m &n &o)
@KoBrA1135
I agree, my players are using it to spam too. My admins mute them for a bit as punishment, but when they're unmuted, they just do it over and over. We're starting to kick them for it and soon it'll be a 1 hour ban.
but its annoying >.< could you check and fix it? its by cause simple prefix. I dont want people type %%%%%%%%%%%%%%%%%%%%%%%% and then its spams precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent ? please fix it :/
@KoBrA1135
That's not an issue, when users typed % before, it created an error and mucked the server. The solution was just changing it to say percent instead.
When you use SimplePrefix plugin, players can use %%%%%% in chat with will spam precent precent precent precent precent precent precent precent precent precent precent precent precent precent precent. Please fix this issue!
Download SimplePrefix 1.4.7
Go in server
type %%%%%%%
Says -> precent precent precent precent precent precent precent
Please fix it!
I am unable to edit prefixes/suffixes from my ingame chat but am able to with my server terminal...I have fully set up permissions and have used the plugin via terminal. If I were to try to edit my prefix, it would give me: "unable to use the type 'm'" If I were to try to edit another player's prefix, it would give me: "unable to use the type 'u'" but in terminal, it would work perfectly.
ok, so i'm having major issues, i'm using permissionsbukkit, the built in permissions aliases in permissions.yml and this plugin i cant get my member group to report correctly in chat, could someone find the time and generocity to help me identify my issue?
Permissionsbukkit.yml HERE
permissions.yml HERE
SimplePrefix config HERE
any ideas guys?
the help command doesnt work...
@amansell
Click the big button that says download.