Back to App Go

Rewards

One shared prize engine for every feature that gives prizes (ranking, events, levels, daily prize, couples, agency positions). One list of prize types, one set of checks, one ledger so a prize is never paid twice.

By ⁨وائل البرغوثي⁩First published Dec 1, 2026

Android and iOS apps, admin panel and the backend (API) code

About this feature

One shared prize engine for every feature that gives prizes (ranking, events, levels, daily prize, couples, agency positions). One list of prize types, one set of checks, one ledger so a prize is never paid twice.

What it does

  • How it works: this feature has no screen of its own. It is the engine behind every prize form in your control panel. A feature that owns something that can be given as a prize (the store, VIP, badges, gifts, special IDs, the wallet's coins) registers its PRIZE TYPE once. A feature that pays prizes (ranking prizes, events, level rewards, the daily prize, couples levels, agency positions) declares WHERE it pays, called a surface. Every prize form then asks the engine: which types may I offer here, is this prize valid, pay it.
  • The prize types: Coins (a whole number from 1 up to 1,000,000,000,000, paid to the user's wallet); Store item and Event store item (an item from the store, with the number of days it lasts); VIP (a VIP level for a number of days); Badge; Gift; Special ID. A type appears only when the feature that owns it is installed: without the store there is no store item, without the wallet there are no coins, and nothing breaks. A medal is not a prize type by the owner's decision.
  • What you set in the control panel: in any prize form (for example a ranking prize, an event level, a daily prize, a level reward) you pick the type, then the item from a picker (or type the amount for coins), and, only for types whose item can be given for a number of days, the days (a whole number from 1 up to the maximum). A type whose item has its own fixed duration (it keeps its original duration when given) shows no days field. A grid shows the prize by the item's name and picture. A prize that cannot be given is refused when you save with "This reward cannot be given: check the amount or the item", and a wrong number of days is refused with the allowed range.
  • Where coins are not offered: by the owner's decision of 8 October 2026 three places do not offer or pay coins at all: the admin package, the agency positions, and the country and region rewards. Everywhere else (events, ranking, host level, room target, couples, daily prize, game welfare) coins are offered. Because each place decides its own list, a prize typed in by hand into the database for a place that does not allow it is refused at payment too.
  • Paying safely: every payment is written in a ledger with the user, the type, the item, its cost and the place. A payment carries a claim name, so the same payment repeated under the same name is applied once and never twice. When a batch must be all-or-nothing, a failure in the middle returns everything. A stopped store item can still be given as a prize (stopped means hidden from users, not forbidden to give); only an item that was deleted or is missing is refused.
  • Where is this item used: you can ask which prizes use an item. The store uses it to refuse deleting a product that is still a prize somewhere, so no prize is left pointing at nothing.
  • What the user sees in the app: the prize itself, arriving where it belongs (coins in the wallet, the item in their store items, the VIP on their account, the badge on their profile, the gift in their gifts, the ID on their account), with the item's name and picture in the language they use. The engine has no app screen of its own.
  • Works with all themes: there is no screen of its own, so the theme only applies to the items the user receives.
  • Why it is worth it for you: every prize form in your panel looks and behaves the same, a feature you install later gets the same prize list for free, a prize is never paid twice, and a prize type whose feature you remove simply disappears from the forms instead of breaking them.
  • Requirements: only the base users. The wallet is optional (it adds the coins type); the store, VIP, badges, gifts and special IDs each add their own type when installed. Removing it is refused while a feature that pays prizes is still installed; nothing is deleted.

Depends on

Only the base users. The wallet adds the coins prize; the store, VIP, badges, gifts and special IDs add theirs. It is needed by every feature that pays prizes.

In the app

Swipe for more

Install and remove

After you buy, you'll also find these commands in My purchases.

Install

php artisan feature:install rewards --apply

Remove (your data stays)

Disable it with one command (shown on this page) after the features that pay prizes are removed; it is refused while one is still installed. Nothing is deleted.

php artisan feature:remove rewards

Remove its add-ons first: removing a feature while its add-ons are installed is refused.