-
Notifications
You must be signed in to change notification settings - Fork 58
Multipliers
The Multipliers module lets you boost how much currency players earn when mining. Boosts from all three layers are multiplied together — not added — so a small rank bonus stacks powerfully on top of a global event.
final amount = base × global × player × rank
A server-wide boost that applies to every player at once. Use it for events ("double-token weekend"). Set it with a duration; it expires automatically and survives restarts.
| Attribute | Notes |
|---|---|
| Scope | All online players |
| Persistence | Saved to database |
| Duration | Timed (expires) |
| Capped by |
global-max in multipliers.yml
|
A personal boost for one specific player. The player must be online to receive it.
| Attribute | Notes |
|---|---|
| Scope | Single player |
| Persistence | Saved to database |
| Duration | Timed (expires) |
| Capped by |
player-max in multipliers.yml
|
A passive, permanent bonus granted by permission or LuckPerms group. It is never stored in the database — it is re-calculated from the player's permissions each time they join and then refreshed on a configurable interval. Rank multipliers never expire.
| Attribute | Notes |
|---|---|
| Scope | Single player |
| Persistence | Permission-based (no DB) |
| Duration | Permanent while rank is held |
| Capped by | Not capped |
All active layers are multiplied together at the moment a player earns currency. An inactive layer (expired or not configured) contributes 1.0 and is effectively ignored.
Example — a player with all three layers active:
| Layer | Multiplier | Running total |
|---|---|---|
| Base amount mined | — | 100 |
| × Global | 2.0 | 200 |
| × Player | 1.5 | 300 |
| × Rank | 1.25 | 375 |
The same player without a player multiplier active: 100 × 2.0 × 1.0 × 1.25 = 250.
Requires permission:
xprison.multipliers.admin
/gmulti <currency> <multiplier> <duration> <unit>
/gmulti <currency> reset
| Argument | Description |
|---|---|
currency |
Internal currency name (e.g. tokens, gems) |
multiplier |
Multiplier value (e.g. 2.0) |
duration |
How long the multiplier lasts |
unit |
SECONDS MINUTES HOURS DAYS
|
Examples:
/gmulti tokens 2.0 2 HOURS # 2× tokens for 2 hours (server-wide)
/gmulti gems 1.5 30 MINUTES # 1.5× gems for 30 minutes
/gmulti tokens reset # remove the tokens global multiplier
/pmulti <player> <currency> <multiplier> <duration> <unit>
/pmulti <player> <currency> reset
Examples:
/pmulti Steve tokens 3.0 1 HOURS # give Steve a 3× token boost for 1 hour
/pmulti Steve gems reset # remove Steve's gems multiplier
The player must be online when the command is run.
Rank multipliers are defined in multipliers.yml under rank-multipliers. Each key is either a LuckPerms group name or an X-Prison permission suffix depending on use-luckperms-groups.
Set use-luckperms-groups: true and use your LuckPerms group names as keys:
use-luckperms-groups: true
rank-multipliers:
default:
tokens: 1.0
vip:
tokens: 1.25
gems: 1.25
vip_plus:
tokens: 1.5
gems: 1.5
legend:
tokens: 2.0
gems: 2.0
money: 1.5Players in the legend LuckPerms group automatically receive a permanent 2× token, 2× gem, and 1.5× money bonus.
Set use-luckperms-groups: false. Each key maps to the permission xprison.multiplier.<key>:
use-luckperms-groups: false
rank-multipliers:
vip:
tokens: 1.5Grant xprison.multiplier.vip through your permissions plugin to activate that rank's bonus.
If a player matches multiple rank keys, the last matching key in the config wins (keys are checked top-to-bottom, and the last match overrides earlier ones). Order your ranks from weakest to strongest in the config.
| Permission | Description |
|---|---|
xprison.multipliers.admin |
Run /gmulti and /pmulti
|
xprison.multiplier.<key> |
Passive rank multiplier (when use-luckperms-groups: false) |
Caps — prevent admins or commands from setting unreasonably high values. Set global-max and player-max per currency in multipliers.yml. These caps do not apply to rank multipliers.
Refresh interval — online players' rank multipliers are re-evaluated every rank-multiplier-update-time seconds (default 60). Lower this if players change ranks often and need instant updates; raise it on large servers to reduce permission-check overhead.
- Currencies
- Ranks
- Prestiges
- Rebirths
- Mines
- AutoSell
- AutoMiner
- Enchants
- Pickaxe Levels
- Pickaxe Skins
- Pickaxe Quality
- Pickaxe Settings
- Gangs
- Multipliers
- Blocks
- Bombs
- History
- Mining Stats
- Nicknames
- Battle Pass
- Quests
- Daily Rewards
- config.yml
- autominer.yml
- autosell.yml
- block-rewards.yml
- enchants.yml
- currencies.yml
- multipliers.yml
- ranks.yml
- prestiges.yml
- pickaxe-levels.yml
- pickaxe-skins.yml
- pickaxe-quality.yml
- gangs.yml
- mines.yml
- bombs.yml
- blocks.yml
- history.yml
- logging.yml
- mining-stats.yml
- rebirths.yml
- battlepass.yml
- quests.yml
- dailyrewards.yml
- efficiency.json
- fortune.json
- unbreaking.json
- haste.json
- speed.json
- fly.json
- nightvision.json
- jumpboost.json
- autosell.json
- tokenfinder.json
- gemfinder.json
- salary.json
- charity.json
- blessing.json
- gangvaluefinder.json
- prestigefinder.json
