Simple Prefix

Logo

Simple Prefix Logo


Updated for 1.7.9!

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.

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 the built-in prefix and suffix systems of PermissionsEx and bPermissions
  • 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


Note: 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.

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

  • Avatar of BaranCODE BaranCODE Jul 26, 2014 at 10:36 UTC - 0 likes

    @DejonPlayMC: Go

    Make sure you are in the Fighter group, and not in another group. Can I see your config file, and can you tell me how you did the permissions?

  • Avatar of DejonPlayMC DejonPlayMC Jul 25, 2014 at 21:02 UTC - 0 likes

    i'm in a group called ''Fighter'' when i am doing the command: /spr p g Fighter &e[Fighter] it says: Prefix for group Fighter set to: [Fighter] but when i send a message its still white. and my other group ''miner'' does work

    Last edited Jul 25, 2014 by DejonPlayMC
  • Avatar of BaranCODE BaranCODE Jul 24, 2014 at 15:44 UTC - 0 likes

    @ThisUsernameIsMine: Go

    That's because it needs an internet connection. The UUIDs won't work without it. You have asked this and I have answered it the same way, before.

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Jul 24, 2014 at 14:09 UTC - 0 likes

    I'm getting a NPE: "Could not pass event AsyncPlayerPreLoginEvent to SimplePrefix v2.3.3" when it tries to lookup/retrieve my UUID on a computer with no internet i.e. offline-mode (which of course fails).

    Last edited Jul 24, 2014 by ThisUsernameIsMine
  • Avatar of SatansDaughter66 SatansDaughter66 Jul 15, 2014 at 15:44 UTC - 0 likes

    still not understanding. if it helps any, i'll tell u what i wanna do and maybe u can explain it further.
    so im gonna have people donate to get a certain prefix cuz i have a set list of prefixes i wanna sell. say one person donated $1 which is the price of the prefix [Princess]. then they donated another $1 for the prefix [creeping]. is there any way they can get the permission to have that certain prefix so they dont have to donate to get it again?
    EX: simpleprefix.prefix.princess
    I dont wanna have to give them the permission to edit their own.

    Last edited Jul 15, 2014 by SatansDaughter66
  • Avatar of BaranCODE BaranCODE Jul 15, 2014 at 05:26 UTC - 0 likes

    @SatansDaughter66: Go

    That's exactly the way this plugin works. Please read this page, and the Configuration page to learn about how to use Simple Prefix. If you still don't understand, then ask here again.

  • Avatar of SatansDaughter66 SatansDaughter66 Jul 15, 2014 at 04:25 UTC - 0 likes

    i have a suggestion which i wanna use for my donations. what if theres a permission to give people access to a certain prefix?
    EX: say a player has the prefix [princess]...can there be a permission for simpleprefix.prefix.princess

    Still thankful for u remaking this plugin :D

  • Avatar of BaranCODE BaranCODE Jul 13, 2014 at 03:31 UTC - 0 likes

    @Rise8647: Go

    Yes, that's a bug. Until it's fixed, you can set the suffix from the config file instead.

  • Avatar of Rise8647 Rise8647 Jul 12, 2014 at 03:02 UTC - 0 likes

    Um sorry to bother again everything is working fine but i want to add a suffix, so my name is
    [Owner] Alex, Which is fine but i want to add a suffix at the end of it so when i do
    /spr s u The_Kard_King &4[devil] it says suffix change to [Devil] but then i reload then type something, My Prefix is [Devil]Alex not Owner and not a suffix Can you help please or if I'm doing something Wrong? Besides that plugin works great Thank you

  • Avatar of Rise8647 Rise8647 Jul 11, 2014 at 14:11 UTC - 0 likes

    Sorry I'm a bit confused, How would i go about doing that?    

    Nervermind thank you very much :)

    Last edited Jul 11, 2014 by Rise8647: Fixed my problem

Facts

Date created
Aug 25, 2011
Categories
Last update
Jun 25, 2014
Development stage
Mature
License
Public Domain
Curse link
Simple Prefix
Downloads
180,563
Recent files
  • 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
  • R: v2.2.1 for CB 1.4.5-R0.2 Dec 16, 2012

Authors