AdvancedCommandBlocker

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/advancedcommandblocker
资源信息

Minecraft 版本: 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6

平台: bukkit paper spigot

标签: management

资源介绍

? AdvancedCommandBlocker

  • Based on Bukkit and Spigot APIs. Supports Minecraft 1.12.2 to 1.21.1+ and future versions.
  • Professional command interception plugin, extremely flexible, can intercept various commands or Tab-completion through configuration of different rules!

✨ Features

  • ? Block specific commands by exact match, prefix, or regex
  • ? Apply different rules per player group or permission
  • ? Supports PlaceholderAPI and custom deny messages
  • ? Fully configurable via YAML
  • ? Reloadable in-game without restarting the server

⚙️ US Example Configuration

# Commands for the AdvancedCommandBlocker plugin
# /acb reload – Reload the configuration!
# /advancedcommandblocker reload - Reload the configuration!

rules:
  allSubCommands:
    # BLACKLIST mode: block the listed commands
    # WHITELIST mode: only allow the listed commands
    # Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!
    type: BLACKLIST
    # Permission that bypasses this rule; players with this permission will not be blocked
    permission: "cab.allSubCommands"
    # Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders
    blockMessage: "&l&8| &cError &8» &cYou do not have permission to use this command."
    commands:
      # - "/help*"
      # The asterisk (*) blocks all commands starting with /help.
      - "/help*"

  commands:
    # BLACKLIST mode: block the listed commands
    # WHITELIST mode: only allow the listed commands
    # Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!
    type: BLACKLIST
    # Permission that bypasses this rule; players with this permission will not be blocked
    permission: "cab.command"
    # Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders
    blockMessage: "&l&8| &cError &8» &cYou do not have permission to use Bukkit commands."
    commands:
      # - "/bukkit:?"
      # Blocks the exact /bukkit:? command.
      - "/bukkit:?"
      - "/plugins"

  tp:
    # BLACKLIST mode: block the listed commands
    # WHITELIST mode: only allow the listed commands
    # Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!
    type: BLACKLIST
    # Permission that bypasses this rule; players with this permission will not be blocked
    permission: "acb.tpCommand"
    # Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders
    blockMessage: "&l&8| &cError &8» &cYou do not have permission to use the tp command."
    commands:
      # - "/tp <s:t> <s:f>"
      # <s:t> is a true-text placeholder, <s:f> is a false-text placeholder
      # Explanation: A player trying to use /tp player01 player02 will be blocked, but /tp player01 will not be.

      # - "/tp <s:t> <n:t> <n:t> <n:f>"
      # <n:t> is a true-number placeholder, <n:f> is a false-number placeholder
      # The following numeric placeholders are supported: "123", "-45.6", "~", "~0", "~1.23", "1e10", "1.8e308"
      # Explanation: A player trying to use /tp player01 0 0 10 will be blocked, but /tp player01 0 0 will not be.
      #              Players cannot use /tp player01 player02 or /tp player01 0 0 10, but can use /tp 0 0 10 unless you add more specific rules.

      # Use placeholders to indicate which argument position to start blocking (arguments are space-separated; e.g. /tp player01 player02 has three arguments).
      - "/tp <s:t> <s:f>"
      - "/tp <s:t> <n:t> <n:t> <n:f>"

  tab:
    # HIDE_TAB_BLACKLIST: hide tab completions for listed commands (but do not block execution)
    # HIDE_TAB_WHITELIST: only show tab completions for listed commands (but do not block execution)
    # Warning: You cannot configure both HIDE_TAB_BLACKLIST and HIDE_TAB_WHITELIST at the same time; although allowed by YAML, the plugin will conflict!
    type: HIDE_TAB_BLACKLIST
    # Force-close the player's chat input when they press Tab: true = close chat and block Tab; false = do not close but block Tab
    closeChat: false
    # Permission that bypasses this rule; players with this permission will not be blocked when pressing Tab
    permission: "acb.tabCommand"
    # In tab mode, the <s:t>, <s:f>, <n:t>, <n:f> and * placeholders work the same way as in command mode.
    commands:
      - "/tp <n:t> <n:t> <n:f>"
      - "/help*"
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Black Golden Apple But Better

价格:0 墨喵币
下载量:0

查看详情
Character Kill Roleplay

价格:0 墨喵币
下载量:0

查看详情
Kokushibo katana from anime Demin slayer

价格:0 墨喵币
下载量:0

查看详情
SCP-001, When Day Breaks

价格:0 墨喵币
下载量:0

查看详情