EnfAfkZone

通过奖励来增加你的玩家数量,奖励久留在线的玩家!进入AFK区域的玩家将因持续在线而获得奖励,从而增加你服务器的活跃度。

资源图片
增加玩家数量,通过奖励AFK玩家!进入AFK区域的玩家,因在你的服务器上线而获得奖励。 权限:enf.afkzone.permission 插件包含使用命令创建AFK区域、可视化区域、在聊天、标题、Boss栏或操作栏显示消息、设置时间格式、配置进度条、调整Boss栏方向(递增或递减)、在进入或退出AFK区域时显示消息、基于权限、概率设置奖励、以及在一个位置支持多个AFK区域的功能。 如需帮助,使用命令:**/afkzone help** 如需热重载配置,使用命令:**/afkzone reloadconfig** **config.yml** ```yaml # EnfAfkZone 配置 # 作者: xEnif # 请勿删除这些值 # 项目版本: 2.8 # 请勿删除这些值 help-command: - '' - <#00fff7>⎯ ⎯ ⎯ [ <#00ffcc>AFKZONE 帮助 ] ⎯ ⎯ ⎯ - '' - <#00ffe0>点击 以获取 AFKZone 魔杖'>/afkzone wand - 给你 AfkZone 魔杖。 - <#00ffe0>/afkzone create [name] - 使用给定的名称创建新的 AFK 区域。 - <#00ffe0>/afkzone delete [name] - 删除具有给定名称的 AFK 区域。 - <#00ffe0>点击 查看所有 AFK 区域'>/afkzone list - 显示所有 已创建的 AFK 区域的列表。 - <#00ffe0>/afkzone tp [name] - 将你传送到指定的 AFK 区域。 - <#00ffe0>/afkzone reloadconfig - 重新加载 AFK 区域 配置。 - '' afk-zone-enter: type: TITLE enabled: true message: - <#00ffcc>你已进入 AFK 区域! - 你现在被标记为 AFK。 options: title-times: fade-in: 0 stay: 3 fade-out: 1 afk-zone-exit: type: TITLE enabled: true message: - <#00ffcc>你已离开 AFK 区域! - 你不再是 AFK。 options: title-times: fade-in: 0 stay: 3 fade-out: 1 wand-item: type: GOLDEN_HOE amount: 1 display-name: <#b56eff>AfkZone 魔杖 lore: [] enchantments: {} item-flags: - HIDE_ADDITIONAL_TOOLTIP wand-received-message: <#00ff7f>✔ 你已收到 <#b56eff>AfkZone 魔杖! 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** ```yaml # EnfAfkZone 配置 # 作者: xEnif # 请勿删除这些值 # 项目版本: 2.8 # 请勿删除这些值 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: - <#00ffcc>你在 AFK 区域内<#00fff7> ⏳ 奖励将在 <#b56eff>{TIME}<#00fff7> (<#b56eff>{PERCENT}%<#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: - <#00ffcc>你在 AFK 区域内 - <#00fff7>(<#b56eff>{BAR}) 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 ```