
多人合作,让你的多人 Minecraft 服务器升级,以解锁功能和奖励!
功能
- 通过正常游戏获得经验值来提升多人服务器的等级
- 为提升世界等级的玩家提供奖励:
- 物品
- 增加世界边界
- 权限、组别和货币(需要 Vault)
- 根据世界等级控制玩家的访问权限:
- 建造下界或末地传送门
- 挖掘方块
- 放置方块
- 合成物品
- 在世界等级提升时触发任意命令
- 高度 可定制,拥有完整的配置 架构
- 添加全局或按等级划分的自定义经验来源
- 按照你的喜好精确调整升级曲线
- 指定每个世界的等级组或多个世界的组别
- 从插件中排除某些世界
- 支持无限等级扩展和奖励
- 可选择为离线或新玩家因等级提升而提供奖励
- 可定制的消息,支持 MiniMessage
格式
- 可选地添加 Vault 以与所选的 权限和经济插件完全集成

展示升级、下界访问和世界边界增加的 GIF
可定制的服务器经验条

升级提示
配置
此插件可能需要配置后才能对你有用。
默认配置文件会自动为你创建,但你也可以在这里找到它
here。如果你的文本编辑器
支持 JSON/YAML schemas,你还将获得配置
自动补全建议和代码检查。
你可以在这里找到更详细的示例
配置 here。
配置示例
这些是针对 levels 部分的配置片段。
等级范围和所需经验值的运作方式
levels:
'1':
# 等级 1 始终需要 0 经验值
xp: 0.0
'2':
# 等级 2 需要 100 经验值才能达到
xp: 100.0
'3':
xpStep:
# 等级 3 在前一需求基础上加 50,使其达到 150 经验值
add: 50.0
'4':
xpStep:
# 等级 4 将前一需求乘以 2,使其达到 300 经验值
mult: 2.0
'5-10':
xpStep:
# 等级 5-10 在前一需求基础上加 50,因此每个等级的需求如下:
# 等级 5 需要 350
# 等级 6 需要 400
# 等级 7 需要 450
# 等级 8 需要 500
# 等级 9 需要 550
# 等级 10 需要 600
add: 50.0
'11-':
# 等级 11 及之后(无限扩展)需要 1000 经验值才能达到
xp: 1000.0
在开始时锁定下界和末地,并在服务器分别达到等级 2 和 3 时解锁它们
levels:
'1':
xp: 0.0
# 最初禁止使用下界和末地传送门
allowEnd: false
allowNether: false
'2':
xp: 2000.0
# 在等级 2 时下界传送门解锁
allowNether: true
titles:
- title: <red>Nether</red> <green>unlocked!</green>
'3':
xp: 4000.0
# 在等级 3 时末地传送门解锁
allowEnd: true
titles:
- title: <light_purple>The End</light_purple> <green>unlocked!</green>
'4-':
xp: 8000.0
给予玩家不同的物品,并解锁合成和挖矿
levels:
'1':
xp: 0.0
items:
IRON_INGOT: 1
levels:
crafting:
DIAMOND_HELMET: false
DIAMOND_CHESTPLATE: false
DIAMOND_LEGGINGS: false
DIAMOND_BOOTS: false
mining:
DIAMOND_ORE: false
placing:
DIAMOND_ORE: false
'2':
xp: 2000.0
items:
COPPER_INGOT: 1
# crafting: 在此处省略,因为默认情况下所有合成都是允许的
# 所以在等级 2,玩家可以合成钻石装备
# mining: 和 placing: 也出于相同原因省略
'3-4':
xp: 4000.0
items:
# 由于 '3-4' 是一个范围,这将为等级 3 和 4 都奖励一个钻石
DIAMOND: 1
'5-':
xp: 8000.0
items:
# 由于 '5-' 是无限扩展的,这将从等级 5 开始每级奖励一个下界合金锭
NETHERITE_INGOT: 1
如何为每个等级操作世界边界。
levels:
'1':
xp: 0.0
# 将世界边界初始半径设置为 128,中心位于 0,0
worldBorder:
radius: 128
center:
x: 0
z: 0
'2':
xp: 2000.0
# 将达到 2 级时世界边界的半径设置为 256
worldBorder:
radius: 256
radiusChangeIntervalTicks: 20 # 边界扩展需 1 秒
'3':
xp: 4000.0
# 将达到 3 级时世界边界的半径增量加到上一级的半径上,使其变为 512
worldBorder:
radiusStep:
add: 256
radiusChangeIntervalTicks: 200 # 边界扩展需 10 秒
'4-':
xp: 8000.0
# 将达到 4 级及以后等级时世界边界的半径乘以之前的半径,使其变为 768、1152、1728,依此类推
worldBorder:
radiusStep:
mult: 1.5
为特定等级发放权限、分组和货币(需要 Vault)
levels:
'1':
xp: 0.0
'2':
xp: 2000.0
# 向所有玩家分配 'mypermission.one' 权限
permissions:
- "mypermission.one"
# 向所有玩家发放 50.0 货币
currency:
add: 50.0
'3':
xp: 4000.0
# 向所有玩家分配 'mypermission.two' 权限
permissions:
- "mypermission.two"
# 将所有玩家的当前货币乘以 2
currency:
mult: 2.0
'4':
xp: 8000.0
# 将所有玩家添加到 'mygroup' 分组
groups:
- "mygroup"
升级时运行命令
levels:
'1':
xp: 0.0
'2':
xp: 2000.0
# 通过服务器控制台运行 'time set day' 命令
commands:
- "time set day"
'3':
xp: 4000.0
# 通过服务器控制台运行 'say You leveled up!' 命令
commands:
- "say You leveled up!"
要求服务器玩家共同挖掘一定数量的不同等级的矿石以达到下一级。
levels:
'1':
xp: 0.0
xpWeights:
# 这使得没有任何原版经验源贡献世界等级经验
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true # 设置此项以防止用精准采集挖矿时获得经验
playerMine:
COAL_ORE: 1 # 每挖掘一块煤矿石奖励 1 点经验
'2':
xp: 100.0 # 需要挖掘 100 块煤矿石(在 1 级中定义)才能达到此等级
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
COPPER_ORE: 1
'3':
xp: 200.0 # 需要挖掘 200 块铜矿石(在 2 级中定义)才能达到此等级
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
IRON_ORE: 1
'4':
xp: 300.0 # 需要挖掘 300 块铁矿石(在 3 级中定义)才能达到此等级
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
DIAMOND_ORE: 1
'5':
xp: 400.0 # 需要挖掘 400 块钻石矿石(在 4 级中定义)才能达到此等级
基于世界指定等级并共享奖励
groups:
WorldGroup:
name: The Overworld
# 此分组仅适用于名为 "world" 的世界
worlds:
- world
# 当此分组升级时,它将把物品和权限奖励分享给列出的分组中的玩家
rewardOtherGroups:
- NetherGroup
- EndGroup
# 当玩家首次加入该分组时,给予他们过去的奖励
rewardNewPlayers: true
# 当玩家离线后重新加入该分组时,给予他们过去的奖励
rewardOffline: true
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
# 每个等级,这将奖励任何分组中的每位玩家一个金锭,这是由于 rewardOtherGroups 的缘故
items:
GOLD_INGOT: 1
NetherGroup:
name: The Nether
worlds:
- world_nether
rewardOtherGroups:
- WorldGroup
- EndGroup
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
EndGroup:
name: The End
worlds:
- world_the_end
rewardOtherGroups:
- NetherGroup
- WorldGroup
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
消息
默认的消息文件会自动为您创建,但您也可以在此处找到它 here。如果您的文本编辑器支持 JSON/YAML schemas,您还将获得配置自动补全建议和语法检查提示。
消息支持 MiniMessage,并提供以下自定义替换占位符:
| Replacement |
Description |
<level> |
当前世界等级 |
<relative_xp> |
相对于当前等级需求的当前经验值数量 |
<level_xp> |
达到下一等级所需的经验值 |
<total_xp> |
绝对总当前经验值 |
<group_name> |
等级分组的名称 |
<version> |
插件版本 |
<modrinth> |
插件的 Modrinth URL |
<click-modrinth></click-modrinth> |
使内部文本可点击以链接至 Modrinth URL |
权限
| 权限 |
描述 |
worldlevels.earn.exempt |
禁止玩家获得世界等级经验(默认情况下,所有玩家都会获得经验) |
worldlevels.help |
访问 worldlevels help 命令 |
worldlevels.reload |
访问 worldlevels reload 命令 |
worldlevels.reset.all |
访问 worldlevels reset all 命令 |
worldlevels.reset.rewards |
访问 worldlevels reset rewards 命令 |
worldlevels.update |
访问 worldlevels update 命令 |
worldlevels.version |
访问 worldlevels version 命令 |
worldlevels.xp.add |
访问 worldlevels xp add 命令 |
worldlevels.xp.get |
访问 worldlevels xp 命令 |
worldlevels.xp.set |
访问 worldlevels xp set 命令 |
命令
以下所有命令均需以 worldlevels 为前缀。例如:worldlevels help。
尖括号 < > 中的参数为必填项,方括号 [ ] 中的参数为可选项。
| 命令 |
描述 |
help |
显示命令列表 |
reload |
重新加载插件配置并从文件保存 |
xp |
获取当前的总经验和等级 |
xp add <xp> |
向总经验中添加指定数量的经验,支持负数 |
xp set <xp> |
将总经验设置为指定数量 |
update |
检查插件更新 |
version |
打印插件版本 |
reset all |
将总经验重置为 0,并允许所有玩家重新获得奖励 |
reset rewards [player] |
重置指定玩家(或所有玩家)的奖励,使其能够重新获得过往等级的奖励 |
指标统计
本插件通过 bStats 收集匿名化的使用统计数据。许多插件都使用 bStats,它能为开发提供有用的统计信息,但你可以在服务器的 bStats config.yml 中禁用它。
除了默认收集的统计数据外,World Levels 还会统计少量额外数据,以便更好地了解该插件的使用情况。这些数据包括:
- 你的服务器使用的等级组数量
- 每个等级组中世界的平均数量
- 每个等级组中等级的平均数量

Work together to level up your multiplayer Minecraft server to unlock features and rewards!
Features
- Level up your multiplayer server by gaining XP through normal gameplay
- Reward your players for leveling up the world with:
- Items
- Increasing the world border
- Permissions, groups, and currency (requires Vault)
- Control what players can access based on World Level:
- Building Nether or The End portals
- Mining blocks
- Placing blocks
- Crafting items
- Trigger any command upon world level up
- Highly customizable with a full config schema
- Add custom XP sources globally or at a per-level basis
- Scale leveling exactly to your liking
- Specify groups of levels per-world or groups of worlds
- Exclude certain worlds from the plugin
- Support for infinite level scaling and rewards
- Optionally reward offline or new players for level gains
- Customizable messages, with MiniMessage
formatting support
- Optionally add Vault for full integration with your permission and economy plugin of choice

GIF showing leveling up, Nether access, and world border increases
Customizable Server XP Bar

Level Up Alerts
Configuration
This plugin likely requires configuration before it can be useful to you.
The default configuration file will be created for you, but it can also be found
here. If your text editor
supports JSON/YAML schemas, you will also get configuration
autocomplete suggestions and linting.
You can find a more detailed example
config here.
Config Examples
These are partial configurations for the levels section specifically.
How level ranges and XP requirements work
levels:
'1':
# level 1 should always require 0 XP
xp: 0.0
'2':
# level 2 requires 100 XP to get to
xp: 100.0
'3':
xpStep:
# level 3 adds 50 to the previous requirement, making it 150 XP to get to
add: 50.0
'4':
xpStep:
# level 4 multiplies the previous requirement by 2, making it 300 XP to get to
mult: 2.0
'5-10':
xpStep:
# levels 5-10 adds 50 to the previous requirement, making the following for each:
# level 5 requires 350
# level 6 requires 400
# level 7 requires 450
# level 8 requires 500
# level 9 requires 550
# level 10 requires 600
add: 50.0
'11-':
# Level 11 and beyond (scales infinitely) requires 1000 XP to get to
xp: 1000.0
Lock the Nether and The End at the start, and unlock them when the
server reaches level 2 and 3, respectively
levels:
'1':
xp: 0.0
# Prevent Nether and End portals from being used initially
allowEnd: false
allowNether: false
'2':
xp: 2000.0
# Unlock Nether portals at level 2
allowNether: true
titles:
- title: <red>Nether</red> <green>unlocked!</green>
'3':
xp: 4000.0
# Unlock End portals at level 3
allowEnd: true
titles:
- title: <light_purple>The End</light_purple> <green>unlocked!</green>
'4-':
xp: 8000.0
Award players with different items, and unlock crafting and mining
levels:
'1':
xp: 0.0
items:
IRON_INGOT: 1
levels:
crafting:
DIAMOND_HELMET: false
DIAMOND_CHESTPLATE: false
DIAMOND_LEGGINGS: false
DIAMOND_BOOTS: false
mining:
DIAMOND_ORE: false
placing:
DIAMOND_ORE: false
'2':
xp: 2000.0
items:
COPPER_INGOT: 1
# crafting: is omitted here because by default all crafting is allowed
# so, at level 2, players can craft diamond armor
# mining: and placing: are omitted for the same reason
'3-4':
xp: 4000.0
items:
# Since '3-4' is a range, this awards a diamond for both levels 3 and 4
DIAMOND: 1
'5-':
xp: 8000.0
items:
# Since '5-' scales infinitely, this awards a netherite ingot every single
# level from 5 onwards
NETHERITE_INGOT: 1
How you can manipulate the world border for each level.
levels:
'1':
xp: 0.0
# Sets the initial world border to have a radius of 128, centered at 0,0
worldBorder:
radius: 128
center:
x: 0
z: 0
'2':
xp: 2000.0
# Sets the radius of the world border for achieving level 2 at 256
worldBorder:
radius: 256
radiusChangeIntervalTicks: 20 # 1 second to grow the border
'3':
xp: 4000.0
# Adds the radius of the world border for achieving level 3 to the previous
# radius, making it 512
worldBorder:
radiusStep:
add: 256
radiusChangeIntervalTicks: 200 # 10 seconds to grow the border
'4-':
xp: 8000.0
# Multiplies the radius of the world border for achieving level 4 and onward
# to the previous radius, making it 768, 1152, 1728, and so on
worldBorder:
radiusStep:
mult: 1.5
Award permissions, groups, and currency for certain levels (requires Vault)
levels:
'1':
xp: 0.0
'2':
xp: 2000.0
# Assigns 'mypermission.one' to all players
permissions:
- "mypermission.one"
# Gives all players 50.0 currency
currency:
add: 50.0
'3':
xp: 4000.0
# Assigns 'mypermission.two' to all players
permissions:
- "mypermission.two"
# Multiply all player's current currency by 2
currency:
mult: 2.0
'4':
xp: 8000.0
# Adds all players to the 'mygroup' group
groups:
- "mygroup"
Run commands on level up
levels:
'1':
xp: 0.0
'2':
xp: 2000.0
# Runs the 'time set day' command via the server console
commands:
- "time set day"
'3':
xp: 4000.0
# Runs the 'say You leveled up!' command via the server console
commands:
- "say You leveled up!"
Require the server's players to collectively mine a certain amount of
different tiers of ore to get to the next level.
levels:
'1':
xp: 0.0
xpWeights:
# This makes it so no vanilla XP sources contribute world level XP
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true # set this to prevent XP gains for mining with silk touch
playerMine:
COAL_ORE: 1 # Awards 1 XP for each coal ore mined
'2':
xp: 100.0 # requires 100 coal ore mined (defined in level 1) to get this level
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
COPPER_ORE: 1
'3':
xp: 200.0 # requires 200 copper ore mined (defined in level 2) to get this level
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
IRON_ORE: 1
'4':
xp: 300.0 # requires 300 iron ore mined (defined in level 3) to get this level
xpWeights:
DEFAULT: 0.0
customXPSources:
mineIgnoresSilkTouch: true
playerMine:
DIAMOND_ORE: 1
'5':
xp: 400.0 # requires 400 diamond ore mined (defined in level 4) to get this level
Specify levels based on world and share rewards
groups:
WorldGroup:
name: The Overworld
# This group only applies to the world named "world"
worlds:
- world
# When this group levels up, it will share items and permission rewards to players in
# the groups listed
rewardOtherGroups:
- NetherGroup
- EndGroup
# Rewards players past rewards when they join the group for the first time
rewardNewPlayers: true
# Rewards players past rewards when they join the group after being offline
rewardOffline: true
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
# Every level, this will reward every player in any of the groups a
# gold ingot, due to rewardOtherGroups
items:
GOLD_INGOT: 1
NetherGroup:
name: The Nether
worlds:
- world_nether
rewardOtherGroups:
- WorldGroup
- EndGroup
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
EndGroup:
name: The End
worlds:
- world_the_end
rewardOtherGroups:
- NetherGroup
- WorldGroup
levels:
"1-":
xp: 0.0
xpStep:
add: 100.0
Messages
The default messages file will be created for you, but it can also be found
here. If your text editor
supports JSON/YAML schemas, you will also get configuration
autocomplete suggestions and linting.
Messages support MiniMessage, and have the following custom replacements available:
| Replacement |
Description |
<level> |
Current world level |
<relative_xp> |
Amount of current XP relative to the current level requirements |
<level_xp> |
XP requirement to reach the next level |
<total_xp> |
Absolute total current XP |
<group_name> |
Name of the level group |
<version> |
Plugin version |
<modrinth> |
Plugin Modrinth URL |
<click-modrinth></click-modrinth> |
Makes inner text clickable for the Modrinth URL |
Permissions
| Permission |
Description |
worldlevels.earn.exempt |
Prohibit the player from gaining World Levels XP (by default, all players earn XP) |
worldlevels.help |
Access to the worldlevels help command |
worldlevels.reload |
Access to the worldlevels reload command |
worldlevels.reset.all |
Access to the worldlevels reset all command |
worldlevels.reset.rewards |
Access to the worldlevels reset rewards command |
worldlevels.update |
Access to the worldlevels update command |
worldlevels.version |
Access to the worldlevels version command |
worldlevels.xp.add |
Access to the worldlevels xp add command |
worldlevels.xp.get |
Access to the worldlevels xp command |
worldlevels.xp.set |
Access to the worldlevels xp set command |
Commands
All the following are prefixed with worldlevels. For example, worldlevels help.
Arguments in <> are required, arguments in [] are optional.
| Command |
Description |
help |
Shows a list of commands |
reload |
Reload the plugin configuration and save from file |
xp |
Gets the current XP total and level |
xp add <xp> |
Add the given amount of XP to the total, supports negatives |
xp set <xp> |
Sets the total XP to the given amount |
update |
Checks for plugin updates |
version |
Prints the plugin version |
reset all |
Resets total XP back to 0 and allows all players to regain rewards |
reset rewards [player] |
Resets rewards for the given player (or all players), allowing them to regain rewards for past levels |
Metrics
This plugin collects anonymized usage statistics via bStats. bStats is used by many plugins and provides
useful statistics for development, but it can be disabled in the bStats config.yml for your server.
In addition to the default stats collected, World Levels also counts a few stats to better gauge how the plugin is used.
These are:
- The number of level groups your server uses
- The average number of worlds in each level group
- The average number of levels in each level group
评论 0
登录后参与评分
还没有评论,来抢沙发吧