Quick Question?

Discussion in 'Plugin Development' started by WesJD, Jan 25, 2015.

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

    WesJD

    Hello.

    It recently came to mind about registering commands out of the onEnable. Would I be able to do this? (i.e. getInstance().registerCommand("hi", [command executor class])). If so, would I just go about using the SimpleCommandMap?
     
  2. Offline

    Skionz

    @WesJD Assuming getInstance() returns a PluginManager instance, then yeah.
     
Thread Status:
Not open for further replies.

Share This Page