Solved Help with Shortcut command

Discussion in 'Spigot Plugin Development' started by LazyDev, May 12, 2016.

  1. Hello ..

    I would like to ask if it's possible to shortcut a long command

    for example : /pex user ''Name'' group set ''GroupName''
    /setrank ''Name'' ''Group"
  2. Aliases
  3. onCommand()
    setrank etc, make sure args are set
    Player#PerformCommand("pex user " + args[0] + " group set " + args[1]);
  4. I think he's referring to in code how do you do it, you can't really edit pex code to add aliases really, or it would be difficult.