SIMPLY MULTICHARACTER / REFERENCE

Tebex slots.

Additional-slot delivery, offline receipts, refunds, and chargebacks.

v1.0.0

Technical guide in English. Commands and configuration values are shown exactly as required.

Tebex additional slots — 1.0.0

Simply accepts native FiveM/Tebex server-console commands for additional character slots. It supports offline receipts, quantities, duplicates and refunds across all three framework adapters. These examples are for one-time packages, not accumulating subscription renewals.

Connect the store

If your store already delivers server commands, keep that connection. Otherwise follow Tebex's FiveM integration guide: connect the game server, configure its sv_tebexSecret using the official instructions and verify the link. Simply does not change server.cfg or ask you to store that key in this resource.

FiveM provides the native module; no additional wrapper is required by Simply. Enable Setup → Preferences → Tebex slots. Connections shows the templates. The resource creates its own receipt table automatically.

Package purchase command

Create/edit a one-time slot package, choose the correct game server and add this initial command, without a leading slash:

sm_tebex grant {id} {transaction} {packageId} 1 {purchaseQuantity}

Allow the command to run while the player is offline. 1 is the extras per purchased unit; replace it with 2 for a two-slot package. Keep the placeholders unchanged. Add only one Simply grant instruction per transaction/package.

The buyer is a Cfx ID: {id}, or a manually supplied fivem:number. It is not the temporary in-game server ID, username or character identifier. Do not substitute {sid} or {hexid}. Tebex's command variables define transaction, package and quantity. The native Cfx module maps numeric buyer IDs to fivem:.

Refund and chargeback

Add the following to both Refund and Chargeback commands for that package, also permitting offline execution:

sm_tebex revoke {id} {transaction} {packageId}

It revokes only that receipt. Other purchases and staff/default base slots remain intact. A revoke received before the grant creates a persistent tombstone; replaying the grant cannot revive it. A new purchase uses a new transaction.

No characters are deleted or CK'd and the player is not kicked. Existing characters above a reduced creation limit remain selectable; creating another still requires available capacity.

Capacity and account link

Base = staff override, otherwise configured/framework base
Creation capacity = min(12, base + active Tebex extras)

The base is chosen first, then extras are added. Base 3 plus two extras gives 5. A staff base of 4 with those extras gives 6. Resetting staff inheritance does not delete receipts. Administration displays purchased extras separately.

Receipts retain their full quantities even when capacity reaches 12, so later refunds recalculate correctly. Configure store restrictions accordingly: Simply does not stop Tebex selling a package to an account already at the cap.

Offline delivery stores the receipt against the Cfx buyer. At the next selector opening or connected-account staff lookup, pending receipts bind to the real framework account/aliases. Online deliveries also attempt to refresh the selector immediately. Once bound they do not automatically transfer to another Rockstar/core account. Pending first-time offline buyers can be checked by Cfx ID from the console before a license link exists.

Testing and diagnostics

  1. Check sm_diagnostics and the table-readiness result.
  2. Use the store's manual/test payment flow with a test account; see Tebex package testing.
  3. Confirm saved state=active in the server console and the expected extras in selection/administration.
  4. Resend the command: it should report already recorded without increasing slots again.
  5. Revoke the same receipt and verify the other receipts/base remain.

Read-only status command, using the actual Cfx buyer ID:

sm_tebex status 123456

Isolated test-server examples:

sm_tebex grant 123456 qa-slots-001 test-package 1 1
sm_tebex revoke 123456 qa-slots-001 test-package

Only server-console source 0 can run this command. An in-game administrator/ACE cannot grant a purchase. The handler does not validate payment itself; it trusts the native/authorized server console to deliver the paid benefit.

If the log says NOT confirmed, correct the issue and resend through Tebex. The native module does not receive our SQL-write acknowledgement, so a resource SQL failure does not itself guarantee a Tebex retry. Replaying the original transaction/package is safe.

ErrorAction
not_readyCheck dependencies/database; incoming delivery waits up to 60 seconds, then needs a resend
busyWait for the current operation to finish, then resend
tebex_reference_conflictCheck the original buyer/quantity; do not reuse a reference for different data
save_failed / database_errorRepair database access and resend
tebex_cache_pendingReceipt may already be committed; cache recovery/restart or diagnostics retry reloads it; resend safely

Disabling the integration excludes extras from capacity and rejects new delivery commands while keeping receipts. Reactivating restores existing extras; rejected commands need resending.

Receipt and audit mutations are atomic. Startup recovers account/buyer aggregate caches; normal slot reads do not query SQL. There is no permanent Tebex polling loop in this resource. Automated receipt tests and native startup checks do not replace your store-specific end-to-end test.

Purchases are sold and billed by Tebex, the authorized reseller and merchant of record.Tebex buyer support ↗