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
It's really buggy if a player joins his name is at the wrong place (I use v1.0.0)![http://i.imagebanana.com/img/07fo7mla/20130411_18.40.13.png](http://i.imagebanana.com/img/07fo7mla/20130411_18.40.13.png)
@gudedragonmine
Probably the same issue mentoined below, working on it
@benneht
What exactly do you mean? I can't help a lot if I don't know what it is about :P
it doesn't seem to work with scoreboards...
you can make it the plugin with the plugin ColoredTablist can use eg make it compatiblel?
@ritipinheiro
Have a look at the example plugin. Should explain everything you need to know
how can i create i new setting in api?
@ritipinheiro
Oh, that's a really nice idea and pretty easy to implement. Added to the todo list :)
@MoPlants
Ok no problem then! If you could add that it would be a really cool feature.
can you add configuration per world?
@mormaii2
Sorry, but I don't want to be dependant on any API (for example TabAPI). I would have to change pretty much everything if I used TabAPI and it's much easier for me to update the plugin. But I can probably fix it without big changes, I'll have a look at it
@ritipinheiro
I don't want to add plugin support to this plugin. But have a look at my other plugin wich uses my API, it supports many other plugins and SG is currently in work. To your second question, yes you can just set the sorting to {K/D} and it will show the best players sorted from top to bottom. You can't make it show players, then some custom text and again players, but that's planned for the future.
can you do like mc-sg in server pvp? showing top 10 then top 10-20 then 20-30 then top 10 online? its changing all the time the tab showing that
@MoPlants
That fixed it!
My problem now is that the names don't show in colors. I'm using ColorMe (http://dev.bukkit.org/server-mods/colorme/) and without your plugins the names show up in color but with this one they show in white only. Could you add support using their API or the TabAPI for colored names on the tab list? I'd really appreciate it and it would be a cool feature :3
@mormaii2
In this case it's doing everything correctly, this configuration means: 1. slot empty, 2. slot "World", 3. slot world name, 4. slot empty, and so on
You probably just want to remove the first line with the &b
@MoPlants
My config is this one: http://pastebin.com/TETUtMFd
@mormaii2
Well, that is weird. From what I see in the log it does the right thing, but it looks like it mixed up the order in the configuration while starting up. Are you sure that the configuration is correct? (or just upload your configuration to pastebin)
@MoPlants
Now it looks like this with more slots:
http://i.imgur.com/KDfu03S.png
The log: http://pastebin.com/mvrv4kzm
@MoPlants
The server has over 100 slots but they are not filled yet XD
I always restart the server with the stop command and not just reload it.
Not at all, this is the only plugin I have for the tab list.
Ok will do so.
@mormaii2
Ok, some things:
1. This configuration is thought for server with 40+ slots (or just 3 columns)
2. Make sure you actually restart the server and do not just reload it with /reload
3. Do you use any other plugins that could affect the player list like TabAPI?
4. Could you turn on debug mode (you can do that in the configuration or just directly as a command /td debug), go on the server, let it run for some seconds and then send the text in the console to me as a PM. So I can find the problem and fix it ;)
I've tried downloading this one: http://dev.bukkit.org/server-mods/tab-deco/files/8-tab-deco-v1-0-0/ Using this config (copy paste): http://pastebin.com/zFhgFKj5 And my tab looks like this: http://i.imgur.com/fVuG5qh.png How can I fix this?
Die Links kann man anpassen, sodass sie auf nicht veröffentlichte Versionen zeigen. http://dev.bukkit.org/server-mods/tab-deco/files/8-tab-deco-v1-0-0/ EDIT: Ich hab Download 1 :P