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.

Read the Configuration page for instructions on how to use the plugin.


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 about Offline Mode:

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

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.

However, please read the Configuration page carefully first, because it's likely your question/problem is answered there.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ausir0726 ausir0726 May 30, 2015 at 03:01 UTC - 0 likes

    hi ,

    can you make prefix(suffix) word length .. ? because we need open this plugin for user . but some user type a very long prefix .. @@

    thanks

  • Avatar of CloudeLecaw CloudeLecaw May 29, 2015 at 21:04 UTC - 0 likes

    @BaranCODE: Go

    is it possible to show or add the displaysname? more and more server work with this /nick commands.

    Ad you see the order is not correct :(
    http://www11.pic-upload.de/29.05.15/rrvvccakl86f.jpg

    HEre u see this format:
    Chat: [Groupprefix] [Prefix] [name] [GroupSuffix] [Suffix]
    but i need:
    Chat: [Groupprefix] [Prefix] [name] [Suffix] [GroupSuffix]

    Last edited May 29, 2015 by CloudeLecaw
  • Avatar of BaranCODE BaranCODE May 29, 2015 at 17:50 UTC - 1 like

    @CloudeLecaw: Go

    For your format, you just have:

    format: '<[prefix][name][suffix]>'

    Then, you enable the multiPrefix and the multiSuffix options. You can change multiPrefixSeparator and multiSuffixSeparator if you want.

    You give the players the permissions for the group prefixes, with the permissions: simpleprefix.<group name>

    And then you give the players personal prefixes by setting them in the config, under the User part, or by using the Simple Prefix commands.

    Last edited May 29, 2015 by BaranCODE
  • Avatar of CloudeLecaw CloudeLecaw May 29, 2015 at 17:32 UTC - 0 likes

    @BaranCODE: Go

    How do i set this in the chat formater?

    i want
    [Groupprefix] [PlayerPrefix] [name] [Playersuffix] [Groupsuffix] in this order as chat format....

  • Avatar of BaranCODE BaranCODE May 29, 2015 at 17:21 UTC - 0 likes

    Update v2.4.1:

    I've added an option called OPs-have-all. When this is true, opped players will have permissions for all the prefix/suffixes, by default. When this is false, they will be like every other player, and will only have the prefix/suffixes that they were specifically given permissions for.

    I know many of you weren't pleased by the fact that OPs had all prefix/suffix permissions by default, so I decided to look into it, and I added this option.

  • Avatar of BaranCODE BaranCODE May 29, 2015 at 17:17 UTC - 0 likes

    @CloudeLecaw: Go

    I'm not sure I fully understand. If you're saying you want people to have both their user prefixes, and group prefixes, then you should enable the multiPrefix option.

  • Avatar of CloudeLecaw CloudeLecaw May 28, 2015 at 07:30 UTC - 0 likes

    @BaranCODE: Go

    Ah ok so i will use the the frist Option :)
    becasue i dont wanne use vault. (i dont like this suffix/prefix by world thing that vault does)

    i just hoped i could extant the chatformater a bit more like:
    format: '<[time] [world] [groupprefix][prefix][name][suffix][groupsuffix]> '

    i want to work with the settet groupsuffix and groupprefix + playersuffix playerprefix in the chatformater to design the groups a bit better and still allow random suffix and prefixes for the players.

    Something like:

    >>PREFIX NAME SUFFIX<<
    >>  - colored groupprefix that changes the color with its group
    <<  - colored groupsuffix that changes the color with its group
    

    How this could look in the config:

    Template:
      format: '<[time] [world] [groupprefix][prefix][name][suffix][groupsuffix]> '
      time: '[h:mm aa]'
      multiPrefix: false
      multiPrefixSeparator: '&r, '
      multiSuffix: false
      multiSuffixSeparator: '&r-'
    Worlds:
      world:
        nickname: '&e[World]&f'
    Group:
      members:
        prefix: '&a>>'
        suffix: '&a<<'
        tier: exampleTier
    User:
      069a79f4-44e9-4726-a5be-fca90e38aaf5:
        prefix: '&c[Notch]&f'
        suffix: ''
    Version: 2.5.0
    

    Now this user would get the permission:
    simpleprefix.member

    So the Chatformater would know now he has the groupprefix &a>> and the groupsuffix &a<< and he is in group members.

    Last edited May 28, 2015 by CloudeLecaw
  • Avatar of BaranCODE BaranCODE May 27, 2015 at 15:08 UTC - 0 likes

    @CloudeLecaw: Go

    That's not how it works. You have two options; either setting it up with permissions, or with Vault.

    1) You set up the prefixes and suffixes in the Simple Prefix config, with Simple Prefix groups. And then you give people the permissions for those prefix and suffix groups, by adding "simpleprefix.<group name>" permissions. You can add those permissions to the groups you have in PEX, so that every group can have a Simple Prefix group (and so prefix/suffix).

    OR

    2) You enable the vault option in the Simple Prefix config, so that Simple Prefix gets the prefixes and suffixes for players from Vault and displays those. Vault will get these from the prefix and suffix values saved in PEX.

    Last edited May 27, 2015 by BaranCODE
  • Avatar of BaranCODE BaranCODE May 27, 2015 at 15:06 UTC - 0 likes

    @KeopsTV: Go

    "Note: If the user has multiple nodes, for group prefix or suffixes, the top most one in the config.yml file will be used. For example, if a user has both; simpleprefix.owner and simpleprefix.mod, then the owner group should be placed above the mod group, in the config file. This will make the owner group more important than the mod group, and owners won't get the mod prefix."

    - Taken from the Configuration page: http://dev.bukkit.org/bukkit-plugins/simple-prefix/pages/configuration/

  • Avatar of KeopsTV KeopsTV May 26, 2015 at 02:08 UTC - 0 likes

    <<reply 2567740>>

    Setting use-vault to true solved some of my problems.. Though when I /setrank a person, the prefix does not update not matter what I do (restart, reload,etc..). Any possible solutions?

    EDIT: It appears when a user is not OP, he is a user and when he is OP, he is a member.. I'm confused now

    Last edited May 26, 2015 by KeopsTV

Facts

Date created
Aug 25, 2011
Categories
Last update
May 29, 2015
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
269,522
Recent files
  • R: v2.4.1 for 1.8 May 29, 2015
  • 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

Authors