Simple Prefix

Logo

Simple Prefix Logo


Works on 1.8 versions!
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 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
  • Avatar of Reaperxxxxx Reaperxxxxx Mar 15, 2015 at 08:09 UTC - 0 likes

    @BaranCODE: Go

    I put myself in a second group with a suffix and the suffix is after my name not before my name. In the format I set it to before

  • Avatar of shop1126 shop1126 Mar 14, 2015 at 16:51 UTC - 0 likes

    it shows i have two groups but only one prefix the config is the same as in last message. http://gyazo.com/09c0849e7713b9f8a7f045a35afe4e27 Maybe an update?

    Join my Minecraft server!
    Barbercraft.mcserver.ws

  • Avatar of BaranCODE BaranCODE Mar 14, 2015 at 11:34 UTC - 0 likes

    @shop1126: Go

    I'm pretty sure that multiPrefix works; you're probably doing something wrong. Make sure you add the simpleprefix.<group name> permissions to the players, for each prefix group.

    About the OP thing:

    - In general, it is advised that the only OP person on a server should be the owner. And if you put the owner prefix group to the top of the list in the config, then you won't have that problem.

    - If a player has a prefix they're not supposed to, then specifically negate the permission to that prefix (like adding -simpleprefix.youtuber so that they don't have the youtuber prefix).

Facts

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