MultipleCommandAlias example?

Discussion in 'Plugin Development' started by Bobcat00, Apr 10, 2015.

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


    I want to have a plugin to do the equivalent of a Bukkit command alias, where one command executes two plugin commands, e.g.:
      - essentials:commandname $$1
      - pluginname:commandname $$1
    So in this example, the command commandname executes Essentials commandname and pluginname commandname, each requiring one parameter.

    All I want to do is register the command alias. The commands would be executed when a player types /commandname in chat.

    I'm thinking it can be done with the class MultipleCommmandAlias. Is that correct? Can anyone give me a brief example?
  2. Offline


  3. Offline


    I don't want to execute the command. I want to register an alias as if it was defined in commands.yml
Thread Status:
Not open for further replies.

Share This Page