πŸ’‘ Examples & Use Cases

Here are a few scenarios that show how flexibly you can use Helutilities. You can copy these directly into your config.yml.

Scenario 1: Rare Treasure Hunt

Encourage players to mine by adding a very rare but valuable reward to a common block.

reward-blocks:
  DEEPSLATE:
    rewards:
      # In addition to normal drops...
      # A one in a thousand chance to find a Netherite Block!
      - "item NETHERITE_BLOCK 1 0.1"
    effects:
      # Only play a special effect for this rare drop
      - "firework"

Scenario 2: Boss Fight Loot

Make boss fights more meaningful by guaranteeing multiple rewards.

reward-mobs:
  ender_dragon:
    rewards:
      - "item DRAGON_EGG 1 100"
      - "item ELYTRA 1 100"
      - "exp 12000 100"
      - "money 50000.0 100"
      - "command 100 broadcast &5%player% has defeated the Ender Dragon and claimed a legendary prize!"
      - "title 100 &5&lVICTORY|&dThe Ender Dragon has been defeated!"
    effects:
      - "firework"
      - "sound ENTITY_ENDER_DRAGON_DEATH"

Scenario 3: Thematic Fishing

Give players fun, thematic potion effects while fishing.

reward-fishing:
  rewards:
    - "item COD 1 50"
    - "money 25.0 10"
    # A 2% chance for Water Breathing for 2 minutes
    - "effect 2 WATER_BREATHING 120 0"
    # A 5% chance for a "TREASURE!" title
    - "title 5 &b&lTREASURE!|&3You pulled something special from the depths!"
  effects:
    - "sound ENTITY_FISHING_BOBBER_SPLASH"
    - "particle WATER_BUBBLE"

Last updated