1.15.2 Register Custom Commands

Discussion in 'Spigot Plugin Development' started by Hortexel, Feb 12, 2020.

  1. Hello, i have a problem :/


    My config looks like this
    Code (YAML):
    commands:
      command1
    :
        permission
    : cmd.1
        messages
    :
       - 'TEST1'
       - 'TEST2'
      command2
    :
        permission
    : cmd.2
        messages
    :
       - 'TEST2'
       - 'TEST2'
    How to register all commands with file, even if the user creates the command himself