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 Rise8647 Rise8647 Jul 11, 2014 at 02:14 UTC - 0 likes

    The Plugin Works great but i wanna know how to get just Owner cause in my game it says

    [7:00] [World] [owner] [The_Kard_King] how do i get rid of the world and time please help?

  • Avatar of BaranCODE BaranCODE Jul 09, 2014 at 07:20 UTC - 0 likes

    @Islid: Go

    Yep, I've been notified of that; it's caused by a small typo in the code. It'll be fixed in the next update. Thanks for the great feedback!

  • Avatar of Islid Islid Jul 09, 2014 at 05:31 UTC - 0 likes

    Been using this for quite some time, and it's always served our needs well. Had a bit of a burp when the UUID transition happened (for some reason the old SPR caused a LOT of overhead), but the newest version seems to have eliminated that problem.

    One small note - when using the /spr suffix command on a user, it seems that the config file assigns whatever you choose as a prefix instead of a suffix. This is easily remedied by going into the config file and just replacing "prefix" with "suffix", but is nonetheless a bit annoying since all 28 of our moderators have unique suffixes and obviously aren't all online at once. :)

    It's a very minor problem, and ultimately isn't anywhere close to a deal breaker, but I figured I would bring it up so it could get resolved. Thanks for making an awesome plugin!

  • Avatar of BaranCODE BaranCODE Jul 07, 2014 at 17:52 UTC - 0 likes

    @thegeecat: 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."

    - Simple Prefix description

    Also, make sure you are using the latest version of Simple Prefix.

    As to what you said about how it used to work before, Simple Prefix has always worked this way; it is nothing new.

    Last edited Jul 07, 2014 by BaranCODE
  • Avatar of thegeecat thegeecat Jul 06, 2014 at 21:49 UTC - 0 likes

    Hi there, I'm trying to setup basic prefixes based on the players group. I've done this many times before, but since these new updates it just hasn't been working.

    I'm using PermissionsBukkit, which has two working groups... Owner and default.

    I setup Simple Prefix to have the group default have the tag [Player], and have the group Owner have the tag [Owner].

    Now, only the first tag set ([Player]) shows, no matter the group I'm in. It always shows [Player], even when the ONLY group I'm in is Owner.

    I made sure that the simpleprefix.Owner: true is within the owner group. I also tried removing the simpleprefix.default: true from the default group, as I thought it might be inherited. Still doesn't work.

    I had the same problem with EssentialChat, which is why I tried this. But for some reason it just won't work like it used to.

    Last edited Jul 06, 2014 by thegeecat
  • Avatar of BaranCODE BaranCODE Jul 05, 2014 at 04:16 UTC - 0 likes

    @bclaudio: Go

    You can ask here in the comments.

  • Avatar of bclaudio bclaudio Jul 04, 2014 at 18:18 UTC - 0 likes

    I'm having an issue with this plugin and I'm seeking help, but I can't find where to submit a ticket.

  • Avatar of BaranCODE BaranCODE Jul 04, 2014 at 16:34 UTC - 0 likes

    @eryknet: Go

    That may have happened if the server doesn't have internet access. Even if your server is in Offline mode, Simple Prefix will need internet access to work, because it uses UUID's to store player data.

  • Avatar of BaranCODE BaranCODE Jul 04, 2014 at 16:32 UTC - 0 likes

    @LegoFarmer: Go

    The order that they're in, in the config, matters. You should put the Owner group at the top, then the Moderator group next, then the Civilian group, in your config file.

Facts

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