Loyalty & R Coins
Earn R Coins through referrals and future campaigns, spend them on store perks, and connect the same balance to your Discord server for light minigames (coin flips and more). Sign in with CFX (FiveM via Tebex) and link Discord to get your personal referral link and a live balance synced to this site.
R Coins
R Coins are the store’s reward currency. You’ll accrue them from affiliate referrals first; later you can redeem them for discount codes or gift cards, and spend them in Discord on small games run by your bot (always for fun — play responsibly).
0R Coins (demo preview)
Affiliate link
Sign in with CFX (FiveM via Tebex), then link Discord here to sync referral and perks.
Coming next
- Redeem R Coins for discount codes or gift cards in this store.
- Discord bot hooks for coin flips and other minigames using the same balance.
- Clear earning rules when referral → purchase attribution goes live.
Tier & points history
Current tier
Bronze
Loyalty points: 420
Next: Silver at 500 pts
Recent activity
- Welcome bonus+1006/3/2026, 8:17:56 AM
- Demo purchase+3206/3/2026, 8:17:56 AM
Demo data in your browser — sign in so points, coins, and history load from the server.
Discord bot API
Your Discord bot can read a member’s R Coins and loyalty points over HTTP. Set a shared secret in NUXT_DISCORD_BOT_API_SECRET (see .env.example), then call:
GET http://rz-development.com:3000/api/bot/economy/<DISCORD_USER_ID>
Authorization: Bearer <NUXT_DISCORD_BOT_API_SECRET>Example JSON:
{
"discordId": "123456789012345678",
"rCoins": 0,
"loyaltyPoints": 0,
"affiliateCode": "abc…" // null until the user opens Loyalty once (code is created)
} Deducting coins for games or adding coins for purchases should go through your own secured server routes that call readUserProfile / writeUserProfile — never expose the bot secret to clients.
