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 Flabaliki Flabaliki Dec 07, 2012 at 08:37 UTC - 0 likes

    @DaRkNeZZ3435: Go Yep sent you a PM about it :)

    BFAK:Flabaliki,18483,f1d9b2b8f90490869d965fd9702a52194d3105954789ff2a5b33fe9ff3865de9

  • Avatar of DaRkNeZZ3435 DaRkNeZZ3435 Dec 07, 2012 at 06:46 UTC - 0 likes

    Flabaliki Im starting a server with ranks i have all things ready but i cant get simple prefix to work I want it to say [Owner] in front of my name i had it working but when i try to do it for the groups it wont work for [Owner] and also the group prefixes wont work plz pm me if u can help also im using Pex and not permissionsbukkit

  • Avatar of Flabaliki Flabaliki Dec 04, 2012 at 00:26 UTC - 0 likes

    @travja: Go I've sent you a PM about it

    @Tom11880: Go I've PMed you too, to get some more info on it.

  • Avatar of travja travja Dec 04, 2012 at 00:16 UTC - 0 likes

    @Flabaliki: Go

    I have everything all set up and nothing else should be changing chat.... It just goes white with "[World]<name> msg" Even though I changed the format..... Also, no commands work.

    Travja HungerArena

    BFAK:travja,90628520,66a86debf5c17bcfaeaaeeb68dd45d32bd871d98ffa3f2edf711db8d04ca2a21

  • Avatar of Tom11880 Tom11880 Dec 03, 2012 at 19:49 UTC - 0 likes

    Hi,

    great plugin - just not working on my side :-(

    Running craftbukkit-1.4.5-R0.2 and keep getting the following exception:

    2012-12-03 20:38:04 [SEVERE] Could not pass event AsyncPlayerChatEvent to Simple Prefix v2.2.0
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:908)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
    	at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    	at net.minecraft.server.NetworkManager.i(NetworkManager.java:208)
    	at net.minecraft.server.NetworkManager.c(NetworkManager.java:344)
    	at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
    Caused by: java.lang.NullPointerException
    	at com.flabaliki.simpleprefix.SimplePrefix.onPlayerChat(SimplePrefix.java:48)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    

    HELP!

    :)

  • Avatar of punkduckable punkduckable Dec 02, 2012 at 14:36 UTC - 0 likes

    thank you so much for the update! great work man =D

  • Avatar of Flabaliki Flabaliki Dec 02, 2012 at 05:39 UTC - 0 likes

    @travja: Go

    Do you have any other plugin that affects the chat in any way? Also do you have a permissions plugin setup and configured?

  • Avatar of travja travja Dec 02, 2012 at 03:56 UTC - 0 likes

    @Flabaliki: Go

    I am having troubles... I am getting errors when it checks through my yml.... I have a group with prefix: '&d[Admin] &a'

    and it is saying that the first & and the first [ are invalid Also, I have no world in my format yet it puts the world in. Also.... when I try spr in either console or in game it says to do /spr help, when I do it says to do /spr help

  • Avatar of WESandTER WESandTER Dec 01, 2012 at 20:36 UTC - 0 likes

    @Flabaliki: Go

    Also is there any chance of adding prefixes to the join/quit messages?

    Join My Server 198.20.105.142

  • Avatar of Flabaliki Flabaliki Dec 01, 2012 at 07:33 UTC - 0 likes

    @MackenzieW: Go

    Seems to be working fine in v2.2.0. Just wait for Bukkit to approve it, and then upgrade to the new version and see if that helps you :)

    @WESandTER: Go Damn, that's what I forgot to do! I meant to do that in v2.2 but I forgot, I'll put that on the list for the next version :)

Facts

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