How to override commands?

Discussion in 'Plugin Development' started by puppy3276, Nov 17, 2012.

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

    puppy3276

    Ok so in my onEnable I registered a command, lets call it testcommand, but there is another plugin that has the command testcommand. How would I override that command?

    bump!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  2. Offline

    fireblast709

    Bukkit basically does that, but do not rely on that and either use aliases (look for plugin.yml in the Bukkit wiki, they explain the howto) or use another command
     
  3. Offline

    cman1885

    You can always do loadbefore: [pluginname] in your plugin.yml.
     
  4. Offline

    coobro123

    bump, I wanna know
     
Thread Status:
Not open for further replies.

Share This Page