Crystals

Overview

The Crystal System allows players to enhance their tools and weapons with special booster crystals. These crystals provide various benefits including currency boosts, enchantment boosts, and other special effects.

Basic Configuration

Crystal Slots

default-crystal-slots: 3

Players start with 3 crystal slots by default. Administrators can add more slots using the command:

/crystals addslots <Player> <Amount>

Duplicate Crystal Policy

can-have-same-booster-crystal: true
  • true: Players can apply multiple crystals with the same booster type

  • false: Only one crystal per booster type is allowed

Sound Effects

crystal-applied-sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
crystal-broke-sound: "BLOCK_ANVIL_DESTROY"
crystal-invalid-sound: "ENTITY_VILLAGER_NO"

Sound Triggers:

  • crystal-applied-sound: Plays when a crystal is successfully applied

  • crystal-broke-sound: Plays when a crystal breaks or is removed

  • crystal-invalid-sound: Plays when application fails (insufficient slots or duplicate boosters)

Crystal Types

Currency Boost Crystals

To create crystals that boost currencies, use the currency ID as the boost value.

Common Currency Examples:

  • souls - Soul currency

  • shards - Shard currency

  • essence - Essence currency

Enchantment Boost Crystals

To create crystals that boost specific enchantments, use the enchantment ID as the boost value.

Common Enchantment IDs:

  • soulgreed - Soul Greed enchantment

  • keyfinder - Key Finder enchantment

  • nuke - Nuke enchantment

  • fortune - Fortune enchantment

  • efficiency - Efficiency enchantment

All Enchants Boost Crystal

To create crystals that boost ALL enchantments on a tool, use "all-enchants" as the boost value.

Configuration Parameters

Multiplier Ranges

  • Format: min-max (e.g., 50-150 for 50% to 150% boost)

  • Single value: 75 (fixed 75% boost)

Chance Ranges

  • Format: min-max (e.g., 75-100 for 75% to 100% success rate)

  • Single value: 85 (fixed 85% success rate)

Placeholder Variables

Use these placeholders in your crystal lore:

  • {chance} - Shows the crystal's success chance

  • {multiplier} - Shows the crystal's boost multiplier

Custom Format Strings

Define custom format strings for different boost types:

Complete Example Configuration

Last updated