Jump to content

Hide mods


FuriouZ

Recommended Posts

Hey all!

I have an question that is there any way to hide mods that they doesn't download to resources folder,

because i'm creating my own mods to my server and if i release it for public ,i need that they can't use my cars outside of my server.

Sorry,if my englis is not good enough :|

But i hope that you understand me what i want to ask...

Link to comment

According to the meta.xml page, the caching option is only for scripts. To prevent other files from being saved, you can make a script which deletes them using a function:

fileDelete 

But whatever is not saved has to be redownloaded every time when joining the server. Not really good for vehicle mods. The best possible approach is probably encryption. You upload the encrypted files to the server, then send the key using triggerClientEvent and the client-side script uses it to decrypt the content (using the file functions). This way only the key will have to be resent every time and it's not much. Anyway, there's no 100% reliable way to prevent the client-side files from getting stolen. Whatever appears on the client must have to be downloaded by the client.

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...