Skip to content

Troubleshooting ​

The resource does not start ​

  • You lack the required entitlement to use MG-Contest: your server's sv_licenseKey is not from the Cfx.re account that bought the script. Use a key from that account, or transfer the asset in the Cfx.re Portal.
  • Failed to verify protected resource: the files were changed or corrupted. Download the script again from the Cfx.re Portal and copy back only your edited open files (see Files you can edit).
  • Could not open @WaveShield/resource/include.lua: you don't run WaveShield. Remove the first line of fxmanifest.lua. See Anti-cheat include.
  • No supported framework found: start qbx_core or qb-core before MG-Contest, or set Config.Systems.Framework.
  • Only oxmysql is supported: install oxmysql and start it first.
  • Table doesn't exist: import install/mg_contest.sql.

The tablet does not open ​

  1. Check Config.LaptopItem = 'tablet' matches your item name.
  2. Make sure the item is added to the inventory you actually use.
  3. On ox_inventory, the item's client.export must be exactly MG-Contest.UseTabletItem, and the folder must be named MG-Contest.
  4. Restart the inventory after editing its items.

The tablet item disappears after use ​

On ox_inventory, set consume = 0 in the item definition.

Players spawn dead after a contest ​

Your medical resource was not detected or uses a different revive event.

  • QBX uses qbx_medical:client:playerRevived.
  • qb-ambulancejob uses hospital:client:Revive.
  • For a custom qb-hospital, set its event in Config.MedicalReviveEvents.

You can also force the resource with Config.Systems.Medical.

/cmafia says "No permission" ​

  • Check the exact discord: identifier is in Config.Admins in server/server.lua.
  • Make sure Discord is running and linked before you join the server.
  • Framework admin and ACE permissions are not used.

The UI color doesn't change ​

Use a valid #RRGGBB, AARRGGBB or palette name in Config.UIColors.primaryColor.fallback, then restart the resource.

The flag doesn't appear ​

The flag spawns once a player is close to it. Check flagCoords is on solid ground.

Battle pass reward claim fails ​

The reward item doesn't exist in your inventory, or the player's inventory is full. Check every reward.item in Config.BattlePass.Tiers.

Debug mode ​

Set Config.Debug = true to print detailed logs to the server and client consoles. Include them when you open a support ticket, then turn debug off again.

All MG Development resources are protected. Redistribution is not permitted.