Troubleshooting
Common issues and implementation notes for gcm_vipsystem.
/vipmenu does not open
Possible Causes
- Player is not recognized as staff in
isPlayerStaff(src)(server/editablesv.lua). Config.GroupPermissionsdoes not match framework/ACE groups.ox_libis not running.
Fix
- Validate
isPlayerStafflogic and returned permissions. - Align configured groups with your framework and ACE setup.
- Ensure
ox_libstarts beforegcm_vipsystem.
/code says code not found
Possible Causes
- Code row does not exist in
gcm_vips_codes. - Code was already redeemed or removed.
- Command label differs from
Config.Commands['redeem_code'].
Fix
- Verify code row in DB and status.
- Regenerate code if it was consumed.
- Confirm command label in config and restart resource.
VIP not applied from code
Possible Causes
- Player already has an active VIP in a conflicting state.
- Invalid
viptypenot present inConfig.Vips. - Identifier mode mismatch (
licensevssteam).
Fix
- Check active VIP state in DB/cache before redeem.
- Ensure
viptypeexists in configured tiers. - Keep identifier mode consistent across the whole server.
Discord roles are not changing
Possible Causes
- Discord role sync is disabled.
- Invalid bot token or guild id.
- VIP tier has
roleID = '0'or invalid role id.
Fix
- Enable
Config.DiscordRoles.enable. - Set valid
botTokenandserverId. - Configure proper role IDs for each VIP tier.
Paycheck bonus not running
Possible Causes
- Paycheck system is disabled.
- Framework detection failed.
- Account name does not exist in your framework.
Fix
- Enable
Config.PaycheckSystem.enable. - Validate framework detection in startup logs.
- Use a valid account name (
bank, etc.) for your framework.
Tebex bridge command issues
Possible Causes
gcmtebexis executed outside console context.- Invalid arguments passed to the Tebex bridge command.
- Log formatting issue around
diasvariable in one branch.
Fix
- Run
gcmtebexonly from server console/integration layer. - Validate argument format and payload source.
- Patch the
diaslog formatting line if needed.