Hardcore Tiers
为你的服务器/托管世界自动提供 PVP 等级。所有玩家都会获得一个等级前缀(从 LT5 到 HT1+),显示在聊天栏、标签页列表以及头顶上方,名字下方还会显示其 ELO 分数。等级会根据击杀、死亡和图腾掉落自动升降,你还可以运行定时的赛季,包含排行榜、软重置和奖励。
工作原理
每个人都有 ELO(积分)分数。采用类似 ELO 的评级机制,因此你击杀了谁以及谁击杀了你都很重要,而不仅仅是计数。
- 击杀: 对未排名的玩家 +10,对被排名的受害者更多(见下文)
- 死亡: -15,具体数值根据击杀者略有增减
- 图腾掉落: 你自己 -15。如果另一名玩家在你被击中后立即掉出了你的图腾,他们获得 +5 加上你的等级值(最高 +14)
- 非玩家造成的死亡固定为 -15
你需要 1.5 的“K/D”比才能收支平衡,因此大量死亡会抵消刷取的击杀。ELO 可以为负数,但在回到 600 分以上之前你不会拥有任何等级。
击杀分值(按受害者等级)
未排名 10, LT5 15, HT5 20, LT4 30, HT4 35, LT3 45, HT3 55, LT2 70, HT2 85, LT1 100, HT1 150, HT1+ 300
击杀比你低等级的玩家得分较少:低 1 个等级为 85%,然后依次递减为 70%、55%、40% 和 25%(相差 5 个及以上等级时,最低不低于 5%)。向上击杀始终获得全额分值,因此作为 LT5 玩家击杀 HT1+ 可获得 300 分。
死亡
死于比你低等级的玩家代价更高(差距每高 1 个等级额外增加 3 分,最高 +15,总计最多 -30)。死于比你高等级的玩家代价较低(每高 1 个等级减少 3 分,最多减少 10 分,最少仅 -5)。
击杀连击
聊天栏会在你达到 3 次击杀连击时播报,之后每 5 次击杀(从 5 开始)继续播报。当 5 次或以上的连击结束时也会进行播报。
等级
等级基于 ELO 分数,灵感来源于 mctiers:
- LT5: 600
- HT5: 1150
- LT4: 2150
- HT4: 3200
- LT3: 4200
- HT3: 6100
- LT2: 8200
- HT2: 12000
- LT1: 19000
- HT1: 24000
- HT1+: 56000,最高等级
升级时会播放升级音效,显示标题并在聊天栏中广播;降级时会在动作栏显示消息。如果分数降至 600 以下,等级将被移除。这在硬核模式中有效,因为死亡是永久性的,且图腾掉落算作消耗的生命。
玩家可以输入 /trigger rank 查看自己的统计数据。
赛季
赛季是可选的,并且完全手动。数据包没有真实的时钟功能,因此你需要在想要的时候自行结束赛季。
- 首次使用: 运行一次
/function tiers:season/start。此时所有人的当前积分将成为第 1 赛季。 - 结束赛季:
/function tiers:season/end。它将宣布新赛季开始,在侧边栏启动新的排行榜,并重置所有人(详见下文)。 - 软重置: 刚刚结束的赛季中参与过的每位玩家保留其最终 ELO 的 25%。可以通过
/scoreboard players set #carrypct const 0修改该比例(0 = 完全重置)或其他百分比。 - 奖励: 以某个等级完成赛季会授予你“赛季完结者”进度(LT5 到 HT1+)。将你自己的奖励(物品、命令)放入
season/reward_hook.mcfunction中。 - 名人堂: 每个赛季都有独立的侧边栏排行榜,包含离线玩家。使用
/function tiers:season/hof {n:1}显示旧榜单,使用/function tiers:season/live显示当前榜单,使用/function tiers:season/hof_hide隐藏它。 - 离线玩家 将在下次登录时处理重置、奖励和继承积分,确保无人遗漏。
赛季功能是新加的,如果出现问题请告诉我。
安装
- 将 zip 文件放入 world/datapacks/
- 执行 /reload 命令
- 检查 /datapack list 确认 file/tiers
- 运行
/function tiers:season/start一次(仅用于赛季功能时需要)
仅在 1.21.11 下制作和测试。我列出了 1.21.5-1.21.10 是因为它们版本相似,可能也能运行。没有任何依赖项,因为它被制作成纯数据包(我确实测试过)并打包为模组(我没测试过,祝你好运 lol)。
注意事项
- 现有玩家保留他们的击杀记录。 死亡和图腾掉落只从安装那一刻开始计算,没有人会被清零。
- 所有死亡都计入,不仅仅是 PvP。
- 无法区分图腾掉落的原因,因此因熔岩或苦力怕导致的掉落与因玩家导致的掉落扣分相同。
- 使用前缀使用的是队伍系统(lt5 到 ht1plus)。一名玩家只能属于一个队伍,因此它会覆盖他们原本所在的任何队伍。
- 代码的大部分由 AI 生成,但我进行了所有的头脑风暴、编写了部分代码、进行了测试等。
修改数值
- 击杀分值:elo/kill.mcfunction,以及“向下击杀”的折扣在 elo/discount.mcfunction
- 死亡调整:elo/death.mcfunction
- 图腾掉落奖励:pop/reward.mcfunction
- 各等级所需点数:check.mcfunction 中的 “matches” 行列表 以及 season/final_tier.mcfunction(保持两者一致)
- 颜色和前缀:load.mcfunction
测试
- /scoreboard players set @s players 600
- /scoreboard players set @s deaths 600
测试后请记得重置自己!
重置自己
/function tiers:resetme 或 /trigger resetme(它会要求你通过 /trigger resetme set 2 进行确认)
重置所有人
这将删除所有人的击杀、死亡、图腾掉落、等级以及所有赛季和排行榜,然后重新开始第 1 赛季。此操作不可撤销。清空队伍的操作是为了清除离线玩家的前缀,请不要跳过这一步。
/function tiers:reset
或者使用 /trigger reset,这仅对有 admin 标签的玩家有效(/tag <name> add admin),并且同样要求你通过 /trigger reset set 2 进行确认。




Hardcore Tiers
Automatic pvp ranks for your server/hosted world. All players earn a tier prefix (from LT5 to HT1+) that shows in chat, the tab list and above their head, with their elo under their name. Ranks go up and down on their own based on kills, deaths and totem pops, and you can run timed seasons with a leaderboard, soft reset and rewards.
How it works
Everyone has an elo (points) score. It's elo style, so who you kill and who kills you matters, not just the count.
- Kill: +10 for an unranked player, more for a ranked victim (see below)
- Death: -15, plus or minus a bit depending on who killed you
- Totem pop: -15 for you. If another player popped your totem right after hitting you, they get +5 plus your tier (max +14)
- Non-player deaths are a flat -15
You need a 1.5 "kd" just to break even, so dying a lot cancels out farming kills. Elo can go negative, you just won't have a rank until you're back over 600.
Kill values (by victim's tier)
Unranked 10, LT5 15, HT5 20, LT4 30, HT4 35, LT3 45, HT3 55, LT2 70, HT2 85, LT1 100, HT1 150, HT1+ 300
Killing someone ranked below you is worth less: 85% for 1 tier lower, then 70%, 55%, 40% and 25% for 5+ tiers lower (never under 5). Killing up is always worth the full value, so killing an HT1+ as an LT5 gets you 300.
Deaths
Dying to someone lower ranked than you costs extra (3 per tier of gap, max +15, so up to -30 total). Dying to someone higher costs less (3 less per tier, max 10 less, so as little as -5).
Kill streaks
Chat announces you at a 3 kill streak, then every 5 kills from 5. It also announces when a streak of 5 or more gets ended.
Tiers
Tiers are based on elo, inspired by mctiers:
- LT5: 600
- HT5: 1150
- LT4: 2150
- HT4: 3200
- LT3: 4200
- HT3: 6100
- LT2: 8200
- HT2: 12000
- LT1: 19000
- HT1: 24000
- HT1+: 56000, the top rank
Ranking up plays a level up sound, shows a title and announces it in chat, while ranking down shows an actionbar message. Dropping under 600 removes your rank. This works in hardcore where a death is permanent and totem pops count as spent lives.
Players can check their own stats with /trigger rank.
Seasons
Seasons are optional and fully manual. Datapacks have no real world clock, so you end a season yourself when you want to.
- First time: run
/function tiers:season/startonce. Whatever points everyone has right now becomes season 1. - End a season:
/function tiers:season/end. It announces the new season, starts a fresh leaderboard on the sidebar, and everyone gets reset (see below). - Soft reset: everyone who played the season that just ended keeps 25% of their final elo. Change it with
/scoreboard players set #carrypct const 0(0 = full reset) or any other percent. - Rewards: finishing a season at a rank gives you a "Season Finisher" advancement (LT5 to HT1+). Put your own rewards (items, commands) in
season/reward_hook.mcfunction. - Hall of fame: every season gets its own sidebar leaderboard that includes offline players. Show an old one with
/function tiers:season/hof {n:1}, the current one with/function tiers:season/live, hide it with/function tiers:season/hof_hide. - Offline players get their reset, rewards and carry-over the next time they log in, so nobody misses out.
Seasons are new, so if something breaks please tell me.
Install
- Put the zip in world/datapacks/
- Do the /reload command
- Check /datapack list for file/tiers
- Run
/function tiers:season/startonce (only needed for seasons)
Made and tested with 1.21.11 ONLY. I listed 1.21.5-1.21.10 because MAYBE it works since they're similar versions. There are no dependencies since it's made as a plain datapack (that i DID test) and packaged as a mod (which i DIDN'T test, so good luck lol).
Good to know
- Existing players keep their kills. Deaths and pops only count from the moment you install it, nobody gets wiped.
- All deaths count, not just PvP ones.
- Totem pops can't tell what caused them, so a pop from lava or a creeper costs the same as one from a player.
- It uses teams for the prefixes (lt5 to ht1plus). A player can only be on one team, so it will override any team they were already on.
- I used AI for much of the code, but I did all the brainstorming, some of the code, tested it etc.
Changing the numbers
- Kill values: elo/kill.mcfunction, and the "killing down" discount in elo/discount.mcfunction
- Death adjustment: elo/death.mcfunction
- Totem pop reward: pop/reward.mcfunction
- Points per tier: the list of "matches" lines in check.mcfunction and season/final_tier.mcfunction (keep both the same)
- Colors and prefixes: load.mcfunction
Testing
- /scoreboard players set @s players 600
- /scoreboard players set @s deaths 600
Make sure to reset yourself after testing!
Reset yourself
/function tiers:resetme or /trigger resetme (it asks you to confirm with /trigger resetme set 2)
Reset all
This deletes everyone's kills, deaths, pops, ranks and every season and leaderboard, then starts season 1 again. It can't be undone. The team empty stuff is what clears the prefix for players that are offline so don't skip them.
/function tiers:reset
Or /trigger reset, which only works for players with the admin tag (/tag <name> add admin) and also asks you to confirm with /trigger reset set 2.




下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Tiers
下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Tiers
下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Tiers
下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Tiers
下载 PVP Tiers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
resetme 功能仅对具有管理员标签的玩家生效
resetme 功能仅对具有管理员标签的玩家生效
- 在 Elo 值变化时显示动作栏消息
- 击败其他玩家后添加 Elo
实际上显示的是负数 ELO,而不是进行钳位处理。
按层级划分的玩家击杀现在会给予额外分数
LT5:5 分 HT5:10 分 LT4:20 分 HT4:25 分 LT3:35 分 HT3:45 分 LT2:60 分 HT2:75 分 LT1:90 分 HT1:140 分 HT1+:290 分
LT1 - HT1+ 的点数等级有所变化。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧