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

packages.yml

# ============================================================
#  RoodyDonations · packages.yml — what happens for each donation (also in /donations admin)
#  A donation finds its package by the name the store sends (its id or store-names, any case);
#  when it sends none, by the amount (price-range). The one with the highest min wins.
#
#  name: shown as {package} (a text or one per language: {en: "...", es: "..."})
#  effects: packs of effects.yml played when it is announced
#  buyer-commands: for the buyer ({player}); buyer-must-be-online: true = they wait until they join
#  everyone-commands: once for every player online ({player} = that player, {buyer} = the buyer)
#  wave: default (waves.yml), on or off · wave-seconds: 0 = waves.yml's
#  announcement: lines next to the head instead of the lang file's ([] = those)
#  counts-for-goal: false = it does not add to the goal, the top or the tiers
# ============================================================
packages:
  small:
    enabled: true
    name: {en: "Small donation", es: "Donación pequeña"}
    store-names: []
    price-range: {enabled: true, min: 0, max: 4.99}
    effects: [small]
    buyer-commands: []
    buyer-must-be-online: true
    everyone-commands: []
    wave: default
    wave-seconds: 0
    announcement: []
    counts-for-goal: true
    icon: GOLD_NUGGET
  medium:
    enabled: true
    name: {en: "Donation", es: "Donación"}
    store-names: []
    price-range: {enabled: true, min: 5, max: 19.99}
    effects: [medium]
    buyer-commands: []
    buyer-must-be-online: true
    everyone-commands: []
    wave: default
    wave-seconds: 0
    announcement: []
    counts-for-goal: true
    icon: GOLD_INGOT
  big:
    enabled: true
    name: {en: "Big donation", es: "Gran donación"}
    store-names: []
    price-range: {enabled: true, min: 20, max: 0}
    effects: [big]
    buyer-commands: []
    buyer-must-be-online: true
    everyone-commands: []
    wave: on
    wave-seconds: 30
    announcement: []
    counts-for-goal: true
    icon: GOLD_BLOCK
  # An example of a package the store names: "donations give {name} {price} VIP".
  vip:
    enabled: true
    name: "&a&lVIP"
    store-names: ["VIP rank", "Rango VIP"]
    price-range: {enabled: false, min: 0, max: 0}
    effects: [medium]
    buyer-commands:
      - "[message] &aThanks for buying VIP, {player}!"
    buyer-must-be-online: true
    everyone-commands: []
    wave: default
    wave-seconds: 0
    announcement: []
    counts-for-goal: true
    icon: EMERALD