873
收录服务器
1105
注册
28 660
玩家
ADDON BedWars1058奖励指令
根据游戏事件执行命令:当有人获胜等。
作 者 andrei1058
发布时间 2018年4月6日
支持核心 Spigot
原生版本
支持版本 1.8,1.12,1.16,1.17,1.18,1.19,1.20
点此下载

🎉 BedWars1058-EventCommand 插件是一个 BedWars1058 小游戏的附加组件,它允许在游戏结束时对获胜队伍的玩家执行命令。此外,它还能在发生终结击杀时,对击杀者和受害者分别执行命令。命令可以由控制台或玩家自身执行。

🎉 BedWars1058-EventCommand

🛠️ 简介

  • 原生 Minecraft 版本: 1.13
  • 已测试 Minecraft 版本: 1.8, 1.12, 1.16, 1.17, 1.18, 1.19, 1.20
  • 源码: GitHub

本插件为 BedWars1058 小游戏的附加组件。

⚙️ 配置

配置文件路径: plugins/BedWars1058/Addons/Cmds/config.yml


# ######################################################################################################################
# BedWars1058-EventCommand by Andrei1058
# This is an add-on for BedWars1058 minigame which allows to run commands when a game is ended
# so they will be executed for players in the winner team.
# It can also execute commands when there is a finnal kill for the victim both the killer.
# Commands can be executed by console or player itself.
#
# Permissions:
#   - bw.event.use - Allow player to use /event command
# ######################################################################################################################

# Set this to true if you want to enable the event command
# Event command is used to set the event on the arena like a multiplier
enable-event-command: false

# Event command settings
event-command:
  # Command alias
  command: "event"
  # Command permission
  permission: "bw.event.use"
  # Command description
  description: "Set event on the arena"
  # Command usage
  usage: "/event <multiplier>"
  # Command no permission message
  no-permission: "&cYou don't have permission to use this command!"
  # Command invalid argument message
  invalid-argument: "&cInvalid argument! Usage: /event <multiplier>"
  # Command success message
  success: "&aEvent set to &e%multiplier%&a!"
  # Available multipliers
  multipliers:
    "2x": 2
    "3x": 3
    "4x": 4
    "5x": 5

# Here you can set the commands that will be executed when the game is ended
# You can set as many commands as you want
game-end:
  # Commands that will be executed by console
  console:
    - "eco give %player_name% 1000"
    - "say %player_name% won the game!"
  # Commands that will be executed by player
  player:
    - "give %player_name% diamond 1"

# Here you can set the commands that will be executed when a player is killed by another player
# victim: The player who died
# killer: The player who killed the victim
final-kill:
  # Commands that will be executed by console
  console:
    - "eco give %killer_name% 500"
    - "say %killer_name% killed %victim_name%!"
  # Commands that will be executed by player
  player:
    - "give %killer_name% diamond 1"

🔑 权限

  • bw.event.use - 允许玩家使用 /event 命令

📜 命令

  • /event <multiplier> - 设置竞技场的事件倍率 (如果 enable-event-command 设置为 true)。