Simple Prefix

Logo

Simple Prefix Logo


Works on 1.8 versions!
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 BaranCODE BaranCODE Mar 14, 2015 at 11:26 UTC - 0 likes

    @Reaperxxxxx: Go

    1. If you want the suffix after the name, you change that through the "format" option in the config.

    2. If you want to use multiPrefix with Vault support enabled, then you should make sure that:

    - You have a permissions plugin that can store prefixes, and connect to Vault.

    - You have multiple groups in your permissions plugin, each with their own prefixes.

    - In the permissions plugin, the player is a member of more than one group.

    If you do so, then Simple Prefix will be able to get multiple prefixes from Vault, and display them.

  • Avatar of shop1126 shop1126 Mar 13, 2015 at 21:54 UTC - 0 likes

    Afer looking into your advice, I have changed the config and it did fix some issues. However multiPrefix option is not working. I would like to be able to give players multiple prefixes with groups. Also if the player is OPed, he automatically recieves the highest in order group which overrides any specific groups that he has access to. Can you please make multiprefix work with groups and disable OP's from getting the highest in order groups. Here is mine config: http://pastebin.com/5wD8HdrK

    Join my Minecraft server!
    Barbercraft.mcserver.ws

  • Avatar of Reaperxxxxx Reaperxxxxx Mar 13, 2015 at 08:25 UTC - 0 likes

    Hello. I downloaded your plugin just so I could get the format and multiprefix-suffix support. This is currently my config http://pastebin.com/21A05mM9 I enabled vault so that it would fetch all the prefix/suffix's from there and just copy the format and use multiprefix/suffix. The suffix does not go infront of the name currently & Multi prefix's don't work so on. Do I still need to add permissions to groups or something?

  • Avatar of BaranCODE BaranCODE Mar 12, 2015 at 15:37 UTC - 0 likes

    @shop1126: Go

    I'm having a hard time understanding what you said. Could you explain it more clearly, and show me your permissions and simple prefix configs (at least the relevant parts).

    Edit: If I'm not mistaken, your problem is probably about the order of the groups in the config. Read this, maybe it'll help:

    "If the user has multiple nodes, for group prefix or suffixes, the top most one in the config.yml file will be used. For example, if a user has both; simpleprefix.owner and simpleprefix.mod, then the owner group should be placed above the mod group, in the config file. This will make the owner group more important than the mod group, and owners won't get the mod prefix." (from Configuration page)

    Last edited Mar 12, 2015 by BaranCODE
  • Avatar of shop1126 shop1126 Mar 10, 2015 at 22:34 UTC - 0 likes

    Did some testing, here is a quick summary: Using Spigot build #35, groupmanager #2.1.31, all ranks inherit permissions from previous. Firts two ranks will display and second rank will inherit the group-set (simpleprefix.<group>) prefix/suffix, any ranks beyond that don't display them. If you add group-set (simpleprefix.<group>) prefix/suffx to user, it will not be displayed, even if user is one of first two ranks. All player assigned prefixes/suffixes (/spr p <user> <prefix> or/and /spr s <user> <suffix>) do display. I am sure that I am adding correct permissions.

  • Avatar of Landstreet Landstreet Mar 10, 2015 at 20:10 UTC - 0 likes

    @BaranCODE: Go

    Thanks man, it worked perfect!

    Appreciate the reply.

  • Avatar of BaranCODE BaranCODE Mar 10, 2015 at 17:39 UTC - 0 likes

    @Landstreet: Go

    If you have multiPrefix turned off (everyone only gets one prefix), then you could use this method:

    "If the user has multiple nodes, for group prefix or suffixes, the top most one in the config.yml file will be used. For example, if a user has both; simpleprefix.owner and simpleprefix.mod, then the owner group should be placed above the mod group, in the config file. This will make the owner group more important than the mod group, and owners won't get the mod prefix." (from Configuration page)

  • Avatar of Landstreet Landstreet Mar 10, 2015 at 15:45 UTC - 0 likes

    @shop1126: Go

    Hi, thanks for your reply.

    I have tried to negate the wrong prefix, however it still gives me the wrong one when im OP.

  • Avatar of shop1126 shop1126 Mar 10, 2015 at 00:24 UTC - 0 likes

    @Landstreet: Go

    I believe if you're using Groupmanager try to do /manuaddp (user) -simpleprefix.(group) what's important here is the - it negates the wrong prefix.

  • Avatar of Landstreet Landstreet Mar 09, 2015 at 21:45 UTC - 0 likes

    I have a problem, if i have OP i automatically get the example prefix even tho my group has another prefix. If i de-op myself i get the right prefix. Is there a fix to this?

Facts

Date created
Aug 25, 2011
Categories
Last update
Dec 17, 2014
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
222,433
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