ACE - Any Command Executor 1.0

Execute commands from default minecraft and plugins.

  1. gregorycegla
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Description:
    Execute any commands from default minecraft, plugins etc.
    when entity in the scoreboard equals value in the config file.
    Plugin works only when at least one player is online, but if you need it to work without any player online just message me and I'll edit it quickly for you!

    You cannot execute commands from proxy and proxy plugins!

    Features:
    There can be multiple actions depending on scoreboard values.
    You can set other scoreboard for every action.
    You can execute many commands for every action.
    You can use same objective and player for many actions.

    When it can be useful:
    This plugin was invented to make people who program in minecraft functions able to execute plugin commands.

    Minecraft functions are not able to execute plugin commands.
    To do that you need to config plugin and set scoreboard value using function when you want to execute commands.

    Instalation:
    Stop your server and put this plugin into your plugin folder.
    Start server, edit config and reload.

    Correct configuration example (if there exist commands like that):
    Code (YAML):
    plugin-enabled: true
    check-rate
    : 2
    default-value
    : 0
    functions
    :
      function-0
    :
        set-default-value
    : true
        objective
    : match
        entity
    : status
        value
    : 100
        commands
    :
          cmd-0
    : say objective: match
          cmd-1
    : say player: status
          cmd-2
    : say value: 100
      function-1
    :
        set-default-value
    : true
        objective
    : minigame
        entity
    : redteam
        value
    : 1
        commands
    :
          cmd-0
    : gamemode adventure @a[team=red]
      function-2
    :
        set-default-value
    : true
        objective
    : chat
        entity
    : advert
        value
    : 7
        commands
    :
          cmd-0
    : chat-clear
          cmd-1
    : chat-mute
     
    Default config file:
    Code (YAML):
    plugin-enabled: false
    check-rate
    : 1
    default-value
    : 0
    functions
    :
      function-0
    :
        set-default-value
    : true
        objective
    : default
        entity
    : default
        value
    : 1
        commands
    :
          cmd-0
    : none
     
    plugin-enabled - determine whether plugin is enabled. (true/false)
    check-rate - scoreboard checking rate in ticks, 1 second is 20 ticks. (int value)
    default-value - value that is set after action if set-default-value is true. (int value)
    functions - list of actions.
    function-# - define action (action indexes must be in turn).
    set-default-value - determine whether default-value is set after action. (true/false)
    objective - scoreboard objective for action. (text)
    entity - scoreboard player for action. (text)
    value - value required in scoreboard to activite commands. (int value)
    commands - list of commands.
    cmd-# - define commands (commands indexes must be in turn).

    Warning:
    - Set objective and entity config to existing objective and entity.
    - Do not set value config to 0.
    - Lowest check-rate value is 1.
    - Lower check-rate value, higher CPU usage.
    - At least 1 function-# and 1 cmd-# if plugin-enabled: true
    - function-# and cmd-#, # starts from 0.
    - Commands always without "/".
    - Do not try to glitch that plugin, because you will probably do it easily.



    If you think this plugin would be useful for you if it would be a bit edited you can contact me, I'll try to make edit for you!
    I can also made basic plugin for you if you need one.

    Feel free to propose new feature or report glitch or bug!
    I'll answer you as fast as I can!