How can I create/customize my own console commands in C++?

Check this out : A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

You can create your own console command and make it recognized everywhere. If your custom class wasn’t pawn/controller/gamemode, you need to put your custom class inside of of these class, and override the function to forward the function call as stated in the article.

As for Stat StartFile
Source\Developer\FunctionalTesting\Private\FunctionalTest.cpp (1285)

Other Relevant files includes:

  • BaseInput.ini (91)

  • Stats2.cpp (1277, 1293)

  • StasCommand.cpp