Simple Prefix

Logo

Simple Prefix Logo


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, inside of a yml config file. You apply prefixes and suffixes per user or group in the /Simple Prefix/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. You are able to achieve the following ingame:

  • [Admin] Flabaliki: my message here

Or even, just completely mix and match the template to get the look you want.

Developer API is available to those who wish to access prefixes and suffixes and use them within their own plugin. Click "Metadata" above.

That is all this plugin does, just a lightweight plugin for quickly getting your prefixes and suffixes to work, however you want.


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

Installation:

  1. Place Simple Prefix.jar into your plugins folder
  2. Restart or reload your server
  3. Edit your config.yml (see here for info)
Please carefully read the Configuration page!

Youtube Video:

This video is very outdated. Could we get someone to make a new video that demonstrates what the plugin does, as well as how to set it up?


Commands and Permissions:

CommandFunctionPermission
/spr helpDisplays helpDepends on other permissions
/spr coloursDisplays all colour codessimpleprefix.command.colors
/spr p g <group> [prefix]Add/remove prefix from specified groupsimpleprefix.command.editGroups
/spr s g <group> [suffix]Add/remove suffix from specified groupsimpleprefix.command.editGroups
/spr p u <user> [prefix]Add/remove prefix from a single playersimpleprefix.command.editIndividual
/spr s u <user> [suffix]Add/remove suffix from a single playersimpleprefix.command.editIndividual
/spr p [prefix]Add/remove prefix from yourselfsimpleprefix.command.editOwn
/spr s [suffix]Add/remove suffix from yourselfsimpleprefix.command.editOwn
/spr w <world> [nickname]Add/remove a world nicknamesimpleprefix.command.editWorld
/spr reloadReloads config from filesimpleprefix.command.reload
Permission for all commandssimpleprefix.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.


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:

If you are using bungeecord, just make sure that:

  • In the Simple Prefix config, enable the "bungeecord" option
  • Make sure you're using Spigot
  • In your Spigot config.yml, enable the "bungeecord" option
  • In your Bungeecord config.yml, enable the "ip_forwarding" option, and make sure "online_mode" is enabled too

Upcoming Features:

  • MySQL support
  • Timezones

What people say about Simple Prefix:

"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.

As of version 2.3.2, this plugin connects to "api.mojang.com" when necessary to check for player UUIDs.


If you need help with something, want to report a problem or make a suggestion, you should either make a comment here or send a PM to BaranCODE.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of foxcraftcloakfox foxcraftcloakfox Dec 17, 2014 at 19:55 UTC - 0 likes

    @BaranCODE: Go

    I was using bungeecord, but I see you have uploaded a new version with better bungeecord support so ill see how that goes :P

    Foxcraft

  • Avatar of BaranCODE BaranCODE Dec 17, 2014 at 16:24 UTC - 0 likes

    @CarrotBox: Go

    I have taken a look at it, and decided to not do it. This is because in the Bukkit permissions system, when the default value for a permission node is undefined, OPs will have the permission by default; and in Simple Prefix, I do a basic check to see if a player has the permission for a group. I can't set the default values for the group permissions either, because I don't know what the names of the Simple Prefix groups are going to be beforehand (as the user configures it). All of this basically means that this can't be done very easily.

    On the other hand, you can accomplish what you want very easily with a permissions plugin. Just deny simpleprefix.* to OPs (you'll probably give them simpleprefix.command.* though), and give them the specific group permissions. If I remember correctly, when using PEX, you should give them the specific permissions first, and deny simpleprefix.* afterwards, in the list of permissions.

  • Avatar of BaranCODE BaranCODE Dec 17, 2014 at 15:19 UTC - 0 likes

    @foxcraftcloakfox: Go

    Are you using an offline mode server? Simple Prefix does not support offline mode

  • Avatar of CarrotBox CarrotBox Dec 17, 2014 at 05:24 UTC - 0 likes

    @BaronCODE

    When can u fix this?

    @Evorz

    Glad I could help.

  • Avatar of foxcraftcloakfox foxcraftcloakfox Dec 15, 2014 at 16:14 UTC - 0 likes

    I am getting this error and it does not load the suffix for the user Simpleprefix errors: http://pastebin.com/wggwZwZ6 exact error: http://pastebin.com/pj3T5vSh

  • Avatar of Evorz Evorz Dec 07, 2014 at 13:35 UTC - 0 likes

    @CarrotBox: Go

    Thanks for the help, but it didn't work so i did this and it worked: format: '<{factions_relcolor}§l{factions_roleprefix}§r{factions_relcolor}{factions_name|rp}[prefix][name][suffix]> '

  • Avatar of CarrotBox CarrotBox Dec 07, 2014 at 01:17 UTC - 0 likes

    @Evorz: Go

    Find "format" in your SimplePrefix config. Add {faction_name} wherever you would like to display the players factions tag.

  • Avatar of CarrotBox CarrotBox Dec 07, 2014 at 01:13 UTC - 0 likes

    @BaranCODE: Go

    Alright, thanks. I saw that there were a lot of request on it. It just never explained how to fix it, just complaints.

  • Avatar of Evorz Evorz Dec 05, 2014 at 19:28 UTC - 0 likes

    I have a problem with Factions, that it doesnt display the Faction name before the prefix :/

  • Avatar of BaranCODE BaranCODE Nov 28, 2014 at 15:51 UTC - 0 likes

    @NinjaSplat: Go

    Yes, it probably will.

    @tristanthewren: Go

    The latest version of Simple Prefix should work with 1.7. If it doesn't, check if you're having the "problem" I mentioned in my previous comment.

    @CarrotBox: Go

    Alright, I guess I'll take a look at that (you're not the first person to mention it).

Facts

Date created
Aug 25, 2011
Categories
Last update
Dec 17, 2014
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
199,520
Recent files
  • R: v2.3.5 for CB 1.7.9-R0.1 Dec 17, 2014
  • R: v2.3.4 for CB 1.7.9-R0.1 Aug 21, 2014
  • R: v2.3.3 for CB 1.7.9-R0.1 Jun 25, 2014
  • R: v2.3.2 for CB 1.7.9-R0.1 Jun 14, 2014
  • R: v2.3.1 for CB 1.7.9-R0.1 Jun 09, 2014

Authors