1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved subcommands

Discussion in 'Development' started by UnknownOre, Feb 15, 2019.

  1. UnknownOre

    UnknownOre Silverfish

    Messages:
    21
    GitHub:
    UnknownOre
    Hello i'm making a plugin with a lot of sub-commands and i want to have every sub-command in a file like(/kit help,/kit ban) BanCommand.php HelpCommand.php, it doesnt make sence to put all of them on the same file because it will make it hard to manage
     
  2. KielKing

    KielKing Zombie

    Messages:
    245
    GitHub:
    kielking
    look at SkyBlock by GiantQuarts and see how it handles subcommands
     
    DsZk and UnknownOre like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.