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.
@chaseoes
ok thanks
@puffpants
I don't think this is compatible with PEX. Sorry.
I will fix this in the next update.
@chaseoes
http://pastebin.com/FB7mgYPG
there i just dont know why.....
@lme999
Did you restart?
@chaseoes This plug-in isn't working for me. I downloaded it, gave my default class the "simpletabcolors.2" permission, and nothing happens.
@chaseoes
ah, k. I currently use iChat + iChatPlayerList which updates people's color after a chat-event. I'm kinda used to that, that's why i asked about it ;)
@ThisUsernameIsMine
When they log in.
Does it update the color after a chat-message event or relog?
Thanks :)
@puffpants
Use Pastebin.
@wumpyc
Their name will be shortened accordingly.
@slimedog007
This can be added with an optional TagAPI requirement.
it wont work can i have some help???
guest: default: true build: flase options: rank: '1' prefix: '&aGuest&f> <' permissions: - simpletabcolors.a - modifyworld.chat - essentials.chat - essentials.back
Thanks chaseoes :) Are there any plans to have players tags above their heads change to match the tab colors? That would be great.
@DerpingManiac
its out! :)
@thejust219 Because he didn't finish the plugin yet...
it wontlet me download...
@wumpyc
The server will explode, crash and them the player last letters are cut remaining the left colored :P
what happens if player has too long name?
Great idea! I am very much looking forward to this plugins release.
THANK YOU CHASEOS! YET ANOTHER AMAZING PLUGIN:D