The VIP Rakeback plugin (vip) returns a share of the rake players pay at real-money cash tables, in tiers you define, and runs rake races: leaderboards of rake paid over a period with a prize table. It pays real money, so it is off by default and pays nothing until you also set a monthly cap and a real-money wallet cap.
The plugin source is in plugins/vip (plugin API 1.4). Its README documents the routes, storage and rules for developers.
Enabling the plugin
Upload vip-<version>.tgz under Extensions › Plugins with Upload plugin, or activate the bundled copy. Capabilities:
| Capability | Why |
|---|---|
rake:read | Reads the rake each player paid at real-money cash tables from the hand records (never estimated from pot sizes) |
wallet:credit-real | Pays rakeback and race prizes in cash |
storage | Terms acceptances, monthly payout records, races |
scheduler | Closes each month and settles races (every 10 minutes, resumable) |
users:read | Usernames in race standings |
Then, in this order:
- Real money must be on (feature toggle).
- Extensions › Plugins → VIP Rakeback → View details → Wallet daily caps → set a real cap above 0. A plugin can never set its own real-money cap. Set it at least as high as your monthly cap plus the largest race prize pool, because a whole month is paid on one day.
- In the plugin settings set the Monthly payout cap, check the tiers and the terms, then switch Enabled on.
Settings
| Setting | Default | Description |
|---|---|---|
| Enabled | Off | Offer rakeback and races. |
| Rakeback tiers | Level 1: from 0, 5% · Level 2: from 100, 10% · Level 3: from 500, 15% · Level 4: from 2,000, 20% | Name, the rake paid in the month at which the tier starts, and the share returned. Rename the levels freely. |
| Site maximum percentage | 25 | No tier may return more than this (never more than 100). |
| Monthly payout cap | 0 | The most rakeback paid to all players together for one month. While it is 0 nothing is paid and the month close waits; the settings refuse switching on with a cap of 0. |
| Pay players who have an agent | Off | See Who earns. |
| Pay referred players | Off | See Who earns. |
| Race review hours | 72 | How long race prizes are held after a race ends. |
| Terms version / Terms | 1 / default text | What players accept before their rake counts. Change the version whenever you change the text: players are asked to accept the new version on the Rakeback page and in races; rake earned under the version they had accepted is still paid, and accepting a new version never resets when their rake started to count. |
The tier table is checked when you save: minimums must rise strictly (tiers run from one minimum to the next, so there are no gaps or overlaps), percentages may not fall from one tier to the next, and no percentage may exceed the site maximum. A table that fails these checks is refused; if an invalid table is somehow stored, nothing is paid and the plugin’s health check says why.
How rakeback is worked out
- Period: a calendar month in UTC. The month is closed shortly after it ends (the job runs every 10 minutes).
- Rake that counts: the rake the player paid in that month at real-money cash tables, from each hand’s record. Play-money tables, tournaments and voided hands never count.
- Tier: the highest tier the month’s rake reaches; its percentage applies to the whole month’s rake.
- Amount: rake × percentage, rounded down to the cent. It can never be more than the rake the player paid.
- Cap: when the month’s total is above the monthly cap, every payout is scaled down by the same factor (cap ÷ total), rounded down.
- Payment: cash (not restricted bonus money): it returns part of the player’s own cost. Each payment is one ledger row of type BONUS with the description
plugin:vip:rakeback:<yyyy-mm>, in the player’s transaction history. It is paid once per player per month: running the job again, or a restart, pays nothing twice. If the wallet refuses a payment for good (the account was blocked, frozen or removed after the month was worked out), the player is skipped with the reason recorded and the others are paid; pay such a player by hand in the cashier if appropriate. A temporary refusal (the plugin’s daily real-money cap reached, real money switched off) is retried on the next run. A wrong payment is never edited: correct it with a new adjustment in the cashier.
Players see their level, how much more rake reaches the next level, the estimated payout so far and their past payouts on the Rakeback page.
Who earns
| Player | Rakeback | Race prizes |
|---|---|---|
| Has accepted the current terms | Yes, from the moment of acceptance | Yes |
| Has not accepted the current terms | No (rake before acceptance never counts) | No |
| House bot | Never (the engine leaves bots out of the rake figures) | Never |
| Blocked, closed or frozen account | No | No |
| Has an agent (agent tree) | No by default: the agent’s commission already shares this rake. With Pay players who have an agent on, any flat agent rakeback on the player is subtracted from the tier percentage | Same rule |
| Referred by another player or affiliate | No by default: referral rake rewards already share this rake. Pay referred players turns it on | Same rule |
| Active self-exclusion or time-out | Yes: rakeback already earned is paid | No: a new promotional reward is not given |
A flat rakeback set on a player (by an agent or an admin) always reduces the tier percentage by the same amount, so the same rake is not returned twice.
Rake races
Create races under Growth › Rakeback and races (permission Bonuses). A race has a name, a start and end, a prize table (amount per rank for each band of ranks, bands may not overlap) and a review period.
- Players are ranked by the rake they paid between the start and the end (the same rake rules as above).
- Ties: players with equal rake share a rank and split the prizes of the places they occupy equally, rounded down to the cent.
- Editing: a race can be edited only before it starts. After that it can only be cancelled. A race can be cancelled until its review period ends (after that the settlement may already be running). A cancelled race pays nothing; races take no entry fee, so there is nothing to refund.
- Review: prizes are held for the review period after the end. While the race runs and during review, an admin can disqualify a player with a reason, for example after a chip-dumping or collusion alert or the player-pair report. Creating, editing, cancelling and disqualifying are recorded in the admin audit log.
- Settlement: after the review period the standings are fixed (disqualified and excluded players are removed and the next players move up) and each prize is paid once as a BONUS row with the description
plugin:vip:race:<race id>.
Race prizes are not counted against the monthly rakeback cap; the prize table is their limit.
Reports
Rakeback and race prizes are plugin credits of type BONUS, so they appear in the Bonus column of the player account activity report and in the monthly Bonus cost line, together with other promotional credits. The description tells them apart.
Themes
The Rakeback player page and the admin page come from the plugin’s own bundle and are drawn inside every bundled theme’s layout (Neo, Play UI, Pokerfest, Riverhouse, Felthouse and Wildcard UI) through the plugin page mechanism; the page is listed in the main navigation while the plugin is enabled. No theme needs changes.
Freeroll loyalty level
A real-money freeroll can require a minimum loyalty level (the tournament form’s freeroll entry rules). This plugin answers that rule: a player’s level is the number of the rakeback tier their rake this month reaches (1 for the first tier you define); no tier, rakeback switched off, terms not accepted or not eligible is level 0. The plugin needs the Player eligibility permission for this (it is listed in its manifest); without it, or while the plugin is disabled, the rule is never met and the tournament form shows the rule disabled. While rakeback is switched off in the plugin’s settings the plugin tells the form the rule is not available (every player’s level would be 0), and the form disables it with that reason.
Certified installs
In certified mode only signed plugins may be installed. The plugin’s dist is reproducible from its source, so it can be signed with the other first-party plugins.