SimplePrefix
Main | Configuration | Metadata | Source
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:
- Place Simple Prefix.jar into your plugins folder
- Restart or reload your server
- 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:
Command | Function | Permission |
---|---|---|
/spr help | Displays help | Depends on other permissions |
/spr colours | Displays all colour codes | simpleprefix.command.colors |
/spr p g <group> [prefix] | Add/remove prefix from specified group | simpleprefix.command.editGroups |
/spr s g <group> [suffix] | Add/remove suffix from specified group | simpleprefix.command.editGroups |
/spr p u <user> [prefix] | Add/remove prefix from a single player | simpleprefix.command.editIndividual |
/spr s u <user> [suffix] | Add/remove suffix from a single player | simpleprefix.command.editIndividual |
/spr p [prefix] | Add/remove prefix from yourself | simpleprefix.command.editOwn |
/spr s [suffix] | Add/remove suffix from yourself | simpleprefix.command.editOwn |
/spr w <world> [nickname] | Add/remove a world nickname | simpleprefix.command.editWorld |
/spr reload | Reloads config from file | simpleprefix.command.reload |
Permission for all commands | simpleprefix.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 made this so it would read the prefix and suffix from the PEX permissions file, I would use it. I also need it to read from factions.
On my server people can donate for their own prefix. I would like to be able to limit how many letters people can use, so could you maybe implement a maximum character option into the config file, so people can only use (for example) 8 letters when using /spr p m [prefix]
One other thing that would be handy is an option to set default letters into prefixes. What i mean by this is if someone was to type '/spr p m Hero' then their prefix would be [Hero] if ofc you set the default letters to '[ ]'
Hey I'm not sure if this is a bug or, just supposed to happen like this. And I can't find my glasses so i dont wanna read the comments to find out :3 but when i rank someone up (im using SetrankPB) the color doesn't kick in until they relog. Hopefully i have just done something wrong and this is a simple fix :D if not, ill just keep having my players relog when i rank them up.
My permissions: http://pastebin.com/vQvj5gWp
The permissions all work fine, however I have some worlds which I don't want people to build in (the NOBUILD rank) however this nobuild rank will only effect default users, users assigned to mem,op,mod,admin groups are not effected and they have their groups permissions. I need to have at least the mem rank be overwritten by nobuild should they enter the specific world.
Could someone please help? thanks!
@legodano
Yes, it does :)
@legodano
Just restart the server that works too. Also you don't need notepad+ +, however it makes it easier and you should get it.
You can just edit it in notepad, but be careful that the format is right, each indent is 4 spaces, not a tab eg: Groups: admin: prefix: '&c' suffix: '&f'
Each time that is indented it is an additional 4 spaces, if you keep the format right, it will be fine.
i couldnt do the 'reload' thing in the CMD so im still stuck with the .jar files i dont have notepad++
help?
Does this work with "Permissions Ex" I'm running a 1.1 bukkit server and I'm looking for a plug-in just like this!
@manjensen
Someone asked this exact thing before, just a few comments down. Here is what I said:
"Look at the main post. All the commands require the permissions listed next to them. If you want your Ops to have access to all the commands use the one that is: simpleprefix.command.*
If you only want specific ones use the permissions listed next to them."
The plugin doesn't work for me, when I try to do a command, it doesn't work, and when I change the config it still doesn't work.
@Flabaliki
Ok, thank you very much :)
@MightL1ne
Open a ticket and post the info there, it's easier for me to keep track of. I'm not sure why it's doing that.
Open a ticket and post your config.yml (for simple prefix) and your permissions yml file, and I'll have a look.
@fneyret
Yes, I did know about this, I just haven't got around to letting console use them. I'll fix this in the next release.
Alright this is making me soo mad! please help me!!! Alright so I did everything you told me in the configurations and commands etc. I tested all the prefixes on me. gave me the group Member, Admin etc and All the prefixes worked for me. But when i put My server online the prefixes only work for some groups and other are just blank.. No prefix at all just blank. I mean if there was not any prefixes in any group i would understand but maybe 3 groups show the rank and the others are blank. and when i put my self in that group it shows the ranking of that group on me. so Im so confused right now. How come the rank shows on me, even when i DeOped my self it still shows for that group but it doesnt for other people!. Someone Please help? if you want any more info Pm. but I really would like to figure this out. Thanks
Hi.
Since the 1.4, I can't launch commands from console. Ingame commands (with right permissions) works well.
@Blacktronics
Look at the main post. All the commands require the permissions listed next to them. If you want your Ops to have access to all the commands use the one that is: simpleprefix.command.*
If you only want specific ones use the permissions listed next to them.
Oh dammit, i thought i had the latest release
Works now, except the ingame commands whenever i enter one it just does nothing, no error message or anything
@Blacktronics
You are using an old version of bukkit. Use 1.1 R3, then it will work.
I get this error when starting the Server:
Error occurred while enabling Simple Prefix v1.4 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V at com.flabaliki.simpleprefix.simpleprefix.onEnable(simpleprefix.java:54) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:977) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
//
Installed plugins: XrayInformer, xAuth, Simple Prefix,Change Gamemode,PermissionsBukkit,SuperpermsBridge ,SimpleJail, WorldGuard, CommandBook, MyHome,WorldEdit
@fjutte
Well you don't have to use the commands if you don't want to, they are just there for convenience.