RoodyDonations v1.0.0 is outSee what’s new →
RoodyDonations
v1.0.0 Paper 1.20.4+
Guides · 4 / 19

Packages

packages.yml (or /donations admin > Packages) says what happens for each donation. A donation finds its package by the name the store sends (its id or one of its store-names, any case). When the store sends no package, or one you don't have, it uses the package whose price range has the amount (four come ready: small up to 4.99, donation up to 19.99, big from 20, and a VIP example by name).

Each package has: its name (one per language if you want), its effect packs, the buyer's commands (buyer-must-be-online: true = they wait until the buyer joins), commands for everyone online (once per player: {player} is that player, {buyer} the buyer), whether it opens a GG wave (default, on, off) and for how long, its own announcement lines and whether it counts for the goal, the top and the tiers.

Command lines run from the console. Start one with [player] to run it as the player, [message] to send them a text, [broadcast] for everyone or [sound] for a sound. Placeholders: {player}, {buyer}, {amount} (12,50€), {amount_raw} (12.50), {package}, {package_id}.