How to override commands?

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

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


    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?


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


    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


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


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

Share This Page