ColoredTablist
Very Simple Plugin to color your Playerlist!
Support my Work and visit my Homepage!
French translation
ColoredTablist for Sponge
FAQ Click me before you ask something!
How it works:
- Install Vault
- Install the Plugin. (Drop the coloredtablist.jar file into your /plugins folder)
- Choose a Permissions Node named by the color.
Example: 'coloredtablist.blue' stands for blue :)
OR set 'UserPermissions' to false in the config and choose a color-code !scroll down! - Give a User (or a Group) the specifc Permissions Node.
OR give a Group the specific Color Code in the Config
Now when the User joins he automatically gets colored in the Playerlist (press Tab).
Commands:
You can use /ctl instead of /coloredtablist
- /coloredtablist help = Shows a help Page with available Commands.
- /coloredtablist reload = Reloads Config and Playerlist
- /coloredtablist colors = View List of Color-Codes.
- /coloredtablist nick <nickname> = Changes your Name in the Tablist until you reconnect or the Server reloads.
Config Commands:
- /coloredtablist set usepermissions <true/false>
- /coloredtablist set usechatnames <true/false>
- /coloredtablist set prefix<1> <colors>
- /coloredtablist set groups <group> <prefix/suffix> <value>
Configuration:
Version: 2.1.0
#Whether or not Permissions should be used instead of Groups: UsePermissions: true #Whether or not Displaynames should be used UseChatNames: false #If it should update a player name every 15 seconds UpdateEvery15Seconds: true #Write the Groups in, like here. Use "" as Prefix to dont have one. You can use Colors in Prefix using & so &4 would be red. Groups: Member: prefix: '&e' suffix: '[M]' Admin: prefix: '&a' suffix: '[A]' #Set text for coloredtablist.prefix1 here: prefix1: '&b' #Set text for coloredtablist.prefix2 here: prefix2: exp #Set text for coloredtablist.prefix3 here: prefix3: mod #Set text for coloredtablist.prefix4 here: prefix4: admin #Set text for coloredtablist.prefix5 here: prefix5: boss #Set text for coloredtablist.prefix6 here: prefix6: idk
Permissions:
Color Codes:
Use them in Config with "&" instead of "#" and as Fullname in Permissions
Symbol | Effect/Name |
---|---|
k | Magic/Random |
l | Bold |
m | |
n | Underlined |
o | Italic |
Videos:
English
German
French
Known Bugs:
- Max 14 Characters are shown in the Tablist, longer Names are shortened to 14 (Otherwise it would show an Error because 16 Characters is max. (and we are using Colors so its 16 -2 = 14 O.o)
Dont forget to Subscribe for File Updates!
Visit my Homepage!
This Plugin collects anonymous datas about your Server for mcstats.org
@Meyerflyer
should be fixed in 0.7.3 :)
@mcheaven
Okay, awesome, when will it be fixed? I'm downloading the newest version right now to see if it's fixed. :D
@ThisUsernameIsMine
Okay, got it, Thank you very much :) Was a stupid fault on my Side ..
@mcheaven
I've added the appropriate color nodes to their group (there are 7 groups in total).
As of now i've seen the error occur with two users, of which one was a guest and the other a survival player. Other users belonging to these groups didn't give any errors in console.
@ThisUsernameIsMine
I dont see how this can happen.. So, this happens to Users, which name is 14 Characters long? Which Permissions do they have? (you are using the permissions mode..).
@MatthewEnderle
I already thought about that but Nicknames are often a bit bugged :) but I'll add a Config Node for that. Nice to see that you decompiled my Plugin xD
@mcheaven
My config: http://dev.bukkit.org/paste/5516/
Some of the many errors: http://dev.bukkit.org/paste/5515/
Do you think that you can do getDisplayName in your listener class? I'd rather have the nickname.
to
@ThisUsernameIsMine
send me your group configuration please and the whole error log :)
I'm getting lots of [SEVERE] Could not pass event PlayerChatEvent to ColoredTablist
org.bukkit.event.EventException
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 16
It happened when someone with 14 characters in his name entered the server. His name also didn't had the expected group color but was default white.
@winter4w
You dont understand it, or it doesnt create the config?
We have the same problem:
@mcheaven: Go
Not a problem sir. Just hope you can figure out why the autocomplete for names using TAB doesn't work anymore.
I dont get the config
ok with the latest version work fine on 1.2.5 r2 =) great!
@silentdojo
I think its because there is a color code in front of the name in the List, if thats the cause I cant do anything against it, sry. and im now pretty sure with it
@mcheaven
Not a problem sir. Just hope you can figure out why the autocomplete for names using TAB doesn't work anymore.
@zyxep
yes I know that, it's because I dont reset the color after the name as it would make the max name length 2 letters shorter.
you know that in 0.7.1 the latency bar is colored too? i use "dark gray" as my color on my group, and the bar has an overlay with the color.
@mcheaven
yup i am.
cool! :D
@zyxep
hmm seems like the group system doesnt work for many users.. do you have vault installed?
EDIT: Oh I think I got the reason, I forgot to depend on Vault. Fixed in Version 0.7.1 (awaiting approval)