Tab Deco
TabDeco v1.1.0
I have decided to discontinue this plugin due to some reasons. But many developers requested the source, and as promised, you can find the source here: https:github.com/TheCyberBrick/TabDeco/ This means that everyone is allowed to update the plugin and hopefully you'll find someone else that continues this plugin. If you decide to continue and update the plugin, please send me a PM so I can add a link to it on this post, thanks!
The latest download of the plugin (R: TabDeco v1.1.0 for CB 1.5.2-R0.1 Jun 07, 2013) still works for Minecraft 1.6.x!
This plugin allows you to add various information/decoration to the player list. There are multiple options to decorate your menu. The menu can be edited in the config file of the plugin. TabDeco also offers a really easy to use API! It allows you to add new settings that then can be used in the configuration and new sorting systems. The only thing you have to do is to write a class that contains the sorting method/a method that returns the text for the slot.
Features
- UTF-8 Symbol support
- Ingame updating of text (Could be used for time & date)
- World specific player list
- Sorted player list (by time on server, KDR, world name and much more)
- Detailed player information by adding more than 1 slot per player
How to install the plugin
- Download the plugin
- Drag & Drop the plugin in your plugins folder
- Start your server
- Edit the created config.yml file of the plugin
- Restart your server (Important: Do not just reload)
How to configure the plugin
- Important: Size of the list doesn't matter at all. You can also set it up with only one column!
- Adding a new line starting with "-" adds a new object to the player list.
- Do not use space in front of the "-". Use tab instead
- Use the prefix "&" for color codes
- Use "#" at the start of a line to add a comment to the config
- Add "[@]" after the "-" to mark a line as "to be updated"
- Add "[@]" after "[nextslot]" to mark the following text as "to be updated". "[nextslot]" Can only be used for a custom player layout
- For everything else you need to know: Have a look at the example configurations on this page: http:dev.bukkit.org/server-mods/tab-deco/pages/example-configurations/
The configuration explains all the functions.
- Don't use any words longer than 16, otherwise they will be shortened
If you want further explanation, watch this amazing video by VariationVault
Commands
- /td debug - Enables debug mode. Shows useful information in the server log.
Pictures
A little example of what you can do with it. Would be really useful for any PvP Server:
(Remember, it doesn't matter how many slots you have. This plugin works for every number of slots, you just won't have as much space and the configuration might look different)
To-Do-List
- Ping function
- Graphical xp bar
- Different configurations for worlds
Known Bugs
- Possibly conflicts with plugins using the packet "Packet201PlayerInfo"
- Conflicts with plugins using TabAPI
- Currently not compatible with every plugin that uses player.setPlayerListName(name); Will be fixed in the next version
Reporting a bug
Please do not post any bugs in the comment section. Send me a ticket called "Bug report" using the component "Bug report" and fill in all required (*) fields, so I can help you.
Download
Make sure you are downloading the right version. These informations here could be updated before the file is approved by an administrator, the current files might not have all features mentioned on this site yet!
Plugins that use the API
- TabDecoExpansions - A plugin that adds various new settings to TabDeco for other plugins
If you make a plugin that uses my API, feel free to inform me. I'll add it to this list.
API
The API is really easy to use. The only thing you have to do, is to write a function that returns the string for the slot in the tab menu. TabDeco does the rest for you! If you want to learn how to make a plugin using this API, have a look at this. It shows two example plugins which explain everything you need to know to make a plugin using this API. There is a simple one and an advanced one that has a setting with an argument in the configuration (take [rint(x,y)] as an example). The advanced one teaches you how to add a setting which displays the x coordinate of a player that you can add as an argument. In the configuration it looks like this for example: [playerPosX(playername)]. The simple one just shows how you add a setting that shows the player name and the health. The API also allows to write totally custom player list sorters. Here you can find the two example plugins: https://github.com/TheCyberBrick/TabDeco-API-Example
@ritipinheiro
Because it never did ;)
why this does not save the kills and deaths?
@Chriszh
That's just how it looks in the editor, ingame it looks normal ;)
When i use the ▔ it turns out as boxes in notepad+. But i understand what you mean :)
I Hope you get it fixed in the next version, but it sounds a bit complicated :O
@Chriszh
Yeah, it's a bug in the player layout. I think that should be fixed in the next version. And for the three lines in the list, only one shows up because the plugin has to shorten the text and then removes the color codes at the end and then they are nomore unique. I recommend using these characters because they are longer: &c▔▔▔▔▔▔▔▔▔▔▔&1
Okay i tried again with player layout disabled: http://www.dumpt.com/img/viewer.php?file=veyivo5c638v2vqtob8z.jpg
pastebin: http://pastebin.com/pmEikSMc
Thanks again for your time :)
@Chriszh
Could you try it with player layout disabled? It might be a bug in the player layout
Sorry i forgot to add "- listSorting: {name}" Corretly this time, but i still have the same problem after i fixed it.
Thank you for your help.
heres a image from ingame: http://www.dumpt.com/img/viewer.php?file=v5ax4xh0afgyi77ubtub.jpg and from serverlog with debug on: http://pastebin.com/BFAjQ54C
And no, i dont have any other plugins that edits the player names in any way in the playerlist :)
@Chriszh
Could you send me a picture of the list and the debug text? The configuration looks fine, maybe you just mean how the list is sorted, because in your configuration it says it should sort the player list by their name (alphabetically). Do you use any other plugins that changes anything of the player list?
Can you tell me if i made any mistake in my config? http://pastebin.com/gCGxPWVY
Im getting the same problem as everyone else, its all random, and changing slots all the time :/
@StarlessMiner
Danke, ich probiers mal kompatibel zu machen
@MoPlants
NameTagEdit
Da war die Option mit anzeigen in der tabliste an
@StarlessMiner
Weisst du vieleicht an welchem Plugin es evtl. gelegen hat?
@MoPlants
ich glaube jetzt gehts ;)
Es lag wahrscheinlich an nen anderen Plugin ;O
@StarlessMiner
Probiers mal mit playerlayout auf false
@MoPlants
Noch immer nicht richtig ;O
@StarlessMiner
Ok, liegt an der Konfiguration ;)
Ändere dein Player layout zu dem: - playerLayout: [@]&7[playername]
Ich glaube ich werde in der nächsten Version [playername] immer auf auto update stellen, weils nur Probleme verursacht :P
@MoPlants
Ohh sorry ;)
Hier ist meine config: http://pastebin.com/rx1kmLZY
und hier die konsole mit debug text: http://pastebin.com/J9MHKZFC
Mein Problem ist, dass wenn jemand auf den Server kommt während man selbst bereits drauf ist, kommen die spieler namen in die erste reihe wie eine normale tabliste anstatt unter "Spieler:". Und wenn das passiert, verschiebt sich alles andere und Funktionen wie "wie viele player online sind" funktionieren nicht mehr.
@StarlessMiner
Ok, two things:
1. Please give me the debug text (with /td debug) or the plugin. I can't help if you just say "It's buggy, it doesn't work". I can only help if I know exactly what is happening, how should I fix a problem that I never had/don't know where to fix it
2. Maybe the configuration is wrong, please upload it to pastebine and I'll check it ;)
Edit: Wir können auch Deutsch reden wenn du willst :P