SimpleTabColors
SimpleTabColors
A lightweight that adds permission-based colors to your tab list.
To have a player or group get a special color in the list, simply give them a permission that looks something like simpletabcolors.[color code]. For example, the permission simpletabcolors.4 applied to your admins group would give them a dark red name in the tab list.
This was designed to be a lightweight, permission-based plugin. It's less than 30 lines of code, and will remain working with future Bukkit/Minecraft updates for the foreseeable future with no updates required. Don't be worried if it hasn't been updated for 6 months!
Permissions
- simpletabcolors.[color code]: Gives the player with the permission a name in the tab list that is colored with the given color code.
The * Node Issue/Solution
If you have a permissions plugin that allows you to have a * node permission, this will give you all permissions, including the permissions for all the colors in the tab list. The first permission it finds will be used, which means if you have the star node, you'll usually have black.
When using the * node, you'll want to negate the permissions for all the colors you don't want until you get to the color you want. For example, in bPermissions, you negate permissions by using a minus sign in front of the permission. That might make your permissions look something like this:
- * - -simpletabcolors.1 # Negate every color you don't want. - -simpletabcolors.2 - -simpletabcolors.3 - simpletabcolors.4 # This one isn't negated because you want the dark red color (4).
You only have to negate permissions if you have or inherit the * node. The plugin should work fine under all other circumstances.
Please update to 1.9!
Can you update this plugin to support 1.8
I'm wondering if it's possible to hook into the essentials nickname system somehow. As it is now, SimpleTabColors and Essentials seem to fight over control of the tablist and which name gets displayed.
I'm also wondering if it's possible to override the maximum amount of text allowed in each segment of the tablist. Right now, the last two characters of a player's name are cut off. I'm assuming this is because of an invisible §x sort of thing "pushing" the player's name? Not really sure how the colours are handled but displaying more characters would be nice :)
@floory565
If you post your entire config to pastebin and send me a PM, I'll give fixing it a shot.
@floory565
I can't help you with configuring plugins that are not my own.
Hi there! Those in the highest group on my server (Owner) have their names listed in black in the tablist. I have read the instructions above and given them these permissions (I am using GroupManager): -simpletabcolors.* -simpletabcolors.0 -simpletabcolors.1 -simpletabcolors.2 -simpletabcolors.3 -simpletabcolors.4 -simpletabcolors.5 -simpletabcolors.6 -simpletabcolors.7 -simpletabcolors.8 -simpletabcolors.a -simpletabcolors.b -simpletabcolors.c -simpletabcolors.d -simpletabcolors.e -simpletabcolors.f simpletabcolors.9 Also, names are shortened in the tablist at ten characters (ie. Warringah173 becomes Warringah1...) Your assistance would be greatly appreciated.
Kind Regards, floory565
If anyone knows a tabcolor plugin that works with bungee GLOBAL_PING plz PN me for a free rank on my network! !!!
@jayzi
You're not negating the black color code, which is 0. Also, they only go up to 9 and then use the letters a through f.
Hi...
Still owner displays as black? All my other rank colours work just fine using this method. I am using EssentialsGM btw.
What am I doing wrong?
@superminese
Not yet.
is it possible to have a color and bold at the same time?
@ElectricEagleHD
That's because this has no configuration.
Can you do two colors in one name?
And how?
I have restarted the server amounts of times and no plugin file is being generated.
@Condolent
Thanks!
Great plugin and very simple to use!
Using it for my server, and there's no doubt that I'm keeping it!
@GlitchFinder01
It works fine with 1.7.2.
Are you updating to 1.7.2?
If you're using a permissions plugin, or have players on, you really shouldn't be using op. If your going to give people op, you should have that group set to the following permissions:
[Groupname] (whatever the name of the group is you want to have the same permissions as a op)
Permissions:
- '*'
- -simpetabcolors.[Colorcode] (Repeat this permission until you have put every color code except the one you want) (replace [colorcode] with the color code number)
Eg:
- -simpletabcolors.1
- -simpletabcolors.2
- -simpletabcolors.3
Etc.
@chaseoes
Tried it, doesn't work as OP :_
@KevinEssence
Negate the permissions for every color that you don't want.