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
Is there a way to sync with Bungeecord?
@TheMCSparky
Just to make sure, this plugin isn't compatible with all the other tab plugins. And if none of your plugins are loaded then it must be your bukkit build ;)
@StarlessMiner
This is a bug and should be fixed in the next version (coming soon). And for now I'd recommend to turn off the custom player layout because of that bug I mentoined below
@MoPlants
It spams my console full with the info I've set in playerlayout. In Example:
options:
- debugMode: false
- timerEnabled: true
- timerSpeed: 1
- playerLayoutEnabled: true
- playerLayout: [@]&7[playername][nextslot] [health][nextslot] &6❙&e[level]&6❙
- checkForWorlds: false
In console:
18:16:57 [INFO] [TabDeco] &7Starless_Miner
18:16:57 [INFO] [TabDeco] 20
18:16:57 [INFO] [TabDeco] &6?&e0&6?
18:16:58 [INFO] [TabDeco] &7Starless_Miner
18:16:58 [INFO] [TabDeco] 20
18:16:58 [INFO] [TabDeco] &6?&e0&6?
18:16:59 [INFO] [TabDeco] &7Starless_Miner
18:16:59 [INFO] [TabDeco] 20
18:16:59 [INFO] [TabDeco] &6?&e0&6?
18:17:00 [INFO] [TabDeco] &7Starless_Miner
18:17:00 [INFO] [TabDeco] 20
18:17:00 [INFO] [TabDeco] &6?&e0&6?
18:17:01 [INFO] [TabDeco] &7Starless_Miner
18:17:01 [INFO] [TabDeco] 20
18:17:01 [INFO] [TabDeco] &6?&e0&6?
18:17:02 [INFO] [TabDeco] &7Starless_Miner
18:17:02 [INFO] [TabDeco] 20
18:17:02 [INFO] [TabDeco] &6?&e0&6?
Do you can disable this please?
@MoPlants
Yeah I tried it. I seem to have problems running DeathMSG and any other TABAPI kinda thing. Should I list my plugins here? Because none of these plugins load in console or in game only in the plugin folder.
The playerlayout function works pretty good already. There is just one last bug that I have to fix: If the text isn't unique (for example if two players have the same K/D) it will mess up the whole list. I want to fix that by adding a unique color code at the end of the text. Here is a little preview what you can do with the playerlayout:
Configuration:
Edit: you can already do that in the current version, but be aware of the bug mentioned above!
@MoPlants
Works perfectly fine with the latest beta build ;) Maybe you just got a broken developement build. Here you can get the latest beta build: http:dl.bukkit.org/downloads/craftbukkit/list/beta/
@TheMCSparky
Probably a broken craftbukkit build, or the way plugins works changed (which I doubt). I'll test it again with the latest beta build and then give feedback
Plugin isn't loading up for me. I seem to have this trouble with quite a few plugins. It wont show up in game or in the console. But it is in my plugin folder. I have tried reloading the server and restarting it about 6 times. Im not sure what is going on. Any chance of a fix?
@MineFire8
You can use the recent versions, they still work for 1.5.1-R0.1 (#2723). I want to clean up the code a bit to make it more efficient and then I think I will release it
When will you release it for 1.5?
The plugin doesn't work with the current dev build 1.5.1-R0.1 (#2723). I am working on an update and will release it as soon as possible
Edit: Turns out that it was just a little bug after the first startup. Worked fine after a second try. Anyways, I will release the new version soon anyways with some fixes and some new functions
@NepsterGaming
If you want to have explained how the plugin works, you can write me a PM. I like to help people, but I don't like it if people copy code and actually don't know how it really works.
@NepsterGaming
Why would you need a github of the actual plugin? I don't see any point in that, except for other developers to just copy the code. If you are interested in making a plugin that uses my API, just have a look at the example github, it should explain everything needed ;)
please Upload on github!
@TheFluffey
XP is already implemented in the new version (not released yet, have still some stupid bugs to fix) And yeah, I'll add a ping function :)
@MoPlants
Thanks for being so active! Requests:
Ability to ping a central server (bungeecord, check spigotmc.org).
Ability to print player XP level in tab.
@GoF3
Hmm, I did test it and all worked fine. Maybe I used an older build. I'll try to fix it with the latest build
@GoF3
Same ^
For me, the update function dont work :( I have 1.5, and newest TabDEco, and I have [@] added.
@fgpreviews
Already answered, look at post #128 ;)