通过挂机奖励增加在线玩家数!进入挂机区域的玩家将在服务器保持在线时获得奖励。 权限:enf.afkzone.permission
插件支持使用命令创建挂机区域、可视化区域、在聊天栏、标题、Boss 栏或操作栏显示消息、设置时间格式、配置进度条、调整 Boss 栏方向(递增或递减)、在进入或退出挂机区域时显示消息、基于权限和概率设置奖励,以及在一个位置支持多个挂机区域。
如需帮助请使用命令:/afkzone help
如需热重载配置文件请使用命令:/afkzone reloadconfig
config.yml
# EnfAfkZone configuration
# Author: xEnif
# DON'T DELETE THAT VALUES
# Project Version: 2.8
# DON'T DELETE THAT VALUES
help-command:
- ''
- <#00fff7>⎯ ⎯ ⎯ [ <bold><#00ffcc>AFKZONE HELP</#00ffcc></bold> ] ⎯ ⎯ ⎯
- ''
- <#00ffe0><click:run_command:'/afkzone wand'><hover:show_text:'<bold><gray>Click
to get AFKZone Wand'>/afkzone wand<dark_gray> - </dark_gray><white>Gives you
the AfkZone Wand.
- <#00ffe0>/afkzone create [name]<dark_gray> - </dark_gray><white>Creates a new
AFK zone with the given name.
- <#00ffe0>/afkzone delete [name]<dark_gray> - </dark_gray><white>Deletes the AFK
zone with the given name.
- <#00ffe0><click:run_command:'/afkzone list'><hover:show_text:'<bold><gray>Click
to list all AFK zones'>/afkzone list<dark_gray> - </dark_gray><white>Displays
a list of all created AFK zones.
- <#00ffe0>/afkzone tp [name]<dark_gray> - </dark_gray><white>Teleports you to the
specified AFK zone.
- <#00ffe0>/afkzone reloadconfig<dark_gray> - </dark_gray><white>Reload AFK zone
config.
- ''
afk-zone-enter:
type: TITLE
enabled: true
message:
- <bold><#00ffcc>You have entered an AFK Zone!
- <gray>You are now marked as AFK.
options:
title-times:
fade-in: 0
stay: 3
fade-out: 1
afk-zone-exit:
type: TITLE
enabled: true
message:
- <bold><#00ffcc>You have left the AFK Zone!
- <gray>You are no longer AFK.
options:
title-times:
fade-in: 0
stay: 3
fade-out: 1
wand-item:
type: GOLDEN_HOE
amount: 1
display-name: <!italic><bold><#b56eff>AfkZone Wand
lore: []
enchantments: {}
item-flags:
- HIDE_ADDITIONAL_TOOLTIP
wand-received-message: <#00ff7f>✔ </#00ff7f><green>You have received the </green><bold><#b56eff>AfkZone
Wand</#b56eff></bold><green>!
time-format: '{H}h {M}m {S}s'
progress-bar-format:
symbol-count: 10
symbol: '|'
loading-color: yellow
completed-color: green
update-boss-bar-progress: true
boss-bar-progress-direction: INCREASING
afk-zones.yml
# EnfAfkZone configuration
# Author: xEnif
# DON'T DELETE THAT VALUES
# Project Version: 2.8
# DON'T DELETE THAT VALUES
afk-zones:
test2:
worldName: world
minX: 55
minY: 63
minZ: 23
maxX: 67
maxY: 71
maxZ: 30
rewards:
- permission: ''
chance: 0.0
items:
- type: DIRT
amount: 1
commands: []
- permission: ''
chance: 0.0
items:
- type: DIAMOND_SWORD
amount: 1
lore: []
enchantments: {}
custom-model-data-component-string: customModelData
commands: []
- permission: ''
chance: 0.0
items:
- type: DIRT
amount: 1
commands:
- give {PLAYER} minecraft:dirt 1
message:
type: BOSSBAR
enabled: true
message:
- <bold><#00ffcc>YOU ARE IN AFK<#00fff7> ⏳ Reward in </#00fff7><#b56eff>{TIME}</#b56eff><#00fff7>
(</#00fff7><#b56eff>{PERCENT}%</#b56eff><#00fff7>)
options:
bossbar-options:
color: PURPLE
overlay: PROGRESS
flags:
- CREATE_WORLD_FOG
- DARKEN_SCREEN
time-to-stay: 1m
add-reward-success-sound: ENTITY.ARROW.HIT_PLAYER
test:
worldName: world
minX: 55
minY: 63
minZ: 23
maxX: 66
maxY: 71
maxZ: 29
rewards:
- permission: ''
chance: 0.0
items:
- type: DIRT
amount: 1
commands: []
- permission: ''
chance: 0.0
items:
- type: DIAMOND_SWORD
amount: 1
lore: []
enchantments: {}
custom-model-data-component-string: customModelData
commands: []
- permission: ''
chance: 0.0
items:
- type: DIRT
amount: 1
commands:
- give {PLAYER} minecraft:dirt 1
message:
type: TITLE
enabled: true
message:
- <bold><#00ffcc>YOU ARE IN AFK
- <#00fff7>(<#b56eff>{BAR}</#b56eff>)
options:
bossbar-options:
color: PURPLE
overlay: PROGRESS
flags:
- CREATE_WORLD_FOG
- DARKEN_SCREEN
time-to-stay: 1m
add-reward-success-sound: ENTITY.ARROW.HIT_PLAYER
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧