Advertisement
Guest User

WX AntiCheat manifest

a guest
Feb 2nd, 2025
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | Source Code | 0 0
  1. -- [[ Resource Info ]] --
  2.  
  3. fx_version 'cerulean'
  4. game 'gta5'
  5. description 'Advanced, standalone AntiCheat for your FiveM server'
  6. author 'wx / woox'
  7. version '3.96'
  8. lua54 'yes'
  9.  
  10.  
  11. -- [[ Scripts to load ]]
  12.  
  13. client_scripts {
  14.     -- 'client/*.lua',
  15.     'client/**.lua',
  16. }
  17.  
  18. server_scripts {
  19.     '@oxmysql/lib/MySQL.lua',
  20.     'configs/anticheat_webhooks.lua',
  21.     'editable/server/*.lua',
  22.     'server/**.lua',
  23.     'admins/*.lua',
  24. }
  25.  
  26. shared_scripts {
  27.     'configs/anticheat_config.lua',
  28.     'editable/shared/*.lua',
  29. }
  30.  
  31. -- [[ Escrow Stuff ]]
  32.  
  33. escrow_ignore {
  34.     'configs/*.lua',
  35.     'admins/*.lua',
  36.     'editable/**/*.lua',
  37. }
  38.  
  39. -- [[ NUI Stuff ]]
  40.  
  41. ui_page "web/dist/index.html"
  42. files {
  43.     'client/hashes.json',
  44.     "web/dist/index.html",
  45.     "web/dist/**/*",
  46.     'locales/*.json',
  47. }
  48.  
  49. -- [[ Exports ]]
  50.  
  51. server_exports {
  52.     'ban',          -- exports['wx_anticheat']:ban(playerId, reason)
  53.     'addAdmin',     -- exports['wx_anticheat']:addAdmin(playerId)
  54.     'removeAdmin',  -- exports['wx_anticheat']:removeAdmin(playerId)
  55.     'whitelistPlayer', -- exports['wx_anticheat']:whitelistPlayer(playerId, time) -1 as time for infinite time
  56.     'removeWhitelist', -- exports['wx_anticheat']:removeWhitelist(playerId)
  57.     'isAdmin',      -- exports['wx_anticheat']:isAdmin(playerId)
  58.     'unban',        -- exports['wx_anticheat']:unban(banId)
  59.     'offlineBan',   -- exports['wx_anticheat']:offline(playerId)
  60.     'getConfig',    -- exports['wx_anticheat']:getConfig()
  61. }
  62.  
  63. -- [[ Dependencies ]]
  64.  
  65. dependencies {
  66.     '/server:4890',
  67.     '/onesync',
  68. }
  69.  
  70. website = "https://ac.wx0.dev"
  71. docs = "https://docs.wx0.dev"
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement