Solved Plugin.yml aliases adding to commands

Discussion in 'Spigot Plugin Development' started by Yolo_Always_4_7, Mar 18, 2020.

  1. on bungeecord plugin in the plugin.yml can I do aliases? for command because this is not working
    Code (Text):
    name: bv
    main: bungee.plugin.main.mainclass
    version: 1.0
    author: a
    commands:
      foobar:
        description: yet another shit.
        aliases: [bar,foo]
     
  2. I think it's the same as the spigot plugin for the plugin.yml, yeah you can do that I guess.
    Code (YAML):

    commands
    :
      helloworld
    :
        aliases
    : [hw, world, hello]
     
     
  3. it is not working.. this way
     
  4. Oh yeah, I forgot, Bungeecord doesn't even need create plugin.yml to register commands.
    Here's how you do it.
    Code (Java):
    super("command", "permission", "aliases1", "aliases2", "aliases3");
    The format is Command, Permission, Aliases
     
  5. No problem, You can set the thread to solved.