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 Jun 29, 2016 at 00:54 UTC - 0 likes

    @SilentBlaze357: Go

    You simply turn on the multiPrefix option, and give the player the necessary permissions for each of the prefixes (that is, simpleprefix.<group name>).

    You may also want to use tiers, in which case I suggest you read the Configuration page.

    @Gerolmedlp: Go

    Simple Prefix already makes use of the player's display names, meaning that it works well with most nickname plugins (including Essential's /nick).

  • Avatar of Gerolmedlp Gerolmedlp Jun 28, 2016 at 18:12 UTC - 0 likes

    Me again :D you might want to add a new variable the Show name. This wouldnt just be the normal Name but it would probably alow to show the changed Name if a plugin changed it Example: NickNamer

  • Avatar of SilentBlaze357 SilentBlaze357 Jun 28, 2016 at 04:20 UTC - 0 likes

    Can you add a short tutorial on how to add multiple prefixes. like 3+ I am working on a Prison server and want to showcase "[Rank][Staff][Donor]Name"

  • Avatar of BaranCODE BaranCODE Jun 27, 2016 at 21:37 UTC - 0 likes

    @meneertje_floris: Go

    @Gerolmedlp: Go

    I've uploaded an update (v2.5.1)

    @All

    The new version has an option to use usernames instead of UUIDs for user prefixes and suffixes. This means offline mode servers can now use Simple Prefix, assuming that they have in-game authentication plugins so that people stick with the same usernames.

    Last edited Jun 27, 2016 by BaranCODE
  • Avatar of Gerolmedlp Gerolmedlp Jun 27, 2016 at 16:33 UTC - 0 likes

    This is an error code i get when running the plugin for the First time on spigot 1.10 im using the latest plugin version: [18:29:56 ERROR]: Could not load 'plugins/Simple-Prefix (3).jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/flabaliki/simpleprefix/SimplePrefix : Unsupported major.minor version 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) [spigot.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) [spigot.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(CraftServer.java:297) [spigot.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:202) [spigot.jar:git-Spigot-c3e4052-1953f52] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539) [spigot.jar:git-Spigot-c3e4052-1953f52] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_101] Caused by: java.lang.UnsupportedClassVersionError: com/flabaliki/simpleprefix/SimplePrefix : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.7.0_101] at java.lang.ClassLoader.defineClass(ClassLoader.java:803) [?:1.7.0_101] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [?:1.7.0_101] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) [?:1.7.0_101] at java.net.URLClassLoader.access$100(URLClassLoader.java:71) [?:1.7.0_101] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [?:1.7.0_101] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [?:1.7.0_101] at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_101] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [?:1.7.0_101] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) [spigot.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot.jar:git-Spigot-c3e4052-1953f52] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_101] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_101] at java.lang.Class.forName0(Native Method) [?:1.7.0_101] at java.lang.Class.forName(Class.java:278) [?:1.7.0_101] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) [spigot.jar:git-Spigot-c3e4052-1953f52] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [spigot.jar:git-Spigot-c3e4052-1953f52] ... 6 more

  • Avatar of BaranCODE BaranCODE Jun 25, 2016 at 22:15 UTC - 0 likes

    @meneertje_floris: Go

    It seems like I compiled the plugin with Java 1.8, but you're using an older version. I'll upload a fix in the next few days.

  • Avatar of meneertje_floris meneertje_floris Jun 25, 2016 at 14:14 UTC - 0 likes

    I have problems with this plugin on 1.10. It gives errors when loading. I am using Craftbukkit 1.10.2, here is the log: http://pastebin.com/A9nnQv1W

    Last edited Jun 25, 2016 by meneertje_floris
  • Avatar of BaranCODE BaranCODE Jun 24, 2016 at 18:30 UTC - 0 likes

    @Emandubs: Go

    You want to change the format option in the config so that instead of '<[time] [world] [prefix][name][suffix]> ' it shows '<[world] [prefix][name][suffix]> '

    @roy1267: Go

    If you want a space after everyone's prefix, you can do that from the format. If you want it to be specific to some prefixes, you'll have to set the prefix from the config instead of the command, as the command won't support prefixes with spaces.

  • Avatar of Emandubs Emandubs Jun 24, 2016 at 15:06 UTC - 0 likes

    @roy1267: Go

    Yes, I did look at it however I could not make p's and q's of the info on there: command?

  • Avatar of roy1267 roy1267 Jun 24, 2016 at 06:34 UTC - 0 likes

    Anyway to create a space after the prefix ?

Facts

Date created
Aug 25, 2011
Categories
Last update
Jun 27, 2016
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
496,575
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