- 版权类型
- 转载
- 插件英文名称
- AFKZone
- 支持的核心
- Spigot
- 资源语言
- 英语
- 适配版本
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
- 1.20
- 1.20.6
- 1.21
[MD]![插件介绍图](https://proxy.spigotmc.org/698f70ae97c1f83a0fa4db1504c7afa590f0b25d?url=https%3A%2F%2Fi.imgur.com%2FvNCdEai.png)
* [Discord](https://discord.gg/ZX8NxJBTq2)
让玩家获得挂机奖励!在玩家踏入预先设置好的挂机区域之后,他们可以通过挂机获得奖励。配置文件中还有更多可供设置的选项!
``` YAML
settings:
# 可填入类型: actionBar, title
actionType: "actionBar"
rewards:
1: # 这个键用于等级名称 - 必须为数字且需要从小到大排列!
duration: 15m # 该等级所需挂机时间
commands: # 总是执行的命令
- "msg %player% AFKZONE | 你收到了一阶奖励!"
# - "eco give %player% 1000"
rewards: # 有 % 几率执行的命令
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
2:
duration: 30m
commands:
- "msg %player% AFKZONE | 你收到了二阶奖励!"
# - "eco give %player% 2500"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
3:
duration: 60m
commands:
- "msg %player% AFKZONE | 你收到了三阶奖励!"
# - "eco give %player% 5000"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
```[/MD]
* [Discord](https://discord.gg/ZX8NxJBTq2)
让玩家获得挂机奖励!在玩家踏入预先设置好的挂机区域之后,他们可以通过挂机获得奖励。配置文件中还有更多可供设置的选项!
``` YAML
settings:
# 可填入类型: actionBar, title
actionType: "actionBar"
rewards:
1: # 这个键用于等级名称 - 必须为数字且需要从小到大排列!
duration: 15m # 该等级所需挂机时间
commands: # 总是执行的命令
- "msg %player% AFKZONE | 你收到了一阶奖励!"
# - "eco give %player% 1000"
rewards: # 有 % 几率执行的命令
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
2:
duration: 30m
commands:
- "msg %player% AFKZONE | 你收到了二阶奖励!"
# - "eco give %player% 2500"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
3:
duration: 60m
commands:
- "msg %player% AFKZONE | 你收到了三阶奖励!"
# - "eco give %player% 5000"
rewards:
- "50:give %player% minecraft:diamond_block 1"
- "25:give %player% minecraft:emerald_block 1"
```[/MD]