What is the best solution for managing sub-commands?

Discussion in 'Spigot Plugin Development' started by Yidas, Apr 24, 2017.

  1. Yidas

    Supporter

    Currently, I have a command class that contains a disgusting if/else tree and a switch statement. It's is difficult to read and looks horrible.

    What is an elegant alternative for managing multiple sub-commands?
     
  2. You're in luck, I just released my command framework which is super clean for this!

    See: ACF
     
    • Useful Useful x 1