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, from inside of an yml config file. You apply prefixes and suffixes per user or group in the /SimplePrefix/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. For example, you could achieve the following ingame:

  • [Admin] Flabaliki: my message here

Or even, just completely mix and match the template to get the look you want.

A developer API is available to those who wish to access prefixes and suffixes and use them within their own plugin. Click "Metadata" above.

That's basically what this is, 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
  • Offline mode server support (using usernames instead of UUIDs)
  • Factions chat tags support (read our Configuration page)

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:

A simple tutorial by Otaku Geeks that will help you get started:

And another video on the basics of setting up the config.

Here is a German video about the plugin.


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.


What people say about Simple Prefix:

"This was exactly what I was looking for! Simple and straight forward to use ... I think it took me about 5 minutes after reading over the directions to get it setup...and my users were instantly thankful and excited about their cool new fancy prefixes. Thanks for your efforts!" - GrumblyOldBear

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


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.

Please read the Configuration page thoroughly before asking for help, 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 BaranCODE BaranCODE Aug 08, 2014 at 08:54 UTC - 0 likes

    @altair123ezio: Go

    Did you actually read the quote I pasted in my previous comment? Read it again.

    Basically, what it's saying is that if a person has permissions for more than one group (which I am sure your admins do), make sure the group that is more important is higher up in the config. What you did is write default first, and admin next, but it should be the opposite way around, in the config.

  • Avatar of Luuko132 Luuko132 Aug 08, 2014 at 08:38 UTC - 1 like

    I have a pluggin Mcmmo. Can i when i reach a certain power level with mcmmo. Change my prefix. Any help appreciated ;)

  • Avatar of altair123ezio altair123ezio Aug 07, 2014 at 12:15 UTC - 0 likes

    @BaranCODE: Go

    This is my Permissions bukkit file

    http://pastebin.com/vNASiWRW

    And this the SimplePrefix file

    http://pastebin.com/BFnPhZLU

    My question is,what go wrong?

    Last edited Aug 07, 2014 by altair123ezio
  • Avatar of BaranCODE BaranCODE Aug 05, 2014 at 10:38 UTC - 0 likes

    @altair123ezio: Go

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

  • Avatar of altair123ezio altair123ezio Aug 05, 2014 at 07:35 UTC - 0 likes

    well,on my server this plugin no works fine,in my admin group i put the perm simpleprefix.admin: true,but in the game i have the prefix of the normal member,help me pls

    Last edited Aug 05, 2014 by altair123ezio
  • Avatar of BaranCODE BaranCODE Aug 03, 2014 at 20:59 UTC - 0 likes

    @WitherFire: Go

    You give them permission to set their own prefixes? Huh.

  • Avatar of WitherFire WitherFire Aug 03, 2014 at 20:03 UTC - 0 likes

    Don't you guys think this plugin should have a max character limit? A lot of people on my server get banned for doing that after donating for it.

  • Avatar of BaranCODE BaranCODE Aug 03, 2014 at 09:41 UTC - 0 likes

    @Demy37: Go

    Then you shouldn't use any of the 2.3 versions at all. Starting with v2.3, all of them use UUIDs.

  • Avatar of Demy37 Demy37 Aug 02, 2014 at 22:00 UTC - 0 likes

    @BaranCODE: Go

    Because..

    Exception while running UUIDFetcher
    [12:26:09] [User Authenticator #2861/WARN]: java.io.IOException: Server returned HTTP response code: 429 for URL: https://api.mojang.com/profiles/minecraft
    [12:26:09] [User Authenticator #2861/WARN]: 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
    [12:26:09] [User Authenticator #2861/WARN]: 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    [12:26:09] [User Authenticator #2861/WARN]: 	at com.flabaliki.simpleprefix.UUIDFetcher.call(UUIDFetcher.java:39)
    [12:26:09] [User Authenticator #2861/WARN]: 	at com.flabaliki.simpleprefix.SimplePrefix.onPreLogin(SimplePrefix.java:113)
    [12:26:09] [User Authenticator #2861/WARN]: 	at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
    [12:26:09] [User Authenticator #2861/WARN]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [12:26:09] [User Authenticator #2861/WARN]: 	at java.lang.reflect.Method.invoke(Method.java:606)
    [12:26:09] [User Authenticator #2861/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296)
    [12:26:09] [User Authenticator #2861/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [12:26:09] [User Authenticator #2861/WARN]: 	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [12:26:09] [User Authenticator #2861/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
    [12:26:09] [User Authenticator #2861/WARN]: 	at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79)
    [12:26:09] [User Authenticator #2861/WARN]: 	at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:32)
    [12:26:09] [User Authenticator #2861/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to SimplePrefix v2.3.3
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:299) ~[spigot.jar:git-Spigot-1590]
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1590]
    	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-1590]
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-1590]
    	at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79) [spigot.jar:git-Spigot-1590]
    	at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:32) [spigot.jar:git-Spigot-1590]
    Caused by: java.lang.NullPointerException
    	at com.flabaliki.simpleprefix.SimplePrefix.onPreLogin(SimplePrefix.java:118) ~[?:?]
    	at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
    	at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) ~[spigot.jar:git-Spigot-1590]
    	... 5 more
    

    And I don't use UUID function with SimplePrefix...

  • Avatar of BaranCODE BaranCODE Aug 02, 2014 at 21:42 UTC - 0 likes

    @Demy37: Go

    Why don't you use the latest, v2.3.3 instead? The latest is always the recommended one.

Facts

Date created
Aug 25, 2011
Categories
Last update
Jun 27, 2016
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
465,902
Recent files
  • R: v2.5.1 for 1.10 Jun 27, 2016
  • R: v2.5.0 for 1.10 Jun 21, 2016
  • 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

Authors