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.
Can you use this for version 1.13?
I finally got Mcmmo working and wanted to use this plugin with it, I downloaded it and the plugin loads when you log on server and do /help, the commands can't be used for it, it says "Not loaded yet" we also don't see anything above our heads. I provided a screenshot showing that the plugin loaded into the server.
another thing is the server log didn't have no issues with it either.
https://ibb.co/ZVCFy7V
Can you please let me know what is the issue. it would be most very appreciated.
Thank you.
Is there any plan to update this plugin for 1.13.1?
does it have like place holder {Plevel} (aka Player level)?
In reply to Forge_User_84591262:
@XxDawnsusxX
Because the scoreboard is assigned globally, but it's possible to set a empty personal scoreboard for the other player. But this means you cannot use healthbars there either.
Hate how even if you have PerWorldPlugins. This still show up underneath players names in every world.
@DeluxeCraft
You use an outdated version.
@games647
got this error on spigot 1.9.2
[Server thread/ERROR]: Error occurred while enabling McCombatLevel v1.8 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at com.gmail.mrphpfan.mccombatlevel.McCombatLevel.onEnable(McCombatLevel.java:75) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [craftbukkit.jar:git-Spigot-5a40365-a28f87a] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
what to do?
@jenks1999
You can still report issues on Github. I never had this issue. Which version of this plugin and mcMMO do you use?
@games647
seems that the ticket system is disabled, any suggestions on how to prevent the log in letting you know congrats on level up every time you log in... it is getting kinda annoying as it is everytime.
You know how it shows the Combat level? It should show the player's total power level! :D :D :D &cPower Level: &f%level% or something
@malicemolaka
Does it show a empty level?
The disabling of citizens 2 integration doesnt work. Its disabled right now and its still showing the levels
@erto333
Sorry, there is no variable for ScoreboardStats. If you use ScoreboardStats it may conflict with that plugin. I wrote a workaround in ScoreboardStats for this Minecraft bug. Just activate compatibility mode in the ScoreboardStats config and download the ProtocolLib plugin.
Tag isnt showing and in the config it is true! What i can do ? Pls help. Thanks. I have the same problem as mike... Did you think it conflicts with scoreboard? Or it can be conflicting with group manager? And pls tell me the variable for Scoreboard Stats
@games647
OH SO GOOD, Thanks so much for taking the time to fix that so fast!
Thanks @games647
@mikelefebvre
I uploaded the new version.
@games647
What do i need to do? Wait for the next update?
@mikelefebvre
I fixed it, but I didn't managed to support the global format feature by HeroChat. You'll have to change it in the channel configuration.