Quill and the others had video footage of the people who had attacked the Guardians.
After a few days of reconnaissance, Luke wiped out the stronger groups first and plundered their spaceships and assets.
Any other group who dared to come and steal his gains were swallowed up as well.
After that, the groups that had yet to leave after their strength was greatly reduced were vaporized one after another, and all their assets were snatched up.
Thanks to this diligent and enthusiastic work attitude, the supplies and cash in Luke's inventory increased at a visible rate.
After confirming his ownership of these spoils of war, Luke impersonated a small foreign mercenary team that hadn't been around for long.
He used the name of this mercenary team to 'buy' a service factory which he had already swallowed up.