RoodyProxy v2.3.1 is outSee what’s new →
RoodyEvents · Files

events/mining-contest.yml

# ------------------------------------------------------------
#  RoodyEvents · events/mining-contest.yml — who mines the most in 10 minutes.
#  The keys are explained in events/supply-drop.yml. Menu: /events edit mining-contest
#
#  competition: goal = mine, kill-mobs, kill-players, fish or xp. targets = which blocks
#  (mine), mobs (kill-mobs) or catches (fish) count; empty = all. rewards: console commands
#  for the top 1, 2 and 3 and for everyone with at least min-score ("participation"):
#  {player}, {rank}, {score}, {event}. top = how many are shown at the end.
#  same-ip: false = killing a player with the same IP does not count (kill-players).
# ------------------------------------------------------------
name:
  en: "<gradient:#C0C0C0:#5EC8FF><bold>Mining Contest</bold></gradient>"
  es: "<gradient:#C0C0C0:#5EC8FF><bold>Concurso de minería</bold></gradient>"
description:
  en:
    - "&7Mine as many blocks as you can."
    - "&7The top 3 win prizes!"
  es:
    - "&7Mina todos los bloques que puedas."
    - "&7¡Los 3 primeros ganan premios!"
icon: IRON_PICKAXE
duration: 10m
enabled: true
auto: true
weight: 10
min-players: 2
worlds: []
bossbar:
  enabled: true
  color: white
title: true
messages:
  start: []
  end: []
modules:
  contest:
    type: competition
    goal: mine
    targets:
      - "#minecraft:base_stone_overworld"
      - "#minecraft:base_stone_nether"
      - "#minecraft:coal_ores"
      - "#minecraft:iron_ores"
      - "#minecraft:copper_ores"
      - "#minecraft:gold_ores"
      - "#minecraft:redstone_ores"
      - "#minecraft:lapis_ores"
      - "#minecraft:diamond_ores"
      - "#minecraft:emerald_ores"
    min-score: 20
    top: 3
    rewards:
      "1":
        - "minecraft:give {player} diamond 8"
        - "minecraft:give {player} experience_bottle 32"
      "2":
        - "minecraft:give {player} diamond 4"
      "3":
        - "minecraft:give {player} diamond 2"
      participation:
        - "minecraft:give {player} iron_ingot 4"
    actionbar: true
    same-ip: false
    spawner-mobs: false