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 meontheweb meontheweb Jan 02, 2015 at 05:31 UTC - 0 likes

    Help!

    My config.yml is very simple:

    User:
      [UUID]:
        prefix: '&c[Owner]&f'

    When I start the server (local machine) I see this:

    [time] [world] [Player] <playername>

    I can change the template to test things out and I'll see the changes, but for some reason when the UUID is set correctly to a player that exists I won't see "owner" in front of their name.  

    Any ideas?

    Last edited Jan 02, 2015 by meontheweb: Readability
  • Avatar of CarrotBox CarrotBox Dec 29, 2014 at 05:43 UTC - 0 likes

    @BaranCODE: Go

    So I tried doing that by typing in /manuaddp XTheFletcherX -simpleprefix.* and it didnt work. I also tried removing essentials all together and it still didnt work. But what is weird is that when im op and have *, it shows all of the prefixes, but when im deoped with *, it shows the prefixes that i have perms to and works..

    I can make a video and send u the link if you want?

    Last edited Dec 29, 2014 by CarrotBox
  • Avatar of apesgrapes apesgrapes Dec 28, 2014 at 14:29 UTC - 0 likes

    @Khaiming: Go

    it works for me, is the player logged in at the time you do the command? they need to be as the plugin stores the prefix against UUID.

    also, check the config.yml to see what the plugin has set,

  • Avatar of Khaiming Khaiming Dec 28, 2014 at 12:24 UTC - 0 likes

    Why I can use my own prefix , but i put on players not working? Seem like only op can have own prefix , i do /spr p u Player Prefix , the players show nothing

  • Avatar of BaranCODE BaranCODE Dec 27, 2014 at 14:10 UTC - 0 likes

    @Khaiming: Go

    Look at what @Orbixas wrote a few comments below. Also, if you're using EssentialsChat, you shouldn't use Simple Prefix at the same time.

  • Avatar of Khaiming Khaiming Dec 27, 2014 at 09:05 UTC - 0 likes

    Why not working to me. If i remove Essentials its work , but i put Essentials its not working

  • Avatar of BaranCODE BaranCODE Dec 27, 2014 at 00:55 UTC - 0 likes

    @CarrotBox: Go

    You can: http://wiki.ess3.net/wiki/Group_Manager#Negative_Nodes

    It's a basic concept in all permissions plugins, including Group Manager.

    Edit: If you're using Group Manager, read the part about Exception Nodes as well. You'll use a negative node to deny simpleprefix.* for OPs, and then exception nodes to allow simpleprefix.command.* (if you want) and the permission of the prefix/suffix group.

    Last edited Dec 27, 2014 by BaranCODE
  • Avatar of CarrotBox CarrotBox Dec 26, 2014 at 01:59 UTC - 0 likes

    @BaranCODE

    I've searched for a plugin that will deny permissions with groupmanager and couldn't find one.

  • Avatar of CarrotBox CarrotBox Dec 25, 2014 at 00:49 UTC - 0 likes

    @BaranCODE: Go

    Im afraid that you cant deny permissions with groupmanager.

Facts

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