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?
@KnightcraftRPGServer
So, I just uploaded an update for 1.7.8 which seems to work, but I will not go ahead and update to the new UUID system because my new plugin ProTab is awaiting approval and will replace TabSkillz. I will also not add Alchemy due to ProTab containing that.
Expect this plugin to be discontinued as soon as ProTab is approved.
Note: v1.6.6 claims to be for 1.7.2 R0.3 but is for 1.7.8 #3055, I still can't choose a newer version for that field >.>
Hey, can this be updated for 1.7.8 please?
@Tosh94
Should I use 1.6.4 or lower in the meantime? This is great plugin too bad sometimes it give these errors. I hope you will have a fix later when you can. Thanks!
update: 1.6.4 seems to be working with cb1.7.2-r0.3 ;)
@madtomic
That's because, as stated in the changelog of v1.6.5, this version was made for the Craftbukkit 1.7.5 R0.1 dev build. I know that the bar on the right says 1.7.2 R0.3 and that is because I have to choose from several options which for some reason don't include 1.7.5 yet, so I chose the newest version available even though it's not quite correct. Sorry about that.
PS: Still working on the new and better plugin, I just don't have much free time right now...
I tried and I keep getting this when I load the server. I would get a blank tab but after I level something. It updates and works fine? Anyone can help? I'm using cb1.7.2-r0.3
[22:40:15 WARN]: [mcMMO_TabSkillz] Task #25 for mcMMO_TabSkillz v1.6.5 generated an exception java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_7_R2/entity/CraftPlaye r at de.mail.j94.bastian.mcMMOTabSkillz.PlayerList.getPing(PlayerList.java :146) [?:?] at de.mail.j94.bastian.mcMMOTabSkillz.PlayerList.updatePlayerList(Player List.java:129) [?:?] at de.mail.j94.bastian.mcMMOTabSkillz.TabBuilder.createCompleteTab(TabBu ilder.java:29) [?:?] at de.mail.j94.bastian.mcMMOTabSkillz.TabListener$1.run(TabListener.java :39) [?:?] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java :53) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks ] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:5 87) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_7_R2.enti ty.CraftPlayer at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:67) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0] ... 11 more
@KnightcraftRPGServer
First off, apologies for the error, somehow the config.yml file had left my filebrowser when i packed the .jar. It's a simple fix and will be uploaded soon. Of course I test my plugins before I upload them, but I did not test the complete re-setup this time, which is why I didn't notice this error.
About TabAPI: I know it is outdated (even if it still does its job for me) and as you may have noticed I did not do any major updates for this project in a while. That is because I am working on a new, improved version, that will be uploaded as a new project. It will not require TabAPI anymore and will furthermore be able to support more then just mcMMO in the tab. Additionally multiple tabs will be possible. This plugin is in the testing phase right now and once it's released TabSkillz will be discontinued.
You updated this plugin but haven't tested it? TabAPI is outdated. Any chance of dropping the dependancy and coding it into this plugin?
I get this error when starting my server, my console is upside down so start at the bottom...
@Touljo
I'm sorry it took me so long to answer, I took a little time off. The alchemy skill is as far as I know only part of the dev build of mcMMO and I personally like to work with the finished builds, so I don't have to update all the time. Anyways, this plugin will soon be discontinued and replaced with a better and extended version that will be able to support more than just mcMMO, so I will probably include the skill there once it's part of a mcMMO beta build.
@KnightcraftRPGServer
Fix should be up soon.
Please update I need this for my RPG server
Can you add support for the new alchemy skill please?
Would be great :D
@Ryex95
You can configure this in the tabConfig.yml: If you define less than 20 lines, all lines below your tab will be filled up with the playerlist. You could for example remove the headers to gain space for the player list. If you referred to increasing the size of the tab beyond 20 lines, that is impossible due to Minecraft's limitations.
I hope that helps.
Can you increase player list slots while tabskillz is shown?
I can only have 6.
@MikeGold
No problem, I wasn't angry :)
Well the dev build was out like 2 weeks before that, yeah, but seeing all the crash messages below the plugin, I was just like "I don't want to work with that just yet." ;)
Don't be angry. When people are complaining about the lack of updated version, take it as a compliment. How much your plugin must mean for them that they want to get the updated version asap. Oh and the dev build of ProtocolLib that worked on 1.7 was way before that wednesday ;]. Anyway, thanks for the update.
@MikeGold
Well, sorry for that. While ProtocolLib was updated wednesday, I only realized it yesterday and had no time left to update my plugin. The new version is now waiting for approval by Bukkit staff.
ProtocolLib was updated a long time ago. Hope to see your plugin back soon ;].
Regarding Update 1.7: I am waiting for ProtocolLib to update before I upload my own update, because I require ProtocolLib to work correctly for testing. Once it's up-to-date I will soon follow.
@wydgabriel
According to the error message it seems you do not have (an up-to-date version of) ProtocolLib installed. As seen in the requirements mcMMO TabSkillz will not work correctly without ProtocolLib, so you have to download and install it. This should resolve your error.