mcMMO TabSkillz
mcMMO TabSkillz v1.6.6
Tired of typing /mcstats over and over? Just press Tab!
This is my first plugin so far and I'll appreciate any feedback or constructive criticism.
This plugin is as of now discontinued. Its functionality has been taken over by my new plugin ProTab. Using the Addon ProTab-mcMMO you will be able to get the exact same character sheet as this plugin generated. For a player list on a second page you can use ProTab-Basic.
Features
- Modifies the standard player list called by tab to show your mcMMO-skills.
- Shows all information /mcstats would provide.
- Can also show the progress in a skill in form of a bar or percentages.
- Will only show a skill if the player has the mcmmo-permission-node for it.
- The usual player list will begin just below the skill tab.
- Can be disabled to allow viewing more of the player list.
- Can be fully configured to your liking (see default tabConfig.yml file).
Config
- EnabledOnFirstConnect: State the standard status for a newly joining player here.
- ThirdColumnContent: Specify what should show up in the third column.
- Possible values: xpbar, percentage, both, none
- 'none' will cause the second-column-info to be extended into the third column.
- This will only do anything if your server has a player limit higher than 40.
- XpbarPercentageInMiddle: You can control if the percentages are in the middle of the xpbars or if they should move according to the length of their respective xpbar.
- This will only do anything if using 'both' as ThirdColumnContent.
- Playerlist:
- UsePrefix: Wether the prefix (defined by a permission-plugin) should show up in the player list or not.
- PrioritySorting: Wether players in the player list should be sorted by their ranks (defined by a permission-plugin) or not.
- Language: The Language the plugin should use.
- Currently supported: en_US, de, fr.
- If you want more to be supported, PM me and create a new one for another language.
Commands
- /tstoggle: Toggles the skill-sheet in the tab.
- /tsreload: Reloads the plugin, recognizing changes in the config and the tabConfig.
Permission Nodes
- tabskillz.show - Allows a player to see and toggle his stats when pressing tab (Default: Everyone)
- tabskillz.admin - Allows a player to reload the plugin (Default: Op)
- tabskillz.* / tabskillz.all - Inherits all the above permissions (Default: No-one)
Screenshots
With xp-bar:
Without xp-bar:

FAQ
- What are all these underscores doing there?
- There is a problem with the width of a space in Minecraft. It's way thinner than a usual character and to get a fixed distance between everything I needed a character that's just as wide as the others while still being considerably "empty". I decided to use the underscore.
- What are these blocks and numbers in the right column supposed to be?
- In the right column I tried to create some kind of progress bar for your respective skill. The blocks are forming the bar and the underscores the empty space which is to fill. The numbers printed either between the blocks or underscores are giving you the exact percentage of how full the bar is.
- Why is smelting not shown in the tab?
- Smelting is a child skill that mcMMO itself does not list it in /mcstats, so I won't do it as well.
Installation
- Make sure you installed all the required plugins found below.
- Drop the mcMMO TabSkillz.jar into your plugin folder.
- Make sure you have your player limit high enough to get at least 2 columns when you press tab (minimum: 21, max-sized tab: 60+)
- Have fun!
Requirements
- mcMMO v1.4.07
- TabAPI v0.1.15
- ProtocolLib v 3.0.1
Optional / Supported Plugins
- VanishNoPacket v3.18.7
- Will not show vanished players in the player list.
- PermissionsEx v1.20.4
- Will use rankings and prefixes in the player list. (configurable)
- bPermissions v2.10.7c
- Will use priorities and prefixes in the player list. (configurable)
Incompatible Plugins
- Any other plugins using TabAPI.
- Only 1 tab modifying plugin will be visible.
- Health Bar
- Will break the tab list. To fix this please set the Health Bar config option 'fix-tab-names' to 'false'.
To-Do
Enable / Disable Command- DONEMake xp-bar togglable and switch to xp-points if disabled- DONEAdd disable options for every single skill in the config- DONEHook into Vanish, so that vanished players are not displayed in the player list.- DONEAdd support for mcMMO Localizations- DONEReduce Lag- DONE (hopefully)Localized messages for the plugin.- DONEMake headers customizable- DONERearrangement for servers with player limit 21-40- DONEOptions to rearrange the skill- DONEOption to activate "compressed mode" for saving space in the tab (no headers or empty tabs)- DONE (by configuration)Option to put the progress percentages into the middle of their respective bars- DONEOption to give priority to certain groups in the player list, maybe colors / tags for them- DONEOption to switch content of the third bar between percentage, bar and percentage + bar- DONE- Create my own Tab API to remove the dependency from an outdated plugin
- Any Suggestions?
Known Bugs
- Lagging on servers with high numbers on players - working on it over time - is fixed?
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Vincent1468
Well, yes, it may be dangerous. But I can't change that, it's a Minecraft limitation. It will not show 3 columns if your player limit is below 41. I could maybe add an option for showing skills in 2 columns, but I won't be able to deploy something for servers with 20 players or less, which only have 1 column.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Tosh94
My server can only hold about 20 players, isn't it a bit dangerous to put the player limit that high then? Also I can't edit the player limit.
-
View User Profile
-
Send Message
Posted Feb 27, 2013@Vincent1468
Yes, of course there is!
Take a look at step 3 in the Installation: Your tab has only 2 columns and 16 rows, that means your player limit is probably 32. Increase it to at least 51 to display all lines of the skill-tab or a higher number, if you want to have parts of the player list visible below it. I recommend using 60 (the lowest number for the tab to be maximum size).
-
View User Profile
-
Send Message
Posted Feb 27, 2013Is there a way to make the tab list bigger? It looks like this:
and with /tsoff like this:

-
View User Profile
-
Send Message
Posted Feb 26, 2013@diannetea
Hm, I just tested it on my local server using Spigot 1.4.7 R1.1 build 577 (the latest successful build) and it did not give out an error message. The plugins on this testing server are: bPermissions, mcMMO, TabApi, ProtocolLib, mcMMO TabSkillz.
Are you using any other plugins or another version of Spigot (not the latest or a dev build)? Are you able to reproduce the error and, if yes, how?
I think it's an error on my part (NullPointerException in my code), but I can't test a possible fix for it, because I'm not able to reproduce the error...
EDIT: Fixed that Exception in v1.3.
-
View User Profile
-
Send Message
Posted Feb 26, 2013I'm guessing it's incompatible with Spigot :(
http://pastebin.com/niBWnwJW
-
View User Profile
-
Send Message
Posted Feb 25, 2013@Tosh94
You must have been using an older version of the API. We added the ability to call the skills based on String names alone.
-
View User Profile
-
Send Message
Posted Feb 25, 2013@gmcferrin
I tried to, but your API classes did not supply me with a possibility to get the SkillType - the getSkillType(String) function is located in the SkillType class itself and your API required SkillTypes as arguments. So i had no other choice than to directly access it.
Once you deploy a release version of mcMMO 1.4, i will of course update my plugin to be solely API-dependant.
-
View User Profile
-
Send Message
Posted Feb 25, 2013@Tosh94
I'd suggest hooking in to our API classes rather than the raw classes - we're less likely to change things within the API that will break your plugin.
-
View User Profile
-
Send Message
Posted Feb 25, 2013@Aibakins
There was a build already waiting for approval, it should be downloadable now. The third column is supposed to be a xp-bar, that fills up, when you gain xp. You can see this when holding tab and gaining xp for a skill as it will update instantly. I think i will add an option to move the xp to the third column for those who don't like my xp-bars.
@Sadragos
This is because i developed my plugin on the latest released build of mcMMO(v1.3.14) and you are probably using the latest beta build (v1.4.00-beta4). In this they changed some classes I use. I may add support for the beta builds in form of betas on my side, but for now please go with mcMMO v1.3.14 to use my plugins functionality. I changed my description to reflect the exact versions of the required plugins.
-
View User Profile
-
Send Message
Posted Feb 24, 2013I get the following errormessage, when the server ist starting up: [SEVERE] [mcMMO TabSkillz] Plugin mcMMO TabSkillz v1.1 has failed to register events for class de.mail.j94.bastian.mcMMOTabSkillz.McMMOTabSkillz because com/gmail/nossr50/datatypes/SkillType does not exist. All Required Plugins are installed with the latest versions.
-
View User Profile
-
Send Message
Posted Feb 24, 2013Dev builds out? Plus i suggest you move the experience points acquired to the third column. those hashtags and numbers make no sence to me
-
View User Profile
-
Send Message
Posted Feb 24, 2013Very nice.