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.

Combat level above head

https://i.imgur.com/J6M4ncp.png

Installation

  1. You need the mcMMO plugin first.
  2. Download McCombatLevel.jar
  3. Place in your server's plugins folder
  4. Run your server to generate the config
  5. Edit the config to your liking
  6. 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.



Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files