Reward
Docs/Reward

Reward

Pay players for kills, ranks, boosters and AFK zones, run timed key-alls, create your own currencies (or make one the server economy), track payments, and show leaderboards with menus, holograms, periods, a REST API and a Java API, all managed from in-game menus.

Requirements

  • Paper 1.21+ (Folia supported)
  • Java 21
  • Optional: Vault, PlayerPoints, CoinsEngine, PlaceholderAPI, LuckPerms, FancyHolograms, Floodgate or Geyser

Player heads drawn inside dialog lines and holograms need Paper 1.21.9 or newer. On older versions heads are shown as items beside the rows, or switched off.

Installation

  1. Drop Reward.jar into plugins/.
  2. Start the server once to generate the config files.
  3. Put your license key in config.yml.
  4. Run /reward menu to set everything up in-game, or edit the files and run /reward reload.

Database drivers are downloaded automatically on first start. Leaderboards are built into Reward: do not install a separate standalone Leaderboards plugin next to it.

Commands

Reward, boosters, AFK zones, key-alls

These need reward.admin.

Command Description
/reward help Show usage. Alias: /rewards
/reward menu Open the main menu for all features
/reward menu permissionrewards Open the permission rewards menu
/reward reload Reload all config files, including leaderboards
/booster give <player> <id> [duration] Activate a booster on a player
/booster cancel <player> End a player's booster. Alias: remove
/booster item <id> [duration] Give yourself a booster item
/booster time [player] Show remaining booster time
/booster menu Open the booster menu
/afkzone wand Get the selection wand (left/right click corners)
/afkzone create <id> Create a zone from your selection
/afkzone delete <id> Delete a zone. Alias: remove
/afkzone list List all zones
/afkzone tp <id> Teleport to a zone. Alias: teleport
/afkzone menu / reload Open the menu / reload zones. Alias: /afkz
/keyall run <id> Run a key-all now
/keyall list List key-alls and next run time
/keyall info <id> Show details of a key-all
/keyall timer <id> [player] Time until the next run
/keyall timer reset <id> [player] Reset a timer (player for personal key-alls)
/keyall menu / reload Open the menu / reload key-alls

Currencies and economy

Command Description
/currency list List currencies
/currency balance <player> [currency] Show balances
/currency give|take|set <player> <currency> <amount> Change a balance (admin)
/currency create <id> <name> <symbol> [decimal] Create a currency (admin)
/currency delete <id> Delete a currency (admin)
/currency menu / reload Open the menu / reload currencies. Alias: /curr
/balance [player] [currency] Show a balance. Aliases: /bal, /money
/pay <player> <amount> [currency] Send money or a currency to another player
/baltop [currency] Show the richest players. Alias: /balancetop
/eco <give|take|set|reset> <player> [amount] [currency] Change a balance (admin)
/payhistory [player] [page] Open the payment history menu. Aliases: /phistory, /payhist
/paylog [recent|player|between|large|stats|summary|purge] Admin view of all payments. Alias: /payadmin
/paylock player <name> [reason] Stop a player from using /pay
/paylock unlock <name> Unlock a player
/paylock list / status List locks / show the global lock state
/paylock all <on|off> Lock or unlock paying for everyone

Without a currency, /balance, /pay, /baltop and /eco use the Vault money economy, or Reward's main currency when one is set. Add a currency id at the end to use another one. The id money (economy.money-id) always means the Vault money economy.

Amounts in /pay, /eco, /currency give|take|set and the per-currency commands accept the suffixes k, m, b and t (1.5k, 2m) and , or _ as separators (1_000).

Every enabled currency also gets its own commands, added and removed live when you create, edit, disable or delete it. The base name is the command key in currencies.yml (default: the id without a trailing s, so coins gives /coinpay):

Command Description
/<base>pay <player> <amount> Pay that currency
/<base>bal [player] Show a balance. Alias: the currency id
/<base>top Richest players of that currency. Players get the leaderboard menu instead when a board with the same id as the currency exists
/<base>give|take|set <player> <amount> Change a balance (admin)
/<base>reset <player> Reset a balance (admin)

Kill log

Command Description
/killstreakadmin <player> Show every player that player has killed, how many times and when. Alias: /ksadmin. Needs reward.killstreak.admin

Every player kill is recorded, including kills that paid nothing because of the lockout or same-IP rule. Players get a menu (gui/killlog.yml) that can be sorted by most killed or most recent, with repeat victims shown in red and a summary of total kills, different players and repeat victims. The console gets a text list. The target must be online or known to the server.

Leaderboards

Command Description
/leaderboards Open the leaderboard hub. Aliases: /lb, /leaderboard
/lb <id> [page] [period] Open one board
/<board command> Open a board directly, for example /kills, /kills 2, /kills weekly
/stats [player] Open a player's stats
/lbholo Place and manage board holograms (place, delete, update, list, cancel)
/lbadmin Open the leaderboards admin menu

/lbadmin subcommands: panel, list, info <id>, create <id> [title], clone <id> <new-id>, delete <id> confirm, enable|disable <id>, set <id> <field> <value>, refresh [id], reward <id>, value <id> <player> set|add|remove [amount], reset <id> [period|all] confirm, api status|restart|key <name>, hologram create <preset> <id>|create <board>|update [id]|remove <id>|list|engine, reload.

Board commands never replace a command that already exists (for example /balance, /money, /baltop). Such a board is still available as /reward:<command>, so the default Money board uses /moneytop.

Permissions

Permission Default Description
reward.admin op Reward, booster, AFK zone and key-all commands and menus
reward.currency.use true /currency, /balance and checking balances
reward.currency.list true List currencies
reward.currency.admin op Create, delete and modify currencies, /eco
reward.balance.others op Check another player's balance
reward.pay true Use /pay
reward.baltop true Use /baltop
reward.payhistory true View your own payment history
reward.payhistory.others op View another player's payment history
reward.payhistory.admin op /paylog and large payment alerts
reward.killstreak.admin op /killstreakadmin
reward.paylock op /paylock and the lock buttons in the payment menu
reward.paylock.bypass op Keep paying while paying is locked for everyone
reward.currency.<id>.pay true Pay that currency (/pay and /<base>pay)
reward.currency.<id>.balance true Check that currency's balance
reward.currency.<id>.top true See that currency's top list
reward.currency.<id>.admin op Admin commands of that currency (reward.currency.admin also works)
reward.receive.kill true Receive kill rewards
reward.receive.booster-interval true Receive booster payouts and use boosters
reward.receive.permission-rewards true Receive permission rewards
reward.bypass.blacklist false Ignore the world/area blacklist (ops always bypass)
leaderboards.view true Leaderboard menus and board commands
leaderboards.stats true /stats
leaderboards.stats.other op /stats <player>
leaderboards.holo op /lbholo
leaderboards.admin op /lbadmin and the leaderboard admin menus

The permission nodes Reward checks can be changed under permissions: in config.yml (and under leaderboards.permissions: for leaderboards).

Configuration

Files: config.yml, messages.yml, database.yml, boosters.yml, afkzones.yml, keyalls.yml, permissions.yml, currencies.yml, gui/*.yml (menu and dialog texts) and leaderboards/*.yml (one file per board). Durations are written like 30s, 5m, 1h 30m, 1d. Missing settings are added automatically when the plugin updates, keeping your values and comments. Each updated file also gets a <file>.new copy (for example config.yml.new) with the latest defaults, and migration.log lists every setting that was added. A yml file that cannot be read is not overwritten: a copy is saved as <file>.broken and the defaults are used until you fix it.

Main config.yml:

Key Default Description
debug false Extra diagnostic output
accent-color &#00D4FF Accent color used by every message and menu
settings.tick-interval-ticks 20 How often each player is checked for boosters, permission rewards, AFK zones and personal key-alls
settings.permission-cache-seconds 15 How long a player's best matching permission reward is remembered. A permission change shows up within this time. 0 checks every tick
settings.command-cooldown-ms 1000 Wait between uses of admin commands that have a cooldown
settings.max-reward-value 1000000 Biggest amount one booster payout may give
settings.max-booster-duration 365d Longest booster duration
settings.offline-cache-seconds / offline-cache-size 30 / 1000 How long, and for how many players, balances of offline players are remembered for placeholders
settings.cache-sweep-seconds 60 How often leftover balance caches of players who never finished logging in are cleaned
settings.papi-retry-ticks 100 If PlaceholderAPI refuses an expansion (reward, lb), retry once after this many ticks
features.* true Turn boosters, afk-zones, keyalls, permission-rewards, kill-rewards and currencies on or off
economy.main-currency empty Currency id that becomes the server economy (see Economy below). Empty = Vault money
economy.secondary-currency coins Currency listed after money in the currency menu and shown by /stats
economy.coins-to-secondary-currency false Also credit the coins of boosters, AFK zones and permission rewards to the secondary currency
economy.baltop-size 10 Players shown by /baltop (1-100)
economy.money-id money Id that selects the Vault money economy in /eco, /balance, /pay, /baltop
economy.money-reset-balance 0.0 Balance /eco reset gives on the money economy
economy.use-playerpoints true Pay coins through PlayerPoints
economy.use-coinsengine false Pay coins through CoinsEngine
economy.coinsengine-currency-id coins CoinsEngine currency to pay
economy.use-vault true Pay money through Vault
economy.coins-per-kill 10.0 Coins per player kill (PlayerPoints / CoinsEngine)
economy.money-per-kill 0.0 Vault money per player kill
economy.kill-lockout-enabled true After a kill counts, nobody gets a reward, killstreak progress or kill stat for killing that victim again until the lockout time has passed
economy.kill-lockout-seconds 21600 Lockout length (6 hours). 0 = no lockout. Saved across restarts
economy.kill-locked-stat-revert true A kill blocked by the lockout or the same-IP rule is taken back from the killer's kill stat, so it does not count on kill boards or the kill/death ratio. The victim's death still counts
economy.kill-stat-revert-delay-ticks 2 Ticks to wait before taking the kill stat back
economy.kill-same-ip-blocked true A kill where killer and victim connect from the same IP address gives no reward, killstreak progress or kill stat, and does not start the lockout
economy.kill-same-ip-exempt empty list IP addresses never treated as one network (shared homes, VPN exits). Local and private addresses are always exempt
economy.kill-cooldown-seconds 5 Wait before the same victim pays again
economy.victim-interval-seconds 300 Anti-farm window
economy.max-kills-per-victim-per-interval 5 Rewarded kills of one victim per window
economy.kill-history-max-age-seconds 600 How long kill history is remembered for the anti-farm checks
economy.kill-history-cleanup-seconds 300 How often old kill history is cleaned up. Needs a restart
kill-rewards.currency coins Reward currency credited for a kill. Empty or missing = coins only go to PlayerPoints / CoinsEngine
kill-rewards.amount 10.0 Amount per kill
kill-rewards.action-bar-color &#00FF9D Color of the kill reward action bar text
payhistory.enabled true Record payments and enable /payhistory and /paylog
payhistory.page-size 8 Lines per page in text views
payhistory.retention-days 90 Older records are deleted on startup. 0 keeps everything
payhistory.log-eco true Also record /eco changes
payhistory.alert-threshold 0.0 Staff with reward.payhistory.admin get an alert for payments this large or larger. 0 = off
payhistory.large-default 10000.0 Minimum amount /paylog large uses when none is typed
payhistory.date-format dd MMM HH:mm Date format of every history line (Java pattern)
payhistory.gui-rows-per-page 36 Payments per page in the menu (1-36)
payhistory.gui-summary-hours 24 Hours the all-payments view of the menu summarises
payhistory.gui-heads true Show the other player's head on each payment
paylock.global-default false Paying is locked for everyone when no stored state exists
paylock.block-receiving false Locked players also cannot be paid
formats.amount #,##0.## How coin and money amounts look in messages
afk.* Defaults for new AFK zones: default-interval, default-coins, default-money, default-radius, wand-material, status-actionbar
keyall.* default-interval, default-start-delay-ticks, countdown-seconds (when countdown warnings are shown), personal-countdown
permissions.* reward.* Permission nodes Reward checks, for example admin, pay, killstreak-admin, paylock-bypass
sounds.* Master switch and the sounds used by messages
blacklist.worlds [] Worlds with no rewards
blacklist.areas {} Cuboid areas (world, min, max) with no rewards
messages.enabled.* true Toggle kill-reward, passive-reward, booster-activate and booster-expire messages

Item name and lore colors for the AFK wand, booster items and leaderboard menus are under style:.

database.yml:

Key Default Description
storage.type yaml yaml, sqlite or mysql. Restart after changing
storage.flush-interval-seconds 5 How often pending balance and statistic changes are written
storage.sync-read-timeout-ms 750 Longest wait for a database answer where the server cannot wait asynchronously
storage.backlog-warn / backlog-warn-interval-seconds 2000 / 30 Warn when this many database tasks are waiting, and how often to repeat the warning
storage.mysql.* localhost host, port, database, user, password, use-ssl, max-pool-size and connection timeouts

Reward types, each defined under its own id:

File Per-entry keys
permissions.yml permission, coins-per-interval, money-per-interval, interval. Pays the best matching reward only
boosters.yml display-name, enabled, duration, permission, temporary-permission (LuckPerms), everywhere, passive-reward (coins-per-interval, money-per-interval, interval, currency), item, currencies, permission-reward-ids, message-activate, message-expire
afkzones.yml world, min, max, enabled, rewards (coins-per-interval, money-per-interval, interval, payout plugin switches), messages (reward, enter and leave texts, chat or action bar). Players in a zone get only the zone reward
keyalls.yml commands (%player%; a [player] prefix runs it as the player; a [chance:N] prefix runs it for each player only N percent of the time, for example [chance:0.5], and can be combined as [chance:2] [player] spawn), enabled, type (global or personal), run-on-start, start-delay-ticks, interval (enabled, every), messages (countdown and announce texts)
currencies.yml display-name, symbol, format, decimal, starting-balance, enabled, command, pay-enabled, pay-min, pay-max, pay-tax-percent, pay-cooldown-seconds, kill-reward-amount, sounds.pay, sounds.receive

Everything above can also be created from /reward menu without editing files. Create forms are pre-filled with defaults, ids are optional (made from the name when left blank), and boosters, key-alls, permission rewards and currencies can be duplicated.

Economy

Currencies are separate balances per player (gems, tokens, coins). A new player gets each currency's starting-balance on first join.

By default money is the Vault economy of your money plugin and Reward keeps no copy of those balances. To make Reward the server economy, pick a currency as main: /reward menu > Currencies > pick one > Set as main, or set economy.main-currency to its id. Reward then registers that currency as the Vault economy so shops, auctions and jobs plugins use it, and money rewards are paid in it. Remove other economy plugins so only one is active.

Per currency you can set whether it can be paid (pay-enabled), the smallest and largest payment, a tax percent, a cooldown between payments and the sounds played. /pay <player> <amount> <currency> follows the same rules as the currency's own /<base>pay.

Payment history: every /pay and /eco change is stored. /payhistory [player] [page] opens a menu with the payments as player heads, with date, amount and direction, paging, a filter (All, Sent, Received, and All Players for admins) and totals. /paylog has the text views recent, player, between, large, stats, summary and purge.

Pay locks: /paylock stops one player, or everyone, from using /pay. Locks survive restarts, every change is written to the payment history and announced to the player and online staff, and staff with reward.paylock can lock from the payment menu. A player with reward.paylock.bypass can still pay during a lock for everyone.

Kill rewards: a player kill credits kill-rewards.amount of kill-rewards.currency (default 10 coins) and shows +10 Coins in the action bar. A currency can set its own kill-reward-amount. Kills between players on the same IP address, and repeat kills of one victim during the lockout, pay nothing and do not count on kill boards (see the economy.kill-* keys). /killstreakadmin <player> shows who a player has killed.

Coin booster: boosters.yml ships coin-booster (3 coins every minute into the coins currency, in every world, 1 day). Give it with /booster give <player> coin-booster [duration] or from the booster menu.

Leaderboards

Reward includes a full leaderboard module. Settings are under leaderboards: in config.yml, texts under leaderboards: in messages.yml, menus in gui/leaderboards-*.yml and one file per board in leaderboards/. leaderboards.enabled: false turns it off. /reward reload or /lbadmin reload applies changes.

Eight boards are included: money, coins, kills, deaths, playtime, blocks_broken, blocks_placed and sell_earnings. Create more in game with /lbadmin create <id>, from the admin menu, or by copying a board file (leaderboards/_template.yml documents every option). Set show-in-hub: false in a board file to leave it out of the /leaderboards hub; its own command still works.

Number sources

Every board file has a source:

Source Where the number comes from
PLACEHOLDER Any PlaceholderAPI placeholder (placeholder:). Needs PlaceholderAPI
STATISTIC A Bukkit statistic (statistic:, statistic-qualifier:)
VAULT Player balance from the Vault economy
CURRENCY Balances of a Reward currency (currency:)
KDR Kills divided by deaths
KILL_STREAK Kills in a row, streak-mode: CURRENT or BEST
CUSTOM Numbers stored by Reward, written by the API, other plugins or /lbadmin value

Statistics that need a block, item or mob take a statistic-qualifier: * adds all of them together, BLOCKS counts every block item (blocks placed), or give a list such as DIAMOND_ORE,ANCIENT_DEBRIS. The current kill streak is held in memory and resets on restart.

Values can be shown as COMPACT (1.2K), COMMAS, FULL, TIME or CUSTOM ({value}, {compact}, {hours}, {raw}).

Periods

Add periods: [LIFETIME, DAILY, WEEKLY, MONTHLY] to a board. A period ranking shows the change since the period started. When a period ends, the finished top is archived, a reset event and webhook are sent, rewards.pay-on-reset can pay the final standings, and the period starts again from zero. leaderboards.periods sets the time zone, reset hour and first day of the week. Players switch periods with the clock button in the board menu or /kills daily.

/lbadmin reset <id> [period|all] confirm restarts a board. Boards that read a statistic or placeholder cannot lose the real data, so resetting their lifetime ranking starts counting from zero at that moment.

Java players see leaderboards as dialogs (leaderboards.default-view: dialog) with player heads and a paged full list. Bedrock players (recognised through Floodgate, Geyser or a UUID prefix) get the chest menu (bedrock-view: gui). Players cannot choose the menu. If a dialog cannot be built, the chest menu opens instead. Each board has an accent color for its menus, dialog and hologram.

/stats [player] opens a dialog with the player's head and Money, Coins, Playtime, Kills, Deaths, Mobs Killed, Blocks Placed and Blocks Broken, plus optional Sell totals. Lines and order are in gui/leaderboards-stats.yml.

/lbadmin opens the admin panel: Board Manager (create, clone, edit, enable, disable, delete), Hologram Editor, Cache and Performance, Player Lookup, Rewards Editor and REST API status. Every change is written to the board file and applied live.

Holograms

Board holograms use FancyHolograms when it is installed (leaderboards.hologram.backend: AUTO, FANCY or BUILTIN) and built-in text displays otherwise. Create one where you stand with /lbadmin hologram create <preset> <id>, or use the Hologram Manager menu. Presets: kills, playtime, money, coins, deaths, blocks_broken, blocks_placed, sell_earnings. Holograms show ten rows, optional player heads, and a row with the viewer's own rank. With FancyHolograms the own row needs PlaceholderAPI (%lb_<board>_ownrow%). /lbholo place <board> places one by right-clicking a block.

Rewards

Each board has rewards.tiers (a rank like 1 or a range like 4-10). Each line is one of:

Line Pays
currency:<id>:<amount> A Reward currency (works for offline players)
coins:<amount> Reward coins
money:<amount> Vault money
anything else A console command. {player}, {uuid}, {place}, {value}, {board} are replaced

Rewards are paid on rewards.interval-hours, with /lbadmin reward <id>, from the rewards editor, through the REST API, and when a period ends (rewards.pay-on-reset).

Placeholders

Requires PlaceholderAPI.

Placeholder Description
%reward_booster_active% true / false
%reward_booster_name% Active booster name, or none
%reward_booster_time% Time left on the active booster
%reward_booster_multiplier_coins% Coins value of the active booster, e.g. 5.0x
%reward_booster_multiplier_money% Money value of the active booster
%reward_can_receive% true if no booster is active and a permission reward applies
%reward_playtime% The player's play time as days and hours, for example 2d 5h, or 5h under a day (online players only)
%reward_balance% Formatted balance (main currency, or Vault money)
%reward_balance_raw% Raw balance
%reward_currency_<id>% Formatted balance
%reward_currency_<id>_raw% Raw balance
%reward_currency_<id>_symbol% Currency symbol
%reward_currency_<id>_name% Currency display name
%reward_paylocked% true / false, whether paying is locked for the viewer
%reward_keyall_<id>_time% Formatted time until the next run of a key-all
%reward_keyall_<id>_seconds% The same in seconds
%lb_<id>_top_<n>% Player name at rank n
%lb_<id>_value_<n>% Value at rank n
%lb_<id>_rank% Your rank
%lb_<id>_myvalue% Your value
%lb_<id>_total% Number of ranked players
%lb_<id>_ownrow% Your own row, used by FancyHolograms

Currency and balance placeholders also work for offline players. For a personal key-all each viewer sees their own timer. For period rankings add the period to the board id: %lb_kills_daily_top_1%, %lb_kills_weekly_rank%.

Integrations

Plugin Enables
Vault Money payouts. Reward can also register itself as the Vault economy
PlayerPoints Coin payouts
CoinsEngine Coin payouts in a CoinsEngine currency
LuckPerms Temporary permissions while a booster is active
PlaceholderAPI Placeholders above, placeholders in key-all commands, and placeholder-based boards
FancyHolograms Draws the board holograms
Floodgate / Geyser Detects Bedrock players so they get the chest menu

Developer API

Reward registers net.spxry.reward.leaderboards.api.LeaderboardsAPI as a Bukkit service. Compile against Reward.jar (it is not on a public repository), add Reward to depend or softdepend in your plugin.yml, and fetch it from the ServicesManager:

RegisteredServiceProvider<LeaderboardsAPI> provider =
    getServer().getServicesManager().getRegistration(LeaderboardsAPI.class);
LeaderboardsAPI api = provider.getProvider();

List<RankedEntry> top = api.topCached("kills", Period.DAILY, 10, 0);

api.registerBoard(this, BoardSpec.of("quests_done", "&6Quests Done"));
api.addValue("quests_done", player.getUniqueId(), player.getName(), 1);
Method Notes
boards(), board(id) Board information
topCached(id, period, limit, offset) Cached ranking. Instant and safe on any thread
top(id, period, limit, offset) Refreshes first and completes on a worker thread. Do not block on it from a game thread
rank(id, period, uuid), ranks(uuid, period) A player's rank on one board or all boards
value(id, uuid) Stored number (CUSTOM / KILL_STREAK) or cached lifetime value
setValue, addValue, removePlayer Only for writable boards (CUSTOM, KILL_STREAK)
reset(id, period), refresh(id) Restart or refresh a board
archives(id, period, count) Finished standings of a period
registerBoard(plugin, spec), unregisterBoard(plugin, id) Runtime-only CUSTOM board owned by your plugin, removed when your plugin disables

Events (fired on the global region thread on Folia, the main thread on Paper):

  • LeaderboardRefreshEvent after every board refresh
  • LeaderboardResetEvent when a period ends or a board is reset
  • LeaderboardRankChangeEvent when a player inside leaderboards.events.rank-change-top changes rank

Reward has no other public developer API or custom events.

REST API

An embedded HTTP API for websites and bots. It is off by default: set leaderboards.api.enabled: true and run /lbadmin reload. Default address http://127.0.0.1:8765/api/v1/<tier>/....

Tier Auth Methods Notes
public none GET Per-address rate limit, cached replies, CORS via cors-origins
private API key GET, POST, PUT, DELETE Scopes read, write, admin. Disabled by default (api.private.enabled)

Public endpoints:

Endpoint Description
GET /health Status and uptime
GET /boards List enabled boards
GET /boards/{id}?limit=&offset=&period= Ranking. period is LIFETIME, DAILY, WEEKLY or MONTHLY
GET /boards/{id}/player/{uuid|name}?period= One player's place on a board
GET /players/{uuid|name}?period= A player's place on every board
GET /boards/{id}/archive?period=&count= Last finished standings of a period

Private endpoints add GET /boards/{id}/raw, POST /boards/{id}/refresh, POST /boards/{id}/reset, PUT /boards/{id}/player/{uuid}, POST /boards/{id}/player/{uuid}/add, DELETE /boards/{id}/player/{uuid}, POST /boards, DELETE /boards/{id}, GET /stats, GET /rewards and POST /rewards/{id}/trigger. Value writes only work on writable boards and otherwise answer 409 board_not_writable.

Generate an API key in game with /lbadmin api key <name> and copy the entry into leaderboards.api.private.api-keys (only the SHA-256 hash is stored, with scopes and optional allowed-ips). Send the key as Authorization: Bearer <key> or X-API-Key: <key>. Errors are JSON with an error code and HTTP status, and the message texts are editable in leaderboards.api.messages.

Keep bind-address on 127.0.0.1 and publish only /api/v1/public/ through a reverse proxy that adds TLS. When behind a proxy set trusted-proxy-header so rate limits and IP allowlists see the real client.

Webhooks

Set leaderboards.api.webhooks.enabled: true, add receiver urls and a secret. Reward POSTs JSON for RANK_CHANGE and RESET events and retries failed deliveries. Requests carry X-Leaderboards-Event, X-Leaderboards-Timestamp (seconds) and X-Leaderboards-Signature: sha256=<hex>, the HMAC-SHA256 of <timestamp>.<raw body> with your secret. Verify the signature and check the timestamp on your receiver.

FAQ

Why am I not getting rewards? Check the blacklist, AFK zones (they replace other rewards), your reward.receive.* permissions, that the feature is on under features: in config.yml, and that a payout plugin (Vault, PlayerPoints, CoinsEngine) is enabled in config.yml.

Booster payouts replace my rank reward? Yes. Players with an active booster are paid by the booster, not by permission rewards.

Can I run key-alls per player? Set type: personal so every player has their own timer, or global for one shared timer.

Do changes to database.yml apply on reload? No. Restart the server after changing the storage type.

Do boosters stack, and do they survive a restart? A player has one active booster at a time. A booster pays only while the player is online and pauses when they quit. Active boosters are not kept across a server restart.

Why does my kill not count? The same victim does not count again for economy.kill-lockout-seconds (6 hours by default), a kill where you and the victim share an IP address never counts (economy.kill-same-ip-blocked), and the anti-farm cooldown and per-victim limit also apply. /killstreakadmin <player> shows a player's recorded kills.

How do I make Reward my server economy? Set a currency as main (/reward menu > Currencies > Set as main, or economy.main-currency). Vault is required, and other economy plugins should be removed.

Why is a board command like /balance not opening a board? Board commands never override existing commands. Use /reward:<command>, or give the board another command.