COWMODSКаталог модов

ConditionalActions

Custom commands with different types of actions & conditions.

Автор: Tanguygab3273обновлён 27 сент. 2026 г.
Утилиты

Описание

Commands

conditionalactions.admin is required to run commands (will most likely be changed)

  • /ca reload
  • /ca condition list
  • /ca condition check <player|--console>
  • /ca group list
  • /ca group execute <player|--console>
  • /ca execute <player|--console>

Action types

/ca execute <player> and it'll suggest all available actions with their arguments You can also check the code for all supported actions for now until I add a proper documentation. The bungeeplayer & bungeeconsole actions are only available if you install the plugin on BungeeCord as well (a simple drag&drop should suffice)

Default configs

Commands

mycoolcommand:
  aliases:
    - mycoolcmd
    - coolcommand
    - coolcmd
  actions:
    - "msg: <green>Heya <dark_green>%player_name%</dark_green>! Cool command right?"

restart:
  actions:
    - "msg: %conditionalactions_args% %conditionalactions_args-size% %conditionalactions_arg-0% %conditionalactions_arg-1%"
    - condition: "is_op"
      deny:
        - "msg: <red>You don't have the permission to run this command!"
        - return
    - condition: "%conditionalactions_args%!=="
      success:
        - condition: "%conditionalactions_arg-0% >= 1"
          success:
            - "msg: <gray>Restarting the server in <dark_red>%conditionalactions_arg-0%</dark_red> seconds!"
            - "delay: %math_0_{conditionalactions_arg-0}*1000%"
          deny:
            - "msg: <red>\"%conditionalactions_arg-0%\" is not a valid number!"
            - return
    - "group: restart"

Action groups

restart:
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>10</red> seconds!"
  - "delay: 5000"
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>5</red> seconds!"
  - "delay: 1000"
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>4</red> seconds!"
  - "delay: 1000"
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>3</red> seconds!"
  - "delay: 1000"
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>2</red> seconds!"
  - "delay: 1000"
  - "broadcast: <dark_red>SERVER WILL RESTARTING IN <red>1</red> seconds!"
  - "delay: 1000"
  - "broadcast: <dark_red>RESTARTING..."
  - "console: stop"
test:
  - "msg: Start"
  - condition: "%player_name%==Tanguygab"
    success:
      - "msg: Hi me!"
      - "msg: How's it going?"
    deny: "msg: Who are you? o_O"
  - "msg: End"

Conditions

conditions:
  is_op: "%player_is_op%=yes" # simple conditions
  is_admin: # OR checks
    - "%player_is_op%=yes"
    - "permission:group.admin"
    - "permission:*"
  has_money_and_vip: # AND checks
    - - "%vault_eco_balance%>=1000"
      - "permission:group.vip"

# alternatively:
  is_admin: "%player_is_op%=yes || permission:group.admin || permission:*"
  has_money_and_vip: "%vault_eco_balance%>=1000 && permission:group.vip"

Последние версии

Все версии →
release

ConditionalActions 1.6.7

1.6.7
27 сент. 2026 г.47Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Fixed compatibility with TAB 6.2.0
release

ConditionalActions 1.6.6

1.6.6
19 июн. 2026 г.67Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
- Fixed permission checks for console - Fixed permission conditions not being refreshed - Fixed CA arg placeholders nested in other placeholders like Utils & ParseOther not working correctly
release

ConditionalActions 1.6.5

1.6.5
13 апр. 2026 г.51Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Fixed commands execution order
release

ConditionalActions 1.6.4

1.6.4
6 апр. 2026 г.17Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Updated TAB dependency to 6.0.0
release

ConditionalActions 1.6.3

1.6.3
15 февр. 2026 г.33Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Fixed Velocity bridge
release

ConditionalActions 1.6.2

1.6.2
7 февр. 2026 г.25Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Added `%conditionalactions_server-name%` when the plugin is also installed on proxy. Replaced `conditionalactions.admin` permission by - `conditionalactions.execute` for `/ca execute <player> <action>` - `conditionalactions.group` for `/ca group list|execute <group>` (though `conditionalactions.execute` is required for execute as well) - `conditionalactions.condition` for `/ca condition list|check <condition>` - `conditionalactions.reload` for `/ca reload` Added vanilla @ selectors support in commands & replaced `--console` by `@c` to run commands through console Added messages.yml to edit command messages.
release

ConditionalActions 1.6.1

1.6.1
15 янв. 2026 г.27Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Fixed proxy actions being sent for each online player instead of just once
release

1.6.0

1.6.0
5 янв. 2026 г.26Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord, folia, paper, velocity, waterfall
Скачать
Что нового
Added Velocity support for proxy actions
release

1.5.0

1.5.0
31 дек. 2025 г.33Minecraft: 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, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord, folia, paper, waterfall
Скачать