Jump to content

[HELP] How can I prevent .lua file theft?


Ryuto

Recommended Posts

43 minutes ago, Ryuto said:

Is there any method to protect lua files?

Is there a function for the .lua to work only on a server with a certain ip?

does "cache=false" protect lua client side well?

Thank you!!!

You can actually do it with Luac encrypted to protect your Lua source file,but remember save and backup your Lua file before making Luac,because after you encrypt your Lua file with Luac, it is irreversible, so you can't restore it, so save your files.
If you want to keep it, most of the shared functions are transferred to the server side,so you give less transfer to client side,but in terms of performance it may not be good to load all the load on the server side

You can use cache=false , it will just prevent it from downloading your source file in MTA file location and client side will not be able to access this file
https://forum.multitheftauto.com/topic/67224-luacmtasacom-and-us/

 

Edited by Shady1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...