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 Clarinoman Clarinoman May 06, 2013 at 11:17 UTC - 1 like

    Add 1.5.2 support please !

  • Avatar of vemacs vemacs May 04, 2013 at 16:22 UTC - 0 likes

    Despite the fact that this is MIT-licensed, there's no public repo. Here's a repo I made and mavenized the plugin:

    https://github.com/vemacs/SimplePrefix

    Flabaliki: consider using maven for building. We don't need to see your .classpath or .project.

    For others, just run mvn package to build.

    Last edited May 04, 2013 by vemacs
  • Avatar of winterbrine winterbrine Apr 14, 2013 at 20:53 UTC - 0 likes

    my config.yml is not the same Template: format: '<[time] [world] [prefix][name][suffix]> ' time: '[h:mm aa]' multiPrefix: false Worlds: world: nickname: '&e[World]&f' Group: example: prefix: '&a[Example]&f' suffix: '' User: Flabaliki: prefix: '&c[Who?]&f' suffix: ''

  • Avatar of Lakees Lakees Apr 10, 2013 at 13:08 UTC - 0 likes

    Is it a permission for permissionEX that i can use?

    Visit LmCraft

    IP: 198.27.79.112

    Website: LmCraft

  • Avatar of sakura_blades sakura_blades Apr 04, 2013 at 17:17 UTC - 0 likes

    Is there a way to move the personal prefixes to the front of the line rather than have them show up last in the prefix list? As owner of the server, I'd like my Owner tag to be first in the list rather my normal player tag.

  • Avatar of RainbowBlues RainbowBlues Apr 03, 2013 at 00:28 UTC - 0 likes

    Hi, every time I've used the /spr s command, it edits my prefix, not my suffix. Is there a crossed wire there somewhere?

    Thanks

  • Avatar of sakura_blades sakura_blades Apr 02, 2013 at 15:17 UTC - 0 likes

    @Minonos: Go

    Ah yes, I forgot about the "aa" bit being for AM/PM. ^.^ Glad it worked out for you.

  • Avatar of Minonos Minonos Apr 02, 2013 at 14:46 UTC - 0 likes

    @sakura_blades: Go

    Thanks!

    It works like this: [HH:mm]

    You don't need the 'aa' because it's for the AM/PM.

  • Avatar of sakura_blades sakura_blades Apr 02, 2013 at 13:53 UTC - 0 likes

    @Minonos: Go

    I'm not sure if this will work but it's worth a shot. Try changing this:

    time: '[h:mm aa]'

    To this:

    time: '[HH:mm aa]'

    Bukkit reads the lower case h as a 12 hour format and the upper case H as a 24 hour format. That might do what you need it to.

  • Avatar of Minonos Minonos Apr 02, 2013 at 11:06 UTC - 0 likes

    Is it possible to display the time not like

    01:37 PM

    but like

    13:37

    ?

    It's normal in Europe to display the time like this, so it would be a great feature.

Facts

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