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 jack588 jack588 Jun 08, 2013 at 00:56 UTC - 0 likes

    can you make this compatible with townychat?

    because i want a different prefix for my tiered jobs. (if my player go to the next tier jobs, it will have a different prefix, example, from beginner he has &bBeginner prefix, then when he go to the next jobs, he will get &5Rookie (beginner dissapear).

    i think the only thing can do is simpleprefix, but i need townychat format (town name,ext)

  • Avatar of shadvalentine shadvalentine Jun 06, 2013 at 20:31 UTC - 0 likes

    For some reason when I turn on the multiprefix setting it doubles up the prefix ... ok looks like it only doubles then when you use /spr reload in game ... if I stop and restart the server it works like is should.

    Last edited Jun 07, 2013 by shadvalentine

    Hosted by VA Hosting



    Starting at $5 per GB per month



  • Avatar of Vivi_Coral Vivi_Coral Jun 06, 2013 at 20:01 UTC - 0 likes

    @GummieBear47

    Thanks for that. Apologies that I did not mention this however the example from my config file is from the Simple Prefix config.yml, not my permissions.yml in PermissionsEx.

    However, would your solution still work? I assume where you put:

    prefix: ' [Custom] '

    I would put:

    prefix: ' [Admin] '

  • Avatar of GummieBear47 GummieBear47 Jun 05, 2013 at 20:43 UTC - 0 likes

    @Vivi_Coral: Go

    vivi_ with PEX it should look something like this

    groups:
      Guest:
        prefix: '&dGuest&f '
      Admin:
        prefix: '&4Admin&f '
        permissions:
        - I.had.permissions
    users:
      Zippyduda:
        groups:
        - Admin
        - Group2 ## possible, if both groups have set prefixes, the group on top takes priority.
        prefix: ' [Custom] ' ## This always overwrites group prefixes.
    
  • Avatar of Vivi_Coral Vivi_Coral Jun 03, 2013 at 01:14 UTC - 0 likes

    As this plugin doesn't pick up from the permission.yml in PermissionsEx to check the groups users are in, how do you set a user to be in one of the groups?

    Group:
      Guest:
        prefix: '&DGuest&F'
      Administrators:
        prefix: '&4Admin&F'
    User:
      Zippyduda:
        prefix: '&4Admin&F'
    

    I don't want to have to put their prefix in, I want to just put in something like this:

    group:
      example:
        prefix: '&a[Example]&f'
        suffix: ''
      Administrators
        prefix: '&4Admin&F'
    User:
      Zippyduda:
        group: Administrators
    

    Can the in-game commands do that in any way?

    Edit: just tested that, it shows me as:

    <[Nether] [Example] Zippyduda>

    Last edited Jun 03, 2013 by Vivi_Coral
  • Avatar of vipercore vipercore Jun 02, 2013 at 21:05 UTC - 0 likes

    PLEASE UPDATE IT SO IT WORKS WITH FACTION TAG I NEED IT BADLY!! :D

  • Avatar of shadvalentine shadvalentine May 30, 2013 at 05:39 UTC - 0 likes

    I like this plugin .. however can you make a permission that is simpleprefix.* .. this way we can remove all the prefixes and then add the one we want for that group .. if you do not add this .. when we have inhereitances we have to remove every prefix permission that came before it

    Edit:

    Never mind .. don't know what I was thinking .. I was removing the permissions multiple times .. forgot that inheritances also added removed permissions ;-)

    Last edited May 30, 2013 by shadvalentine
  • Avatar of IndigoDistrict IndigoDistrict May 29, 2013 at 22:50 UTC - 0 likes

    @RrFull: Go

    I've been using the latest 2.2.1 version and it works perfectly on 1.5.2.

  • Avatar of RrFull RrFull May 27, 2013 at 15:12 UTC - 0 likes

    @Flabaliki: Go

    on my server not pls help or pls update

  • Avatar of RrFull RrFull May 27, 2013 at 14:28 UTC - 0 likes

    pls update pls pls pls i need it

Facts

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