Ya está aquí RoodyDonations v1.0.0Ver novedades →
RoodyDonations
v1.0.0 Paper 1.20.4+
Guías · Archivos

waves.yml

# ============================================================
#  RoodyDonations · waves.yml — GG waves (also in /donations admin > GG waves)
#  While a wave is open, every player who says GG gets the rewards once per wave and their
#  message shows as a rainbow line. A GG claims every open wave; a second GG is normal chat.
#  By hand: /ggwave start <player> [amount] [seconds]
#  Placeholders in the rewards: {player} (who said GG), {sponsor}, {amount}, {package}, {count}.
# ============================================================

enabled: true
# true = every donation opens a wave (a package can say wave: on/off).
auto-start: true
# Donations below this do not open one by themselves (0 = all).
min-amount: 0
# How long a wave is open.
seconds: 20

# What counts as GG. Any case and repeated letters work ("GGGG!" = "gg").
words: [gg, ggs, "good game"]
# exact = the message is only that; starts = it starts with it ("gg pepe"); contains = anywhere.
match: exact

# true = the GG is replaced by a rainbow line (lang: wave.rainbow-line).
replace-message: true
rainbow:
  bold: false
  # Text in front of the line ({decorator} in the lang file).
  decorator: "✦ "
  # 0 to 1.
  saturation: 0.75
  brightness: 1.0

# Seconds left for the players who have not said GG yet.
countdown:
  actionbar: true
  bossbar: false
  bossbar-color: pink

sounds:
  start: "ui.toast.challenge_complete 0.6 1.2"
  end: "block.note_block.pling 0.8 0.7"
  claim: "entity.experience_orb.pickup 0.7 1.3"

# For each GG, every wave.
rewards:
  - "give {player} diamond 1"
# Each line on its own, with a chance: "<chance %> <command>".
random-rewards:
  - "20 give {player} emerald 2"
# Extra for the first players of each wave.
first:
  players: 3
  rewards:
    - "give {player} golden_apple 1"
# For the one who donated, when the wave ends with at least min-gg GGs. {count} = how many.
sponsor:
  min-gg: 1
  rewards: []

# "34 players said GG to Pepe" when it ends.
summary: true

anti-abuse:
  # One reward per IP and wave (alt accounts).
  one-per-ip: true
  # true = only players who were online when the wave started.
  only-online-at-start: false
  # Players who did not move for this long get nothing (0 = off).
  afk-seconds: 120
  # The one who donated can say GG to their own wave.
  sponsor-can-claim: false
  # Minutes played on the server needed (0 = off).
  min-playtime-minutes: 0
  # Permission needed ("" = roodydonations.wave.claim, which everyone has).
  permission: ""