mcMMO Combat Level
mcMMO Combat Level
Displays a combat level above users heads and in chat based on their mcMMO stats that affect combat:
- Unarmed
- Swords
- Axes
- Archery
- Acrobatics
- Taming
Default combat formula
(Unarmed + Swords + Axes + Archery + (.25 * Acrobatics) + (.25 * Taming)) / 45
Each stat's weight on the combat formula is capped at level 1000, so the maximum combat level possible is 100, and minimum is 0.
Installation
- You need the mcMMO plugin first.
- Download McCombatLevel.jar
- Place in your server's plugins folder
- Run your server to generate the config
- Edit the config to your liking
- Reload the plugin or restart the server
Config
- enable_prefix : True by default, this is the prefix to the left of the name in chat. You can also choose [combatlevel] in your chat plugin
- enable_tag_level : True by default, this is the level that appears above the player's head
- tag_name : "Combat" by default, this is the text that appears after the level above the player's head
- tag_color : GREEN by default, this is the color of the tag_name
- prefix_bracket_color : GOLD by default, change the color of the brackets in the level prefix
- prefix_level_color : DARK_GREEN by default, change the color of the level in the prefix
Permissions
This plugin requires no permissions to operate. If you wish to edit someone's combat level, you must change their mcMMO stats using /mmoedit to gain the required combat level.
Commands
/level or /combatlevel displays current player combat level.
Please use the Tickets for any issues, errors or suggestions.
https://github.com/games647/McCombatLevel/issues
Source
You don't have to decompile the plugin. You can find there the source code with comments and building utilities.
McCombatLevel is open source and hosted on GitHub; feel free to fork, star, or contribute by making pull requests and opening issues.
@games647
Thanks! :')
@MrSamCraft
Oh, I'll fix it.
@games647
I'm using Citizens 2 and it showing a combat level 0 for them
@MrSamCraft
What do you mean?
Can I use this to change a Citizens 2 combat?
Thank you for the update!
@madtomic
Fixed
@xKahl
Formula will be editable in 1.7
@Whyhitme
You're welcome :D
Great little addition, thanks :D
@games647
ok, :)
@Eljoex
@ObsceneNameHere
Fixed
@madtomic @xKahl
Chat variable will be introduced in 1.7
Thank you for updating for 1.7.9. :)
How do you negative rep someone?
I hate scammers
Not compatible with scoreboards like info-board...
Could you update to 1.7.10 please.
1.7.9-r0.2 update?
doesnt work on 1.7.10
can you please integrate with http://dev.bukkit.org/bukkit-plugins/colored-tags/
Hey, really rad plugin. I have a request for some improvements.
Could you add configurable texts, for example allow us to change the format of the text above player head and in the chat? So that we could come up with, for example, "[Level %cblvl% Combat]" and just allow us to use the formatting codes to change the colors in there.
Also, it would be cool to have another variable rather than %cblvl% called %comparecolor% which would display green for combat levels lower than yours, yellow for combat levels within 5 lvls of your own, and red for combat lvls above yours. Just so that in a split second players can decide if they stand a chance against the other player in PVP based on just judging the color rather than the level.
Another feature that I'd like to see implemented is if you could block the exp gains for everything else in the game, and have the EXP bar below always be shown as full and with the level there reflecting the mcmmo combat lvl. This way players could always see their number.
Configuration of the formula for calculating the level would be cool too, but other than these additions, amazing plugin & thank you!
@MinecraftMart
https://github.com/NAE/McCombatLevel
Is there any way i could maybe see the source code? I am trying to do the same for my plugin but i dont know what you used. TagAPI? HoloAPI?