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:

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

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 faxionsurvival faxionsurvival May 01, 2015 at 13:43 UTC - 0 likes

    I have had a few requests to add compatibility with my chat formatting plugin that is available on Spigot. Any way you could add some API methods to obtain a players prefix / suffix?

    You could even make your Config class public and i could use the methods you guys use internally. I would just hate to use reflection to obtain the prefix/suffix :/ I think it would be a bit more resource intensive than need be.

    BFAK:90655646,02ea0eb7838b732ded9e03043a4c2530408e63e37da7fe9a2d7eeb2a51a9cbe4

  • Avatar of budopey budopey Apr 27, 2015 at 17:58 UTC - 0 likes
    @CashVillan Just negate or falsify the permissions for Admins so they don't apply to them. I don't know what permissions plugin you use because you did not say but there are ways to remove permissions from groups. This would be handy for your issue.

    @TheMeq Why would you need a prefix plugin for PEX? PEX has the same options already built in so maybe that is your problem? Simple Prefix may be conflicting with PEX. I suggest finding a better permissions plugin to use along side Simple Prefix. I use PermissionsBukkit which has no prefix handling so it would not conflict with Simple Prefix. Also if you are worried of it being compatible with Spigot 1.8.3 I am using both PermissionsBukkit with Simple Prefix together on 1.8.3 perfectly fine. It is actually the most stable permissions/prefix plugin combo I have found to use. I was recently a Permissionsex user but it just keeps having problem after problem and finally retired it for PermissionsBukkit because of its range of compatibility with other plugins. PermBukkit isn't bloated with useless/conflicting features like other perm plugins are. (such as PEX)
    -BuDoPeY-
    -Hack the planet, not my server!
    -Seek a good Admin to help build your servers? PM me for details! I can provide customization to your server and help install up-to-date plugins to help you acquire the content you seek for your server!
  • Avatar of CashVillan CashVillan Mar 29, 2015 at 07:24 UTC - 0 likes

    Awesome plugin man! Just wondering if their was maybe a feature to make it so OPs don't have all tags? Since they have the * permission node? Would appreciate this if its not already added, keep up the good work! :)

  • Avatar of TheMeq TheMeq Mar 22, 2015 at 11:17 UTC - 0 likes

    Hello, the plugin seems to stop working altogether if a player changes group or if a brand new user joins the server. We either have to reload the entire server or stop and restart it.

    Can this be looked into please. Thank you muchly! There is no error in the logs.

    [12:09:43] [Server thread/INFO]: TheMeq issued server command: /spawn
    [12:09:46] [Async Chat Thread - #0/INFO]: [Commoner] TheMeq: test
    [12:09:47] [Async Chat Thread - #0/INFO]: [Commoner] SadFaceH0oligan: MEQQQ
    [12:09:50] [Async Chat Thread - #0/INFO]: [Commoner] TheMeq: what?!
    [12:10:02] [Server thread/INFO]: Opped TheMeq
    [12:10:08] [Async Chat Thread - #0/INFO]: [Commoner] SadFaceH0oligan: I am a commoner now :O
    [12:10:08] [Server thread/INFO]: Opped SadFaceH0oligan
    [12:10:17] [Server thread/INFO]: SadFaceH0oligan issued server command: /creative
    [12:10:17] [Server thread/INFO]: Command 'creative' conflicts with plugin 'Essentials vTeamCity', McMyAdmin will not receive this command. Command will be sent to 'Essentials vTeamCity' instead.
    [12:10:23] [Async Chat Thread - #0/INFO]: [Commoner] TheMeq: well, lets test it now, i've changed some things that the plugin requested
    [12:10:24] [Async Chat Thread - #0/INFO]: [Commoner] SadFaceH0oligan: thank you sir
    [12:10:31] [Thread-16/WARN]: [Enjin Minecraft Plugin] Unable to update to new version. Please update manually!
    [12:10:35] [Async Chat Thread - #0/INFO]: [Commoner] SadFaceH0oligan: allright
    [12:10:48] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded
    [12:10:48] [Server thread/INFO]: Permissions reloaded
    [12:10:54] [Server thread/INFO]: SadFaceH0oligan issued server command: /time day
    [12:10:57] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded
    [12:10:57] [Server thread/INFO]: Permissions reloaded
    [12:11:00] [Async Chat Thread - #0/INFO]: TheMeq: test
    [12:11:02] [Async Chat Thread - #0/INFO]: TheMeq: shit
    [12:11:06] [Async Chat Thread - #0/INFO]: TheMeq: can you talk?
    [12:11:12] [Async Chat Thread - #0/INFO]: SadFaceH0oligan: ghallo
    [12:11:15] [Server thread/INFO]: TheMeq issued server command: /reload
    

    Config:

    Auto-Update: true
    Use-Vault: true
    Template:
      format: '[prefix][name][suffix]: '
      time: '[h:mm aa]'
      multiPrefix: false
      multiPrefixSeparator: '&r, '
      multiSuffix: false
      multiSuffixSeparator: '&r-'
    Worlds:
      world:
        nickname: '&e[World]&f'
    Group:
      example:
        prefix: '&a[Example]&f'
        suffix: ''
        tier: exampleTier
    User:
      069a79f4-44e9-4726-a5be-fca90e38aaf5:
        prefix: '&c[Notch]&f'
        suffix: ''
    Version: 2.3.5
    

    TheMeq.xyz BFAK:90943114,9dadd079588a5f228a4d4857889104499c74fc96cd5e8d98533c5fcd0c171d9f

  • Avatar of meontheweb meontheweb Mar 20, 2015 at 02:21 UTC - 0 likes

    @BaranCODE: Go

    Hey - thanks, sorry for like the super late reply. The server is in online mode and we finally got things to work, but today it stopped working again. Just driving me nuts!

    We're not using any permissions, groups etc., the configuration file is very plain and simple:

    Auto-Update: true Use-Vault: false bungeecord: false Template: format: '<[time] [prefix] [name] [suffix]> ' time: '[h:mm aa]' multiPrefix: false multiPrefixSeparator: '&r, ' multiSuffix: false multiSuffixSeparator: '&r-' User: 90a72c93-e500-42c2-8d9c-b62edb7818e4: prefix: '&4[Host]&4' suffix: '' 5b81b2be-5572-4faa-aef8-7ea0bc4938bc: prefix: '&4[Host]&4' suffix: '' Version: 2.3.5

    I've ensured that there are no spaces etc., where they shouldn't be. Don't know what could or has gone wrong.

  • Avatar of Reaperxxxxx Reaperxxxxx Mar 15, 2015 at 12:55 UTC - 0 likes

    @BaranCODE: Go

    The weird symbols are &k within my prefix. This is my permissions file http://pastebin.com/7Kr0XTD6

  • Avatar of BaranCODE BaranCODE Mar 15, 2015 at 08:56 UTC - 0 likes

    @Reaperxxxxx: Go

    Can you provide more info about what you're doing in your permissions plugin (your permissions file, for example).

    Also, why are there weird symbols and characters between the prefixes, in that image?

  • Avatar of BaranCODE BaranCODE Mar 15, 2015 at 08:53 UTC - 0 likes

    @shop1126: Go

    I don't think the plugin needs an update for that; I know that multiPrefixes are functional, and they have no reason to break in newer Bukkit/Spigot versions. I believe you're doing something wrong.

    However, I'll test the plugin myself with the newest Spigot versions, to make sure.

  • Avatar of Reaperxxxxx Reaperxxxxx Mar 15, 2015 at 08:20 UTC - 0 likes

    My prefix is now said three times http://i.imgur.com/YR4u0GB.png and my config is http://i.imgur.com/zsx7jQl.png

    Thanks for any help you can give

    Last edited Mar 15, 2015 by Reaperxxxxx

Facts

Date created
Aug 25, 2011
Categories
Last update
May 23, 2015
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
250,214
Recent files
  • 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
  • R: v2.3.2 for CB 1.7.9-R0.1 Jun 14, 2014

Authors