Tablist color not working

Discussion in 'Plugin Development' started by rcth, Mar 25, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    rcth

    Hello guys,

    I'm trying to implement tablist colors when a player with a specific permission join.
    Code:java
    1. player.setPlayerListName(ChatColor.GREEN + player.getName());


    But it doesn't work. I've added some debug (send a message to the player) and the method is getting fired, so some plugin blocks the tablist I think.

    Does anyone know which it is?
    Code:
    Plugins (36): ThemeCraftX, PlugMan, WorldEdit, FlatlandsBuilder, VoxelSniper, Buycraft, Vault, PermissionsEx, EffectLib, Multiverse-Core, LWC, WorldGuard, RedstoneCommand, NPCapture, SchematicBrush, VoxelGadget, CoreProtect, Turnstile, ProtocolLib, Modifyworld, ManySmallTweaks, TC-Reload, Essentials, Citizens, EssentialsProtect, EssentialsSpawn, CompatNoCheatPlus, BKCommonLib, CraftBook, EssentialsChat, SignLink, Train_Carts, NoCheatPlus, RailHider, TCHangRail, ThemeCraft
    (some are custom made plugins, none do anything with the tablist)
     
  2. Offline

    mine-care

    @rcth i dont think that anyone will know each and every plugin of the above and especially know if they affect the tablist. Firstly what version is server on? secondly i would recoment having a copy of the server and start removing each plugin untill you reach the one that allows your tab color to work, You can use Plugman (a plugin) to help u do the loading/unloading
     
  3. Offline

    Konato_K

    @rcth That always worked for me, so I'm not sure what can be the problem, but I know that list names have the 16 character limit, so if you want to apply color like that I'd suggest you to use scoreboards instead.
     
  4. Offline

    Funergy

    @rcth You say you think its another plugin. Have you removed every plugin, and the only plugin left over is yours. And then tested? If it works then its another plugin. What you have to do then is try removing 1 plugin at the time and test if it works then. We dont know about every plugin you have.
     
  5. Offline

    WATWtomanik3

    p.setPlayerListName("ยง7" + p.getName());

    this works with colors too :D
     
  6. @WATWtomanik3 You shouldn't use the colour code though. If you want to know why read one of the 50 threads arguing over it.
     
    Funergy likes this.
  7. Offline

    WATWtomanik3

    Im sorry, Sr. Moderator
     
  8. Offline

    TheFl4me

    Let me guess. your probably using craftbukkit 1.8? and you might even be running your server in offline mode because its those factors together that cause the exact same problem by me.

    SIDE NOTE: Why are you using ModifyWorld AND EssentialsProtect?
     
    Last edited: Mar 26, 2015
Thread Status:
Not open for further replies.

Share This Page