Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ways to register commands?

Comments in 'Plugin Development' started by Thunder33345, Oct 16, 2016.

  1. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    Just out of curiosity what are all of the ways you can register a command?
    from what i know there two ways first is to register it via plugin.yml and it will be triggered via onCommand which is the simplest as far as i know
    for the second one i know is to extends Command and implements PluginIdentifiableCommand
    Or some just extend a base command
    and then register it to command map
    but i would like to know if there any more ways to register a command
  2. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Unless you make your own command handling way and as far as I know - no.

Share This Page

Advertisement