Skill Issue

动态等级、玩家属性等。高度可配置。
目录
概览
Skill Issue 为玩家提供了在 Minecraft 中达到高等级的途径。也就是说,一旦玩家首次达到这些等级,他们的属性就会变得更强。为了避免混淆,本模组将这些等级称为里程碑。但是,你可能会问,什么是属性?我们稍后会详细介绍。事实上,该模组提供了一些功能,每个类别的功能都在其各自的章节中进行了详细说明。
里程碑
正如前面提到的,里程碑是玩家首次达到的经验等级。一旦玩家达到了某个里程碑,即使玩家因附魔等原因丢失了等级,也不会失去其带来的好处。唯一的例外是玩家死亡,这会将里程碑等级重置为其之前值的可配置百分比(默认为 80%)。
属性
属性 是一个原版特性,允许增强/削弱实体的属性。随着里程碑等级的提高,玩家的属性会变得更强。本模组提供了一个 json 配置文件,允许定义哪些属性应随里程碑等级增长以及增长的范围。可以定义低于原版默认值的属性范围。以下是默认属性配置的概览:
key |
bonus |
min_factor |
max_factor |
|---|---|---|---|
generic.max_health |
0 |
0.8 |
2 |
generic.armor_toughness |
3 |
0 |
1 |
generic.knockback_resistance |
0.25 |
0 |
1 |
generic.movement_speed |
0 |
0.95 |
1.15 |
generic.attack_damage |
0 |
0.9 |
1.25 |
generic.attack_speed |
0 |
0.9 |
1.25 |
generic.attack_knockback |
0.25 |
0 |
1 |
使用默认配置时,玩家初始的一些属性会低于原版水平。例如,玩家需要至少达到里程碑等级 35 才能获得原版的移动速度,达到里程碑等级 40 才能获得原版的攻击伤害和速度。
配置文件的根节点必须是一个包含单个字段 attributes 的对象,该字段是一个属性对象数组。以下是对属性对象中各字段的简要说明:
| Field | Description |
|---|---|
key |
属性的名称,如 Minecraft wiki 的属性部分中所定义(适用于活实体或玩家)。支持通过在前缀添加模组 ID来引入其他模组的属性,例如 <modid>:<key>(默认的 modid 为 minecraft)。 |
bonus |
此值会在乘以系数之前添加到属性的默认基础值上,无论玩家的里程碑等级如何。 |
min_factor |
当玩家处于里程碑等级 0 时,在添加加成后应用于属性默认基础值的系数。 |
max_factor |
当玩家达到最大里程碑等级(默认为 140)时,在添加加成后应用于属性默认基础值的系数。 |
奖励
奖励提供了一种灵活的方式来扩展里程碑系统,通过让玩家在达到特定里程碑等级时运行 Minecraft 命令。额外的属性有助于指定在什么确切情况下执行命令,因为命令的效果可能会有各种结果。
默认配置定义了标题,会在玩家升级时显示给玩家。
配置文件的根节点必须是一个包含单个字段 milestones 的对象,该字段是一个里程碑对象数组。以下是对里程碑对象中各字段的简要说明:
| 字段 | 描述 | 默认值 |
|---|---|---|
level |
执行命令所需达到的里程碑等级。 | 0 |
level_step |
如果 level_range 大于 0,则确定在哪些等级间隔创建里程碑。 |
1 |
level_range |
将为介于 level(包含)和 level + level_range(不包含)之间的等级定义里程碑。 |
1 |
level_inject |
一个令牌,将在命令字面量中替换为里程碑等级(如果为空则无效)。 | "" |
on_level_up |
确定当玩家升级时是否应执行命令。 | true |
on_respawn |
确定当玩家在死亡后重生时是否应(再次)执行命令。 | false |
on_login |
确定当玩家登录到世界时是否应(再次)执行命令。 | false |
is_volatile |
确定当玩家高于里程碑等级时是否应(再次)执行命令(仅在重生和/或登录时生效)。 | false |
commands |
Minecraft 命令 字面量的列表。这些命令将始终按给定顺序执行。 | [] |
可以为同一等级定义多个里程碑(或者让它们重叠)。这些里程碑的命令将按照配置文件中定义的顺序依次执行。
惩罚
惩罚与奖励类似,允许定义在特定情况下执行的命令。确切地说,惩罚会在玩家从死亡中重生后一次性执行,针对的是玩家已失去的里程碑等级。此功能旨在提供移除由奖励命令施加的持久效果的选项,但也可能有其他用例。
该模组默认不定义任何惩罚。
配置的根节点必须是一个包含单个字段 milestones 的对象,该字段是一个里程碑对象数组。以下是对里程碑对象中字段的简要说明:
| 字段 | 描述 | 默认值 |
|---|---|---|
level |
执行命令所需失去的里程碑等级。 | 0 |
level_step |
如果 level_range 大于 0,则确定在哪些等级间隔创建里程碑。 |
1 |
level_range |
将为介于 level(包含)和 level + level_range(不包含)之间的等级定义里程碑。 |
1 |
level_inject |
一个令牌,将在命令字面量中替换为里程碑等级(如果为空则无效)。 | "" |
commands |
Minecraft 命令 字面量的列表。这些命令将始终按给定顺序执行。 | [] |
尽管惩罚与奖励属于同一类型,但上述表格中未提及的任何设置均无效。
区块经验 (Chunk Xp)
该模组的另一个方面是一种平衡功能,限制玩家在短时间内在一个区域内获得的经验值数量。玩家拾取的积累的经验值会聚集在玩家周围 3x3 个区块的区域内,直到达到最大值。一个区块内积累的经验值越多,玩家在该区块拾取经验球时获得的经验值就越少(默认为降至 20%)。区块会随着时间慢慢从积累的经验值中恢复。
使用默认设置,在区块经验池达到阈值之前,玩家可以拾取约 2400 经验值(约等于从 0 级开始的 37 个等级)。这样的区块完全恢复需要 40 分钟。不过,实际上情况稍微动态一些,因为区块会持续从积累的经验值中恢复。通过将
chunk_xp_scale设置为0,可以完全禁用此功能。
方块
技能压力板 (Skill Pressure Plate)

正如其名所示,技能压力板 是一种仅由玩家激活的压力板。输出信号的强度取决于站在其上的玩家的里程碑等级。为了便于理解,处于 0 级里程碑的玩家产生的信号强度为 1,而处于最大里程碑等级(默认为 140 级)的玩家产生的信号强度为 15。
使用默认设置,信号强度每 10 级增加 1(即在等级 10、20、...、140 时)。
经验传感器 (Xp Sensor)

经验传感器 是一个测量区块内可用经验值的方块。如果区域内最近没有拾取经验值(即区块没有积累经验值),则发出强度为 15 的红石信号;如果区块已达到其阈值,则发出强度为 0 的信号。
配置
正如前面提到的,这个模组的大多数功能都采用默认行为。许多方面都可以进行修改。存在以下配置文件:
| 路径 | 描述 |
|---|---|
<MINECRAFT_FOLDER>/config/skillissue-common.toml |
通用模组配置。 |
<MINECRAFT_FOLDER>/config/skillissue/attributes.json |
里程碑属性的定义。 |
<MINECRAFT_FOLDER>/config/skillissue/rewards.json |
里程碑奖励的定义。 |
<MINECRAFT_FOLDER>/config/skillissue/penalties.json |
里程碑惩罚的定义。 |
要将任何配置恢复为默认值,只需删除相应的配置文件即可。
命令
| 命令 | 描述 | 权限等级 |
|---|---|---|
skillissue level get <target> |
获取玩家的里程碑等级。 | 1 |
skillissue level set <targets> <value> |
设置玩家的里程碑等级(应用升级奖励)。 | 2 |
skillissue chunkxp get <position> |
获取给定位置区块中累积的经验值。 | 1 |
skillissue chunkxp set <position> <value> |
将给定位置区块的累积经验值设置为指定值。 | 2 |
更多想法
- 具有不同属性集、奖励和惩罚的职业系统。
- 切换到数据包格式来定义属性、奖励和惩罚?请告诉我你更喜欢哪种方式。
使用场景
该模组本身带有一个相当微妙的默认配置,旨在很好地适应不同的整合包。但由于其高度可配置的属性,有许多可能性可以实现各种玩法。以下是一些随机想法:
- 逐步解锁来自其他模组的技能和特性(例如 Epic Fight 或 ParCool)。
- 冒险地图格式,在玩家升级时奖励更好的盔甲、工具等。
- 根据玩家等级解锁配方和物品。
- 创建一个随等级提升而扩展的指南(例如使用标题和/或发放书面书籍)。
- 使用记分板显示等级,或在玩家进度提升时以其他 UI 特性奖励玩家。
- 超级硬核模式,属性初始因子极低,最大等级为 1000。
Skill Issue

Dynamic leveling, player attributes and more. Highly configurable.
Table of Contents
Overview
Skill Issue provides players with means in reaching high experience levels in Minecraft. That is, once players reach levels for their first time their attributes will become better. To avoid confusion this mod refers to such levels as milestones. But wait, what are attributes you might ask? We will get to that in a moment, in fact the mod has a few things to offer so each category of features is explained in detail in its own section.
Milestones
As already mentioned milestones are experience levels that have been reached by players for their first time. Once a player has reached a milestone its benefits will not be lost if the player loses levels (e.g. by enchanting). An exception to that would be the death of a player, which sets back the milestone level to a configurable percentage of its former value (by default 80%).
Attributes
Attributes are a vanilla feature and allow to buff/debuff properties of entities. With higher milestone levels attributes of players will become better. This mod provides a json-configuration file that allows to define what attributes should grow with the milestone level and in what range. It is possible to define ranges for attributes that are less than the vanilla default. Following an overview of the default attributes configuration:
key |
bonus |
min_factor |
max_factor |
|---|---|---|---|
generic.max_health |
0 |
0.8 |
2 |
generic.armor_toughness |
3 |
0 |
1 |
generic.knockback_resistance |
0.25 |
0 |
1 |
generic.movement_speed |
0 |
0.95 |
1.15 |
generic.attack_damage |
0 |
0.9 |
1.25 |
generic.attack_speed |
0 |
0.9 |
1.25 |
generic.attack_knockback |
0.25 |
0 |
1 |
With the default configuration players start with some attributes beeing lower than in vanilla. For instance a player has to reach atleast milestone level 35 for vanilla movement speed and milestone level 40 for vanilla attack damage and speed.
The root of the configuration needs to be an object with a single field attributes, an array of attribute objects. Following a brief explanation of the fields from an attribute object:
| Field | Description |
|---|---|
key |
The name of the attribute as defined in the attribute section of the Minecraft wiki (for living entities or players). Supports attributes from other mods by preceding the mod id, e.g. <modid>:<key> (the default modid is minecraft). |
bonus |
This value is added to the default base value of the attribute, before it is multiplied with a factor, regardless of a players milestone level. |
min_factor |
The factor that is applied to the default base value of the attribute, after a bonus has been added, when the player is at milestone level 0. |
max_factor |
The factor that is applied to the default base value of the attribute, after a bonus has been added, when the player has reached the max milestone level (by default 140). |
Rewards
Rewards offer a flexible way to expand upon the milestone system by providing the possibility to run Minecraft commands for players, once they have reached a certain milestone level. Additional properties help to specify in what exact circumstances a command should be executed, since the effects of commands can have various outcomes.
The default configuration defines titles that are displayed to the player on level up.
The root of the configuration needs to be an object with a single field milestones, an array of milestone objects. Following a brief explanation of the fields from a milestone object:
| Field | Description | Default |
|---|---|---|
level |
The milestone level that has to be reached to execute the commands. | 0 |
level_step |
Determines the interval at which milestones are created for levels if level_range is greater than 0. |
1 |
level_range |
Milestones will be defined for levels inbetween level (inclusive) and level + level_range (exclusive). |
1 |
level_inject |
A token that will be replaced with the milestone level in command literals (has no effect if empty). | "" |
on_level_up |
Determines if the commands should be executed once a player levels up. | true |
on_respawn |
Determines if the commands should be executed (again) if the player respawns after death. | false |
on_login |
Determines if the commands should be executed (again) if the player logs in to the world. | false |
is_volatile |
Determines if the commands should be executed (again) if the player is above the milestone level (only on respawn and/or on login). | false |
commands |
A list of Minecraft command literals. These will always be executed in the given order. | [] |
It is possible to define multiple milestones for the same level (or have them overlap). The commands of those will be executed in ascending order of the milestone definitions in the config file.
Penalties
Penalties are similiar to rewards in the sense that they allow to define commands that should be executed in certain cirumstances. To be exact penalties are executed once after a player respawns from death for the milestone levels that the player has lost. This feature is meant to give the option to remove persistent effects that have been applied by reward commands but there might be other use cases.
This mod does not define any penalties by default.
The root of the configuration needs to be an object with a single field milestones, an array of milestone objects. Following a brief explanation of the fields from a milestone object:
| Field | Description | Default |
|---|---|---|
level |
The milestone level that has to be lost to execute the commands. | 0 |
level_step |
Determines the interval at which milestones are created for levels if level_range is greater than 0. |
1 |
level_range |
Milestones will be defined for levels inbetween level (inclusive) and level + level_range (exclusive). |
1 |
level_inject |
A token that will be replaced with the milestone level in command literals (has no effect if empty). | "" |
commands |
A list of Minecraft command literals. These will always be executed in the given order. | [] |
Although penalties are of the same type as rewards any settings not mentioned in the table above have no effect when set.
Chunk Xp
Another facette of this mod is a balance feature that limits the amount of xp players can gain in an area within a short amount of time. Xp that has been picked up by players accumulates in an 3x3 chunk area around the player up to a max value. The more xp has been accumulated in a chunk the less xp players will gain when picking up xp orbs in that chunk (by default down to 20%). Chunks will slowly regenerate from the accumulated xp.
With the default settings players can pick up about 2400 xp (~ 37 levels from level 0) before a chunk xp pool has reached the threshold. It will take 40 minutes for such a chunk to fully regenerate. Though in reality there is a little bit more dynamic to this since chunks regenerate from the accumulated xp all the time. This feature can be completely disabled by setting
chunk_xp_scaleto0.
Blocks
Skill Pressure Plate

As the title may suggests a Skill Pressure Plate is a pressure plate that is only activated by players. The strength of the output signal depends on the milestone level of the player standing on it. To put things into perspective the signal strength will be 1 for a player at milestone level 0 and 15 for a player at the max milestone level (by default 140).
With the default settings the signal strength increases by 1 every 10 levels (i.e. at level 10, 20, ..., 140).
Xp Sensor

The Xp Sensor is a block that measures the available xp in a chunk. Emits a redstone signal of 15 if no xp has recently been picked up in the area (i.e. the chunk has no xp accumulated) and a signal of strength 0 if a chunk has reached its threshold.
Configuration
As already mentioned this mod offers most features with a default behaviour. Many of the aspects can be changed. Following config files exist:
| Path | Description |
|---|---|
<MINECRAFT_FOLDER>/config/skillissue-common.toml |
Common mod configuration. |
<MINECRAFT_FOLDER>/config/skillissue/attributes.json |
Definition of milestone attributes. |
<MINECRAFT_FOLDER>/config/skillissue/rewards.json |
Definition of milestone rewards. |
<MINECRAFT_FOLDER>/config/skillissue/penalties.json |
Definition of milestone penalties. |
To revert any of the configurations to its default simply delete the corresponding config file.
Commands
| Command | Description | Op Level |
|---|---|---|
skillissue level get <target> |
Retrieves the milestone level of the player. | 1 |
skillissue level set <targets> <value> |
Sets the milestone level of the player (applies level up rewards). | 2 |
skillissue chunkxp get <position> |
Retrieves the accumulated xp in the chunk at the given position. | 1 |
skillissue chunkxp set <position> <value> |
Sets the accumulated xp of the chunk at the given position to the given value. | 2 |
Further Ideas
- A class system with different attribute sets, rewards and penalties.
- Switch to datapack format for definition of attributes, rewards and penalties? Let me know what you prefer.
Usage Scenarios
The mod in itself comes with a rather subtle default configuration that is meant to fit well into different mod packs. But due to its highly configurable nature there are many possibilities of what can be done. Here some random ideas:
- Progressively unlock skills and features from other mods (e.g. Epic Fight or ParCool).
- Adventure map format that awards players with better armor, tools, etc. on level up.
- Unlock recipes and items with player levels.
- Create a guide that expands with increasing levels (e.g. use titles and/or hand out written books).
- Add a display for levels using scoreboards or reward players with other UI features on level progression.
- Super hardcore mode with extremely low starting factors for the attributes and a max level of 1000.
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
下载 Skill Issue
更新日志
[1.0.3-beta] - 2024-03-07
已修复
- 'bonus' 值未正确添加到属性中
[1.0.2-beta] - 2024-03-06
已修复
- 模组自定义属性无法正常工作
[1.0.1-beta] - 2024-03-02
已修复
- 使用命令降低里程碑等级时,客户端出现轻微的生命值不同步问题
- 与其他模组(例如 Xp Tome)存在潜在的不兼容性问题,可能导致崩溃
[1.0.0-beta] - 2024-02-28
新增
- 方块:技能压力板 (Skill Pressure Plate)
- 方块:经验传感器 (Xp Sensor)
- 功能:里程碑等级
- 功能:玩家属性成长
- 功能:奖励与惩罚命令
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
一堆修复
模组
对 Minecraft 的沙漠神殿进行了全面重新设计!
评论 0
登录后参与评分
还没有评论,来抢沙发吧