Solved CommandExecutor return

Discussion in 'Spigot Plugin Development' started by illuminator3, Sep 8, 2019.

Thread Status:
Not open for further replies.
  1. I never understood why you need to return a boolean in the functional interface CommandExecutor, could someone explain it to me?
     
  2. SteelPhoenix

    Junior Mod

    It returns if the command was executed successfully. If not it will send the command usage and description if specified in the plugin.yml or by default "/<command>"
     
    • Agree Agree x 1
  3. Thanks a lot!
     
Thread Status:
Not open for further replies.