Skip to content

Configuration — particles.yml ​

The particles.yml file controls the particles emitted during mine events: reset start, reset end and mine creation.

To apply changes run /mine reload.


Full file with comments ​

yaml
# ============================================================
#  NXMines — Particles
#  particle: name of the Bukkit Particle enum
#  count: number of particles to emit
#  offset-x/y/z: spread radius on each axis
#  extra: speed / extra value (depends on the particle type)
#  enabled: true/false
#
#  For REDSTONE dust particles:
#    color: "#RRGGBB"
#    dust-size: 1.0
# ============================================================

reset:
  start:
    enabled: true
    particle: HAPPY_VILLAGER
    count: 40
    offset-x: 1.0
    offset-y: 1.5
    offset-z: 1.0
    extra: 0.0

  complete:
    enabled: true
    particle: TOTEM_OF_UNDYING
    count: 60
    offset-x: 1.5
    offset-y: 2.0
    offset-z: 1.5
    extra: 0.0

mine:
  created:
    enabled: true
    particle: HAPPY_VILLAGER
    count: 30
    offset-x: 0.5
    offset-y: 0.5
    offset-z: 0.5
    extra: 0.0

Event reference ​

SectionDescription
reset.startParticles at the start of a mine reset.
reset.completeParticles when a mine reset completes.
mine.createdParticles when a new mine is created.

Fields per event ​

FieldTypeDescription
enabledBooleanIf false, particles for this event are disabled.
particleStringName of the Bukkit Particle enum (e.g. HAPPY_VILLAGER, FLAME, REDSTONE).
countIntegerNumber of particles to emit.
offset-xDoubleSpread radius on the X axis.
offset-yDoubleSpread radius on the Y axis.
offset-zDoubleSpread radius on the Z axis.
extraDoubleExtra particle speed (varies by type).

REDSTONE-type particles ​

For REDSTONE type particles you can add the following extra fields:

yaml
reset:
  complete:
    enabled: true
    particle: REDSTONE
    count: 60
    offset-x: 1.5
    offset-y: 2.0
    offset-z: 1.5
    extra: 0.0
    color: "#FF4444"
    dust-size: 1.5
FieldTypeDescription
colorString (HEX)Color of the REDSTONE particle in #RRGGBB format.
dust-sizeDoubleSize of the redstone dust.

Common particle examples ​

Particle nameDescription
HAPPY_VILLAGERBright green happy villager particles.
TOTEM_OF_UNDYINGDramatic totem of undying effect.
FLAMESmall flames.
HEARTHearts.
CRITCrits (golden stars).
SPELL_WITCHPurple witch particles.
EXPLOSION_NORMALSmall explosion.
REDSTONERedstone dust with configurable color.

See the Bukkit documentation for the full list of particles available in your version.

Desarrollado con ❤️ por Naxito's Studios