Skip to content

config.yml

Atsuquipro edited this page Jun 2, 2026 · 2 revisions

config.yml

version: 1.0.0

messages:
  prefix: "&7[&e&lCE&7] &a->&r "
  no-permission: "%prefix% &cno tienes permisos para hacer eso"
  start: "%prefix% &eel evento %event% comenzo"
  stop: "%prefix% &eel evento %event% termino"
  reload: "%prefix% &aconfiguracion recargada"
  no-sleep-message: "&c¡No puedes dormir ahora!"

config:
  worlds: #mundos donde los eventos funcionaran
    - world
    - exampleworld1
    - exampleworld2
  event-time: 300 #en segundos
  startup-delay: 300 #en segundos
events:
  acid-rain:
    chance: 15 #la probabilidad que tienen los eventos deactivarse de forma random
    min-duration: 3 #en minutos
    max-duration: 10 #en minutos
    enabled: false #determina si el evento puede activarse de forma random o no
    damage-percent: 10 #porcentaje de daño, utiliza la vida maxima
    damage-interval: 2 #en segundos
    alert:
      title: "&c¡Peligro!"
      subtitle: "&c¡Ponte bajo techo!"
      time: 20 #en ticks (20 ticks = 1 segundo)
  dark-night:
    chance: 20
    min-duration: 5
    max-duration: 15
    interval-check: 2 #en segundos
    enabled: true
    light-level: 10
    effects:
      - "DARKNESS:1:400"
      - "SLOWNESS:2:400"
    alert:
      title: "&c¡Peligro!"
      subtitle: "&c¡Busca luz"
      time: 20
  blessing:
    chance: 20
    min-duration: 5
    max-duration: 15
    interval-check: 2
    enabled: true
    effects:
      - "SPEED:1:400"
      - "STRENGTH:2:400"
  scorching-sun:
    chance: 10
    min-duration: 5
    max-duration: 15
    damage-percent: 10
    damage-interval: 1
    enabled: true
    visual-fire: false
    alert:
      title: "&c¡Peligro!"
      subtitle: "&c¡Ponte bajo techo!"
      time: 20
  cold:
    chance: 5
    min-duration: 3
    max-duration: 10
    damage-percent: 5
    damage-interval: 1
    enabled: true
    visual-cold: true
    alert:
      title: "&c¡Peligro!"
      subtitle: "&c¡&bHace mucho frio&c!"
      time: 20
  blood-moon:
    chance: 5
    min-duration: 10
    max-duration: 20
    interval-check: 10
    enabled: true
    mob-spawn-interval: 100
    mobs-per-spawn: 3
    min-spawn-distance: 5
    clear-mobs-on-end: true
    force-day-on-end: true
    miniboss:
      type: WITHER_SKELETON
      health: 100
      name: "&4&lGuardián de la Luna"
      min-spawn-distance: 10
      attributes:
        MOVEMENT_SPEED: 0.3
        KNOCKBACK_RESISTANCE: 0.5
        ATTACK_DAMAGE: 8.0
        SCALE: 2.0
      drops:
        - "DIAMOND:1:100"
        - "NETHERITE_INGOT:1:10"
        - "WITHER_SKELETON_SKULL:1:5"
    mob-list:
      - ZOMBIE
      - SKELETON
      - SPIDER
  random-tp:
    chance: 10
    min-duration: 3
    max-duration: 8
    enabled: true
    interval-check: 5
    radius: 10
    alert:
      title: "&d¡Teletransporte!"
      subtitle: "&7Estás siendo teletransportado..."
      time: 20
  meteorite:
    chance: 5
    min-duration: 1
    max-duration: 3
    enabled: true
    interval-check: 20
    radius: 30
    power: 5
    burst: true
    fire: true
    lightning: true
    block:
      block-material: DIAMOND_BLOCK
      block-chance: 50
    alert:
      title: "&cMeteorito"
      subtitle: "&cUn meteorito cayo cerca de tu ubicacion"
      time: 20
  moreXp:
    chance: 15
    min-duration: 3
    max-duration: 10
    enabled: true
    xp-boost: 2
    active-alert: true
    alert:
      title: "&eMoreXp!"
      subtitle: "&emas Experiencia!"
      time: 20
  creepers:
    chance: 2
    min-duration: 1
    max-duration: 3
    interval-check: 200
    enabled: true
    amount: 3
    min-spawn-distance: 10
    alert:
      title: "&cCreepers!"
      subtitle: "&cUn creeper aparecio cerca de tu ubicacion!"
      time: 20
static-events:
  #si activas un evento estatico se recomienda desactivar el evento random del apartado de events
  #los eventos estaticos usan la misma configuracion que los eventos normales ej: la lluvia acida
  #la lluvia acida ara el porcentaje de daño que se aya asignado en el evento random
  acid-rain: true
  bloodmoon: false
  scorching-sun: false
  cold: false
  dark-night: false
  blessing: false
  moreXp: false

Español

Sección de mensajes

En esta sección puedes modificar o traducir los mensajes del plugin.

messages:
  prefix: "&7[&e&lCE&7] &a->&r "
  no-permission: "%prefix% &cno tienes permisos para hacer eso"
  start: "%prefix% &eel evento %event% comenzo"
  stop: "%prefix% &eel evento %event% termino"
  reload: "%prefix% &aconfiguracion recargada"
  no-sleep-message: "&c¡No puedes dormir ahora!"

Sección de configuración

En esta sección puedes definir ciertos parámetros para el plugin.

  • worlds — lista de mundos donde el plugin activa los eventos
  • event-time — cada cuánto se activa un evento random (en segundos)
  • startup-delay — tiempo de espera desde que inicia el servidor antes de activar un evento (en segundos)
config:
  worlds:
    - world
    - exampleworld1
    - exampleworld2
  event-time: 300
  startup-delay: 300

Sección de eventos

Esta sección contiene la configuración de cada evento. Opciones comunes:

  • chance — probabilidad de activarse de forma random (0-100)
  • min-duration / max-duration — duración mínima y máxima en minutos
  • enabled — si puede activarse de forma random o no
  • damage-percent — porcentaje de daño basado en la vida máxima del jugador
  • damage-interval — intervalo de daño en segundos
  • interval-check — cada cuántos segundos se ejecuta la lógica del evento
  • alert.title / alert.subtitle — título y subtítulo que se muestra al jugador
  • alert.time — duración del título en ticks (20 ticks = 1 segundo)
events:
  acid-rain:
    chance: 15
    min-duration: 3
    max-duration: 10
    enabled: false
    damage-percent: 10
    damage-interval: 2
    alert:
      title: "&c¡Peligro!"
      subtitle: "&c¡Ponte bajo techo!"
      time: 20
  # ... resto de eventos

Sección de eventos estáticos

Define qué eventos permanecen activos de forma permanente según condiciones del mundo. Se recomienda desactivar el evento normal si se activa su versión estática.

static-events:
  acid-rain: true
  bloodmoon: false
  scorching-sun: false
  cold: false
  dark-night: false
  blessing: false
  moreXp: false

English

Messages section

In this section you can modify or translate the plugin messages.

messages:
  prefix: "&7[&e&lCE&7] &a->&r "
  no-permission: "%prefix% you don't have permission to do that"
  start: "%prefix% the event %event% has started"
  stop: "%prefix% the event %event% has ended"
  reload: "%prefix% configuration reloaded"
  no-sleep-message: "&c¡You can't sleep right now!"

Configuration section

In this section you can define certain parameters for the plugin.

  • worlds — list of worlds where the plugin will activate events
  • event-time — how often a random event is activated (in seconds)
  • startup-delay — waiting time from when the server starts before activating an event (in seconds)
config:
  worlds:
    - world
    - exampleworld1
    - exampleworld2
  event-time: 300
  startup-delay: 300

Events section

This section contains the configuration for each event. Common options:

  • chance — probability of activating randomly (0-100)
  • min-duration / max-duration — minimum and maximum duration in minutes
  • enabled — whether the event can be activated randomly
  • damage-percent — damage percentage based on the player's max health
  • damage-interval — damage interval in seconds
  • interval-check — how often the event logic runs in seconds
  • alert.title / alert.subtitle — title and subtitle shown to the player
  • alert.time — title duration in ticks (20 ticks = 1 second)

Static events section

Defines which events remain permanently active based on world conditions. It is recommended to disable the normal event if its static version is activated.