Simple Prefix

Logo

Simple Prefix Logo


Simple Prefix - Easy prefixes or suffixes with permissions.

This plugin uses prefixes and suffixes that are very, very easy to configure inside of a yml config file.

You apply prefixes and suffixes per group in the /Simple Prefix/config.yml file.

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.

You can fully alter the chat format within the config file. 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 Superperm nodes for prefixes to work.


Features:

  • Uses permissions to apply prefixes and suffixes to selected users or groups.
  • Colour 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.
  • 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)

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.


Upcoming Features:

  • MySQL support
  • Support for Vault chat plugins (PermissionsEx, bPermissions, etc.) - Added in v2.3.4
  • Timezones

Tickets:

If you would like a new feature to be added to this plugin, or if you find a problem that needs to be fixed, please post a ticket. Do not comment, it is less likely for us to do the change if you do; so, post a ticket instead of a comment.


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 Islid Islid Aug 13, 2014 at 00:16 UTC - 0 likes

    @BaranCODE: Go

    Cool beans, I'll keep an eye out for the update. :) Excellent work, as always!

  • Avatar of BaranCODE BaranCODE Aug 11, 2014 at 07:56 UTC - 1 like

    @highfaller: Go

    Well, I can not provide support for another plugin. I know nothing about that plugin. However, I will say one thing; it looks to me like the problem might be because he placed a space inside a char instead of a string. He should use quotation marks instead of apostrophes, to make it a string.

    Caused by: java.util.UnknownFormatConversionException: Conversion = ' '

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

    @Islid: Go

    Ah yes, that's caused by a small typo in the code. I was going to make an update to fix that, but then forgot about it. Thanks for reminding.

  • Avatar of highfaller highfaller Aug 11, 2014 at 05:08 UTC - 0 likes

    @BaranCODE: Go

    A plugin with a chat variable was developed for me, but when I add the variable to SimplePrefix, I get the following error in console, and chat turns to the default layout for EssentialsChat. http://pastebin.com/E0RT2w02

    The person who made me the plugin said he has no idea why this is happening. Any fix that you know of?

    Last edited Aug 11, 2014 by highfaller
  • Avatar of Islid Islid Aug 11, 2014 at 02:48 UTC - 0 likes

    @BaranCODE: Go

    Ah, I see, lol. Well, what can you do, eh? :P

    I seem to be having an issue where when I use the /spr suffix command, it applies whatever I type as a prefix instead. I'm using version 2.3.3. Am I typing something wrong, or is it a config problem? Or perhaps something else?

    EDIT: I'm terribly sorry, I mixed those two up - I edited the post to reflect what I really intended to say. This is why I shouldn't ask for plugin support at 2 AM, lol.

    Last edited Aug 11, 2014 by Islid
  • Avatar of BaranCODE BaranCODE Aug 10, 2014 at 18:03 UTC - 0 likes

    @Islid: Go

    People rarely ask their questions or give their ideas using the ticket system; they find it easier to comment. I've found that trying to enforce the ticket system is futile, and decided I wouldn't bother doing so, this time. I just provide the support here, in the comments, as you can see below.

    Last edited Aug 10, 2014 by BaranCODE
  • Avatar of Islid Islid Aug 10, 2014 at 16:06 UTC - 0 likes

    Am I just totally blind, or am I missing where tickets are supposed to be posted? I can't see a link anywhere. :(

  • Avatar of altair123ezio altair123ezio Aug 09, 2014 at 12:46 UTC - 0 likes

    @BaranCODE: Go

    ok,thanks for the help,now works fine

  • Avatar of BaranCODE BaranCODE Aug 08, 2014 at 08:58 UTC - 0 likes

    @Luuko132: Go

    I don't believe that is possible with the current versions of Simple Prefix and McMMO. I may make an update to add this.

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

Facts

Date created
Aug 25, 2011
Categories
Last update
Aug 21, 2014
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
184,178
Recent files
  • 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
  • R: v2.3 for CB 1.7.9-R0.1 Jun 04, 2014

Authors