π£Anti dumper
Description
Anti dump protection feature will prevent players to dump your client files. This script can be used in case you do not want to escrow your resource on keymaster and keep your resource open source in server. If a player dumps your resource or server he will not get banned, but he will not receive the client files if the resource is secured. We encourage you to use escrow system, but in case you do not want to use it, you can use this resource in order to prevent dumping your client file.
Usage
In order to make the script working, it requires manually implementation following the next steps:
Turn off your server
Add antidump resource to your server resources
Add the following lines in the fxmanifest of the resource you want to secure
lua54 "on"
server_script "@antidump/source/server/server.lua"
client_script "@antidump/source/client/client.lua"
Create a backup folder inside the resource you want to secure


Move the client files from the resource you want to secure inside the backup folder
Create an index.json file and add your client scripts from backup folder in the list (an example of index.json file exists in the antidump resource in list folder so you can copy it to the resource you want to secure)

[
"c_testresource.lua"
]
Example 1
[
"c_testresource1.lua",
"c_testresource2.lua"
]
[
"c_testresource1.lua",
"c_testresource2.lua",
"c_testresource3.lua"
]
Make sure that you started the antidump resource as first resource in server.cfg, above your resource list.
Do not change the name of folder backup. Keep it named backup. In case you rename it, the resource will not work.
Even though the fxmanifest of your resource does not contain the client files from backup folder you do not have to add them. This is how this feature works, so do not change anything in fxmanifest beside adding the shared lines of the antidump resource.
Showcase

Last updated