How to show the full description line in /help <Plugin>

Discussion in 'Plugin Development' started by Phazerous, Dec 29, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    Phazerous

    I want to know if I can see the complete line in the description.

    plugin.yml (open)
    1.png

    Description (open)
    2.png
     
  2. Offline

    KarimAKL

    @Phazerous That's not how you add parameters to a command. You add the command name (in this case "fly") to the plugin.yml file, then handle the arguments passed using CommandExecutor#onCommand's "args" parameter. If you want a list of subcommands, then you can make it yourself in the CommandExecutor#onCommand method. That'll also allow you to control whether or not the text gets cut off.
     
Thread Status:
Not open for further replies.

Share This Page