Licensing (and subscription) for UE4 game/project

You would have to do some server development so that the software can connect and activate a license.