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
Great plugin! Could you please hook into Factions & Towny to add variables [currentfactionplayers] [maxfactionplayers] [currenttownplayers] [maxtownplayers] ?
@semirotta
You used space instead of tab in front of the - Here's the fixed configuration: http://pastebin.com/Ey3DVXm9
Question: http://pastebin.com/Cey4McxD
Why isnt it showing correctly?
It is supposed to have all the right side boxes (3rd one) with the message from top to down saying: WELCOME TO SEMICRAFT SERVER
@fgpreviews
Like I said some posts ago, I will try to add multi world support. I'm thinking of making a setting to add a world prefix to player names, or just let the players in the same world display on the tab.
I was looking at multiverse and there's an option to allow a certain amount of players in to the world. Is there a way of incorporating that so it shows in the tab list?
One of the best plugins ever! Congratulations for this plugin!!! :D :D IS BEATIFUL
@semirotta
So, I think I've fixed the bug with the prefix of groups. I've downloaded mChatSuite, quickly made a group with a prefix [A] for admin and then tested the plugin and it seems to work now. I'll upload that file now.
Please use the ticket "Bug report" to report any bugs from now on. Please fill in all required fields (*) so I can help you.
@EncryptedCurse
You can use reload, but you have to log out and then log back in.
@semirotta
I looked at the source of the mChatSuite plugin, and what it does is changing the player name in the tab list. That's causing the problem. I will try to find a fix for that.
@MoPlants
http://pastebin.com/iUXjeBnf There is the debug.
Would it be possible for you add in a reload command?
Can't have more than one player on at a time even with your default config.
@semirotta
Also, the time is the time of the server host. It's not possible to get the time of the player since that is only client side.
@fgpreviews
I will try to add an option for that in the configuration. The problem with the words is, that it is client side and since plugins don't change anything client side, it's pretty difficult up to impossible.
@semirotta
Please send me the debug text. I can't help without that.
@MoPlants
Nop it wont work properly still... time goes strange there and also my rank name is first before everything. ? :O WTF :D
bPermissions + mChatSuite = my rank names in game
@fgpreviews
The tab didn't appear how i wanted it to in that comment but im sure you get the picture. if not i will try make a picture :) Oh and forgot to mention can you make it so it is compatible with plugins such as Multiverse And MyWorld ???
BUG REPORT: I don't know if you already know about this but for some reason i can not use the same word more than once. example this can not be done - test - test If i did this the word test would only appear once. However when i changed it to: - Test - Test1 it worked. also, it's not really a bug but can you make it so more than 3 columns are displayed in the tab menu even if there is only like 20 slots as apposed to 100+ Also another request can you make it so you cab list how many people are with in a specific world so for example: Imagine this is the tab list :P
========== ==Server Name==
World one World two World 3 Online: 7/20 list players who are in world one with in the same colum as the world listed above. Player 1 Player 2 Player 3
@semirotta
You forgot the space after the -, it's not "-Text" it must be "- Text". I will upload an example configuration ;) I just downloaded mChatSuite and it works fine. Here's the configuration: http://pastebin.com/UHBwAqwZ (make sure you copy it from the raw data) If it still doesn't work, please turn on debug mode (/td debug), join the server and then send me the content of the server console per PM.
@MoPlants
Well i did use and i copied basically your picture there to my config but it wont work at all.. http://pastebin.com/QmCmN0cw config is above
It wont show the colors. The players online appears to be above the written stuff..