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 eircl eircl Feb 24, 2016 at 19:07 UTC - 0 likes

    @BaranCODE: Go

    No there are none , and it isn't in offline mode. I just realised tough , I'm running Spigot and not craftbukkit anymore. Could this be the source of the problem?

  • Avatar of BaranCODE BaranCODE Feb 17, 2016 at 17:25 UTC - 0 likes

    @eircl: Go

    Are there any errors in the console?

    If your server is in offline mode, Simple Prefix may not work.

  • Avatar of eircl eircl Feb 17, 2016 at 15:33 UTC - 0 likes

    Hm , I tried everything I can think off. Ingame I used the Spr commands , the mod tells me that my prefix has changed to [ADMIN] but it is still [DEFAULT]. I have already changed the configuration (I removed 'time' and 'world' , cause that is imho a bit silly) and that went fine.

    simpleprefix.command.* is the permission I gave to the mods and administrators in my permissions folder , I use Bpermissions.

    I haven't made any groups yet , I only tested on me individually.

  • Avatar of tristanthewren tristanthewren Jan 24, 2016 at 19:42 UTC - 0 likes

    I have a suggestion for the plugin. I think that it would be great if the plugin was made compatible with essentials, so when you use the /list command it shows the simpleprefix prefix and suffix. Thanks for reading :D

  • Avatar of SolarShrieking SolarShrieking Jan 22, 2016 at 01:29 UTC - 0 likes

    @BaranCODE: Go

    No sadly, doesn't work. :c

    ZBDHdc616c2a603d9fd73fe83c17f165e9e9

  • Avatar of BaranCODE BaranCODE Jan 20, 2016 at 15:13 UTC - 0 likes

    @lichkungoMatch: Go

    As you have all permissions (*) you're being given the permission for both prefixes. As you don't have multiPrefix turned on, SimplePrefix has to choose between the two groups, and it chooses the top one.

    So if you want pluginmaster to have a higher priority than the other group, you should have it listed first in your config.

  • Avatar of lichkungoMatch lichkungoMatch Jan 19, 2016 at 18:20 UTC - 0 likes

    Problem with PermissionsEx + Simple Prefix

    Pastebin Link

  • Avatar of BaranCODE BaranCODE Jan 18, 2016 at 15:18 UTC - 0 likes

    @Ianord: Go

    PM me your permissions and SPR config file.

  • Avatar of Ianord Ianord Jan 18, 2016 at 04:58 UTC - 0 likes

    Hey dude, before you say, I have gone through the config and I've done everything 'by the book' and it just doesn't update in-game. I've removed the world and time prefix and just kept the group and suffix stuff there, but it doesn't change in-game when I reload/update, it reverts back to just showing the time then the players name, sometimes the world, and nothing else, even though time and world aren't even in the config file at all anymore! I've tried adding the permission 'simpleprefix.<group>' to the permissions file but when I attempt to reload that in-game, it says the the configuration is incorrect even with ': true' and without it in the permissions file. I'm seriously stumped dude, I haven't a clue what I'm doing wrong!

  • Avatar of BaranCODE BaranCODE Jan 16, 2016 at 10:03 UTC - 0 likes

    @SolarShrieking: Go

    I haven't tested it, but you should be able to place the tags you see in SimplePrefix's Template.format into other plugins (such as [prefix], [name], [world], etc.)

Facts

Date created
Aug 25, 2011
Categories
Last update
May 29, 2015
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
401,124
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