JS Obfuscate

Hey, this is a meh topic but never has anyone really clarified that I have seen if you can obfuscate JS code on a PAID resource and is that ok Per FiveM TOS?

I know LUA is supported with Introducing Asset Escrow for your resources but just want clarification before making a resource with JS that’s obfuscated thank you!

Also to add I know its very simple to de-obfuscate JS code and its almost pointless to obfuscate it but just want clarification : )

Obfuscating code yourself is not allowed per Cfx.re ToS

Thank you :slight_smile:

Would that fall under the same category as a Js Minifier?

No, minifying and obfuscating are two completing separate actions.

An important point of clarification: the T.o.S does not prevent you from obfuscating your code, however, the Forum Release Rules do.

You could obfuscate your code and sell it on Tebex, and that would be fine. You would not be allowed to advertise your code on the forums though, which obviously significantly reduces the amount of people that will see it.

Thank you : )