I used an ignition spares kit for one of the ready made model hit and miss engines that are all over ebay. That doesn’t seem to be available any more but this from AliExpress looks similar and seems to include a Hall effect trigger.
Ali Express ignition module
Mine works fine- very reliable
Rod