Vcore-scratchcard
VCore-native scratchcard shop, draw, and instant-prize resource. Dependencies: `core` `inventory` The `scratchcard` item is defined by the completed VCore Base. Purchases are server-validated at `Config.ShopZone`; ticket removal, prize selection, jackpot reset, and payout all occur server-side. State persists through CFX KVP storage. Historical pending-winner keys retain the `tmc_scratchcard_pending_` prefix solely to preserve unpaid winnings from the old resource. Start after Core and Inventory:
Introduction
VCore-native scratchcard shop, draw, and instant-prize resource. Dependencies: `core` `inventory` The `scratchcard` item is defined by the completed VCore Base. Purchases are server-validated at `Config.ShopZone`; ticket removal, prize selection, jackpot reset, and payout all occur server-side. State persists through CFX KVP storage. Historical pending-winner keys retain the `tmc_scratchcard_pending_` prefix solely to preserve unpaid winnings from the old resource. Start after Core and Inventory:
Version: 1.0.0Optional Resource4 Lua files0 SQL filesDependencies
| Dependency | Status |
|---|---|
core | Included Vcore resource |
inventory | Included Vcore resource |
Installation / Start Order
Install the resource with its required dependencies, then enable it in your resource start order.
ensure scratchcardConfiguration
Config files
config.lua
Detected config keys
AdminCommandAdminPermissionDrawScheduleMaxEntriesPerDrawMinigameStepsMinigameWindowMinimumJackpotMoneyTypeNotifyLengthPotIncreasePerTicketPrizesScratchCardItemScratchDurationScratchRevealPercentShopBlipShopZoneStartingJackpotTicketPrice
Events & Exports
Exports
No exports are documented for this resource.
Callbacks
Callback available from this resource. Confirm parameters and return values before using it.
Callback available from this resource. Confirm parameters and return values before using it.
Callback available from this resource. Confirm parameters and return values before using it.
Callback available from this resource. Confirm parameters and return values before using it.
Callback available from this resource. Confirm parameters and return values before using it.
Callback available from this resource. Confirm parameters and return values before using it.
Registered network events
Registered event for this resource. Confirm the expected payload and intended scope before using it.
Registered event for this resource. Confirm the expected payload and intended scope before using it.
Commands
No registered commands were detected.
Database / SQL
SQL files
None detected in source.
Detected tables
None detected in source.
Troubleshooting
- Confirm every manifest dependency above is started first.
- Import the SQL where the resource includes database files.
- Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
- Do not copy internal event names into integrations without checking their implementation.

