mcMMO 战斗等级
根据影响战斗的 mcMMO 属性,在玩家头顶和聊天栏中显示战斗等级:
- 徒手 (Unarmed)
- 剑 (Swords)
- 斧 (Axes)
- 弓箭 (Archery)
- 跑酷 (Acrobatics)
- 驯兽 (Taming)
默认战斗公式
(徒手 + 剑 + 斧 + 弓箭 + (.25 * 跑酷) + (.25 * 驯兽)) / 45
每个属性在战斗公式中的权重上限为 1000 级,因此最大战斗等级为 100,最小为 0。
安装
- 首先你需要安装 mcMMO 插件。
- 下载 McCombatLevel.jar
- 将其放入服务器的 plugins 文件夹中
- 运行服务器以生成配置文件
- 根据需要编辑配置文件
- 重载插件或重启服务器
配置
- enable_prefix : 默认为 True,这是聊天中名字左侧的前缀。你也可以在你的聊天插件中选择 [combatlevel]
- enable_tag_level : 默认为 True,这是显示在玩家头顶上方的等级
- tag_name : 默认为 "Combat",这是显示在玩家头顶上方等级后的文本
- tag_color : 默认为 GREEN(绿色),这是 tag_name 的颜色
- prefix_bracket_color : 默认为 GOLD(金色),更改等级前缀中方括号的颜色
- prefix_level_color : 默认为 DARK_GREEN(深绿色),更改前缀中等级的颜色
权限
此插件无需任何权限即可运行。如果你希望修改他人的战斗等级,必须使用 /mmoedit 命令更改他们的 mcMMO 属性以获得所需的战斗等级。
命令
/level 或 /combatlevel 显示当前玩家的战斗等级。
如有任何问题、错误或建议,请使用 Tickets 提交。
源码
你不需要反编译该插件。你可以在那里找到带有注释的源代码以及构建工具。
McCombatLevel 是开源的,托管在 GitHub 上;欢迎通过发起拉取请求和提交 Issue 来 fork、star 或 贡献。
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.
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧