
AdvancementPlus 是一个简单的插件,允许服务器管理员为完成进度(advancements)的玩家提供奖励。它还内置了为完成所有进度的玩家提供奖励的功能。
关于初始设置的重要信息:
- 执行命令
/gamerule show_advancement_messages false
- 否则进度消息会显示两次,一次来自 Minecraft,另一次来自此插件。
命令:
/advancementplus [help] - 获取命令列表和用法说明
/advancementplus reload - 重新加载配置文件
/advancementplus test <advancement/challenge> [player] - 为自己或可选地为其他玩家运行进度/挑战的测试奖励。测试消息仅对执行命令的玩家显示。
此插件非常轻量级,你可以在配置文件中配置所有奖励。
你可以为奖励添加任意数量的命令。
示例:
- 你可以为玩家完成进度时给予经验值,但为玩家完成挑战时给予特殊物品。
- 对于完成所有进度的奖励(当玩家完成所有进度时),你可以给予他们一个特殊的标签或等级,以展示他们的完成情况。
默认配置文件:
AdvancementPlus:
rewards:
# 每一行代表一条从控制台发送的命令
# 支持使用 '&' 符号的颜色代码
# 可用的占位符:
# %player% - 完成进度的玩家
# %totalCompleted% - 玩家已完成的进度总数
# %totalRemaining% - 玩家剩余的进度总数
# %totalAdvancements% - 服务器的进度总数。
# %advancement% - 进度名称,包含悬停提示
# %advancementNoFormat% - 进度名称,不包含颜色或悬停文本
# ap-broadcast 是内部广播的前缀,这是为了保持整洁统一的广播,而不是
# 依赖另一个不同插件的广播命令,你当然可以将其更改为
# 自己的广播命令
# 特定于进度的奖励 - 绿色的进度
advancement:
- 'ap-broadcast &a%player% &f完成了进度 &a[%advancement%&a]&f - &e[&7%totalCompleted%&8/&7%totalAdvancements%&e]'
# 特定于挑战的奖励 - 深紫色的进度
challenge:
- 'ap-broadcast &a%player% &f完成了挑战 &a[%advancement%&a]&f - &e[&7%totalCompleted%&8/&7%totalAdvancements%&e]'
# 特定于完成所有进度和挑战的奖励
# 这些奖励会在进度/挑战奖励的基础上额外执行。
# %advancement% 的悬停操作在这些奖励中无效。
completion:
- 'ap-broadcast &a%player% &f完成了全部 &a进度 &f和 &5挑战&f!'

AdvancementPlus is a simple plugin that adds the ability for server owners to give rewards to players for completing advancements. It also has a built in ability to give rewards to players that complete all the advancements.
IMPORTANT INFORMATION REGARDING INITIAL SETUP:
- Run the command
/gamerule show_advancement_messages false
- Otherwise the advancement message will show twice, one from Minecraft, the other from this plugin.
Commands:
/advancementplus [help] - Get list of commands and usage
/advancementplus reload - Reload config file
/advancementplus test <advancement/challenge> [player] - Run a test reward for an advancement/challenge for yourself, or optionally on another player. Test messages are only shown for the player that runs the command.
This plugin is super lightweight, you can configure all the rewards in the config file.
You can add as many commands as you like to the rewards.
Examples:
- You can give XP to players for completing advancements, but give special items to players that complete challenges.
- For the completion reward (when a player completes all advancements) you can give them a special tag or rank to show off their completion status.
Default config file:
AdvancementPlus:
rewards:
# Each line represents a command to send from console
# Supports color codes with the '&' symbol
# Available placeholders:
# %player% - The player that made the advancement
# %totalCompleted% - The player's total number of completed advancements
# %totalRemaining% - The player's total remaining advancements
# %totalAdvancements% - The total number of advancements for the server.
# %advancement% - The advancement name, including the hover
# %advancementNoFormat% - The advancement name, without color or hover text
# ap-broadcast is the prefix for the internal broadcast, this is to keep a clean and uniform broadcast rather than
# relying on another broadcast command for a different plugin, you of course can change to this to
# your own broadcast command
# Specific to advancements - The green advancements
advancement:
- 'ap-broadcast &a%player% &fhas made the advancement &a[%advancement%&a]&f - &e[&7%totalCompleted%&8/&7%totalAdvancements%&e]'
# Specific to challenges - The dark purple advancements
challenge:
- 'ap-broadcast &a%player% &fhas completed the challenge &a[%advancement%&a]&f - &e[&7%totalCompleted%&8/&7%totalAdvancements%&e]'
# Specific to the completion of all advancements and challenges
# These rewards execute in addition to the advancement/challenge rewards.
# The hover action for %advancement% does not work in these rewards.
completion:
- 'ap-broadcast &a%player% &fhas completed ALL &aAdvancements &fand &5Challenges&f!'
评论 0
登录后参与评分
还没有评论,来抢沙发吧