CommandExecutor 1.2

Create aliases, with a list of commands, executed by console

  1. Andross
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/Andross96/CommandExecutor
    Languages Supported:
    English
    [​IMG]
    CommandExecutor is a simple lightweight plugin that allows you to create aliases with configurable list of commands executed by console.

    For exemple: you want to create a /newcommand. Just add in commands.yml an alias to /commandexecutor, and the console will execute every listed commands in config.yml. Thats all! /newcommand in game will execute all listed commands in config.yml.

    1. Open config.yml and add in list the commands you want to execute:
    Code (Text):

    commands:
      mynewcommand:
      - 'say %player% said hello!'
     
    2. Open 'commands.yml' and add the new alias, with your new command name:
    Code (Text):
      mynewcommand:
      - commandexecutor mynewcommand
    3. Reload your server
    4. Done! (when a player enter /mynewcommand the console will execute the commands listed in config.yml)


    [​IMG]
    - Config
    : customizable config.yml: add new commands, choose if they need permission, send configurable player message.
    - Unlimited commands: create as many commands/aliases as you want
    - Full support of reload


    [​IMG]
    Code (Text):

    ##########################################################
    # +————————————————————————————————————————————————————+ #
    # |—————————  COMMANDEXECUTOR CONFIGURATION  ——————————| #
    # |——————————————————      v1.2      ——————————————————| #
    # +————————————————————————————————————————————————————+ #
    # |         For any bug/questions/suggestions:         | #
    # |               visit the main thread.               | #
    # +————————————————————————————————————————————————————+ #
    ##########################################################
    # Permissions list:
    #  - commandexecutor.access : give access to the command (by default for everyone)
    #  - commandexecutor.reload : give acces to the reload command (by default only for op)


    # +————————————————————————————————————+ #
    # |————        Configuration       ————| #
    # +————————————————————————————————————+ #

    # List of commands executed by console when a player enter /ce <command> (or his aliases); without backslash '/'
    # Every commands can be renammed by aliases
    # %player% = player name
    # %sendMessage% = send message to the player (the command must start with %sendMessage%)
    # %permission% = need the permission to execute the command
    commands:
      command1:
      - '%permission%mycoolcommand.command1'
      - 'kill %player%'
      - 'say I just killed %player%!'
      command2:
      - 'say %player% said hello!'
      - '%sendMessage%&7You have said hello to everybody!'

    # Message for no-permission:
    no-perm: '&cYou don''t have permission.'

    # Message for unknown command:
    unknown-command: '&cUnknown command. Type "/help" for help.'

    # Show in console when a player used /commandexecutor
    sendConsoleMessage: true

     



    [​IMG]
    • commandexecutor.access - give access to the command /commandexecutor (or /ce)
    • commandexecutor.reload - give access to the /ce reload command, to reload the config.yml (default: for op)
    By default, everybody can use /commandexecutor.
    By default, the plugin will always send unknown command message (from config.yml) if the command isn't used well.

    --------------------------------------------------------------------
    • No more idea. Tell me if you have an idea
    • Add per command permission => ✅ Added in v1.2
    • Add an option to send message to players => ✅ Added in v1.2
    • Add a reload command => ✅ Added in v1.2
    • Add personnalisable unknown command & no permission => ✅ Added in v1.1
    --------------------------------------------------------------------
    Official wiki: -> https://github.com/Andross96/CommandExecutor/wiki
    For any bugs: -> https://github.com/Andross96/CommandExecutor/issues
    For any questions/suggestions: -> PM me here or on discord.
    --------------------------------------------------------------------
    If you like this plugin, please rate it and/or leave a comment! Thanks! :)
    Or give me a coffee:
    [​IMG]

Recent Updates

  1. Improvements
  2. Improvements