I've seen mentions of spawn protect scripts here, wouldn't surprise me if the framework hasn't been done already somewhere.
Though you're not necessarily trying to protect spawn, the idea is generally the same.
As for charging, well, we don't exactly recommend that here, since the license ULib/ULX use (Creative Commons 3) expressly forbids charging.
Not exactly strongly enforced though.
Most coders here code Lua for fun.