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, 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
  • Factions chat tags support (read our Configuration page)

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:

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:

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 about Offline Mode:

SimplePrefix may or may not work in offline mode. No support will be offered to offline mode servers

If you're having issues using Simple Prefix in offline mode, 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

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.

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.

Please read the Configuration page thoroughly before asking for help, because it's likely your question/problem is answered there.

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

  • Avatar of BaranCODE BaranCODE Jul 15, 2014 at 05:26 UTC - 0 likes

    @SatansDaughter66: Go

    That's exactly the way this plugin works. Please read this page, and the Configuration page to learn about how to use Simple Prefix. If you still don't understand, then ask here again.

  • Avatar of SatansDaughter66 SatansDaughter66 Jul 15, 2014 at 04:25 UTC - 0 likes

    i have a suggestion which i wanna use for my donations. what if theres a permission to give people access to a certain prefix?
    EX: say a player has the prefix [princess]...can there be a permission for simpleprefix.prefix.princess

    Still thankful for u remaking this plugin :D

  • Avatar of BaranCODE BaranCODE Jul 13, 2014 at 03:31 UTC - 0 likes

    @Rise8647: Go

    Yes, that's a bug. Until it's fixed, you can set the suffix from the config file instead.

  • Avatar of Rise8647 Rise8647 Jul 12, 2014 at 03:02 UTC - 0 likes

    Um sorry to bother again everything is working fine but i want to add a suffix, so my name is
    [Owner] Alex, Which is fine but i want to add a suffix at the end of it so when i do
    /spr s u The_Kard_King &4[devil] it says suffix change to [Devil] but then i reload then type something, My Prefix is [Devil]Alex not Owner and not a suffix Can you help please or if I'm doing something Wrong? Besides that plugin works great Thank you

  • Avatar of Rise8647 Rise8647 Jul 11, 2014 at 14:11 UTC - 0 likes

    Sorry I'm a bit confused, How would i go about doing that?    

    Nervermind thank you very much :)

    Last edited Jul 11, 2014 by Rise8647: Fixed my problem
  • Avatar of BaranCODE BaranCODE Jul 11, 2014 at 02:38 UTC - 0 likes

    @Rise8647: Go

    Edit the Template format option, and remove the world and time from there.

  • Avatar of Rise8647 Rise8647 Jul 11, 2014 at 02:14 UTC - 0 likes

    The Plugin Works great but i wanna know how to get just Owner cause in my game it says

    [7:00] [World] [owner] [The_Kard_King] how do i get rid of the world and time please help?

  • Avatar of BaranCODE BaranCODE Jul 09, 2014 at 07:20 UTC - 0 likes

    @Islid: Go

    Yep, I've been notified of that; it's caused by a small typo in the code. It'll be fixed in the next update. Thanks for the great feedback!

  • Avatar of Islid Islid Jul 09, 2014 at 05:31 UTC - 0 likes

    Been using this for quite some time, and it's always served our needs well. Had a bit of a burp when the UUID transition happened (for some reason the old SPR caused a LOT of overhead), but the newest version seems to have eliminated that problem.

    One small note - when using the /spr suffix command on a user, it seems that the config file assigns whatever you choose as a prefix instead of a suffix. This is easily remedied by going into the config file and just replacing "prefix" with "suffix", but is nonetheless a bit annoying since all 28 of our moderators have unique suffixes and obviously aren't all online at once. :)

    It's a very minor problem, and ultimately isn't anywhere close to a deal breaker, but I figured I would bring it up so it could get resolved. Thanks for making an awesome plugin!

  • Avatar of BaranCODE BaranCODE Jul 07, 2014 at 17:52 UTC - 0 likes

    @thegeecat: Go

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

    - Simple Prefix description

    Also, make sure you are using the latest version of Simple Prefix.

    As to what you said about how it used to work before, Simple Prefix has always worked this way; it is nothing new.

    Last edited Jul 07, 2014 by BaranCODE

Facts

Date created
Aug 25, 2011
Categories
Last update
May 29, 2015
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
402,151
Recent files
  • R: v2.4.1 for 1.8 May 29, 2015
  • R: v2.4.0 for 1.8 May 23, 2015
  • 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

Authors