Exylia Plugins

Default Items

Defaults items auto-generated

1v1

# ===== ITEM =====

material: "ECHO_SHARD"
name: '&#ca9a121v1 &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a121v1'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 1 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "1v1"
action-config:
  # Mode can be "fixed" or "region_mapping"
  mode: "fixed"

  # For fixed mode: specify a single arena
  arena: "example-arena"
  
#  # Mode: region_mapping for location-based arena selection
#  mode: "region_mapping"
#
#  # Map WorldGuard regions to specific arenas
#  region_mapping:
#    "spawn": "spawn-arena"
#    "pvp-zone": "main-pvp-arena"
#    "crystal-area": "crystal-arena"
#    "pot-area": "pot-arena"
#    "mazo-area": "mazo-arena"
#
#  # Default arena if player is not in any mapped region
#  default_arena: "default-arena"
  
  # Boss bar de countdown durante la pelea
  fight-bossbar:
    enabled: true
    text: "{warning}⚔ &fTime: {warning}%time_formatted% &f| {error}%player1% &fvs {error}%player2%"
    color: "RED"
    style: "PROGRESS"
    permanent: false
    update-interval: 20
  
  # Boss bar de countdown durante la fase de loot
  loot-bossbar:
    enabled: true
    text: "{success}💰 &fLoot Time: {success}%time_formatted%"
    color: "GREEN"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

anti_build

# ===== ITEM =====

material: "IRON_BARS"
name: '&#ca9a12Anti-Build &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Anti-Build'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "anti_build"
action-config:
  duration: 10.0
  block_all: false
  blocked_materials: # Only if block_all is false
    - "COBWEB"
  
  # Efectos cuando se activa la restricción de construcción
  restriction-effects:
    particles:
      enabled: true
      particles:
        - "BARRIER|10|1.0|1.0|1.0|0.1"
        - "BLOCK_CRACK|15|0.8|1.2|0.8|0.1|BEDROCK"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_ANVIL_LAND|0.7|2.0"
        - "ENTITY_IRON_GOLEM_HURT|0.8|1.5"
    fireworks:
      enabled: false
      fireworks: []
  
  # Efectos cuando el jugador intenta construir algo bloqueado
  blocked-effects:
    particles:
      enabled: true
      particles:
        - "VILLAGER_ANGRY|5|0.5|1.0|0.5|0.1"
        - "BLOCK_DUST|10|0.5|0.8|0.5|0.1|REDSTONE_BLOCK"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_VILLAGER_NO|0.8|1.2"
        - "BLOCK_STONE_BREAK|0.6|2.0"
    fireworks:
      enabled: false
      fireworks: []
  
  # Boss bar de countdown para mostrar duración de la restricción
  bossbar:
    enabled: true
    text: "&c🏗 &fConstrucción bloqueada: &e%time_formatted% &f- &7%blocked_materials% materiales"
    color: "RED"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

anti_item

# ===== ITEM =====

material: "POPPED_CHORUS_FRUIT"
name: '&#ca9a12Anti-Item &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Anti-Item'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "anti_item"
action-config:
  duration: 10.0
  block_all: false
  blocked_items: # Only if block_all is false
    - "ELYTRA"
  
  # Efectos cuando se activa la restricción de items
  restriction-effects:
    particles:
      enabled: true
      particles:
        - "BARRIER|10|1.0|1.0|1.0|0.1"
        - "BLOCK_CRACK|15|0.8|1.2|0.8|0.1|REDSTONE_BLOCK"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_ANVIL_LAND|0.7|2.0"
        - "ENTITY_ITEM_BREAK|1.0|0.8"
    fireworks:
      enabled: false
      fireworks: []
  
  # Efectos cuando el jugador intenta usar un item bloqueado
  blocked-effects:
    particles:
      enabled: true
      particles:
        - "VILLAGER_ANGRY|5|0.5|1.0|0.5|0.1"
        - "SMOKE_NORMAL|8|0.3|0.8|0.3|0.05"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_VILLAGER_NO|0.8|1.2"
        - "BLOCK_NOTE_BLOCK_BASS|0.6|0.5"
    fireworks:
      enabled: false
      fireworks: []
  
  # Boss bar de countdown para mostrar duración de la restricción
  bossbar:
    enabled: true
    text: "&c🚫 &fItems bloqueados: &e%time_formatted% &f- &7%blocked_items% items"
    color: "RED"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

armor_reducer

# ===== ITEM =====

material: "SOUL_LANTERN"
name: '&#ca9a12Armor Reducer &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Armor Reducer'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "armor_reducer"
action-config:
  reduce-percent: 0.5

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

block_cleaner

# ===== ITEM =====

material: "SHEARS"
name: '&#ca9a12Block cleaner &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Block cleaner'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "block_cleaner"
action-config:
  radius: 5.0
  drop-items: false
  material: COBWEB
  type: SPHERE
  position: CIRCULAR

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

block_creator

# ===== ITEM =====

material: "COBWEB"
name: '&#795548Block Creator &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fCreates temporary block structures'
  - ' &8▎ &fCan create spheres, cubes or floors'
  - ' &8▎ &fBlocks disappear automatically'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#795548Block Creator'
cancel-event: true
stackable: false
max-uses: 3
cooldown: 45.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "block_creator"
action-config:
  radius: 5.0 # structure radius
  material: "COBWEB" # block material
  type: "SPHERE" # SPHERE or CUBOID
  position: "CIRCULAR" # CIRCULAR or RECTANGULAR (for floors)
  replace-water: true # replace water
  thickness: 1.0 # wall thickness (for hollow structures)
  remove-duration: 30 # seconds before removing blocks (-1 = permanent)
  
  # Boss bar for destruction countdown
  bossbar:
    enabled: true
    title: "&c⚠ Blocks will be destroyed in &f%seconds%s"
    color: "RED"
    style: "SEGMENTED_20"
  
  # Effects when destroying blocks
  destruction-effects:
    particles:
      enabled: true
      particles:
        - "BLOCK_CRACK|5|0.5|0.5|0.5|0.1|%material%"
        - "POOF|3|0.3|0.3|0.3|0.05"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_STONE_BREAK|0.5|1.0"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "BLOCK_DUST|20|2.0|2.0|2.0|0.1|COBWEB"
      - "EXPLOSION|5|1.0|1.0|1.0|0.1"
      - "SMOKE|10|1.5|1.5|1.5|0.05"
  sounds:
    enabled: true
    sounds:
      - "BLOCK_STONE_PLACE|1.0|0.8"
      - "ENTITY_EXPERIENCE_ORB_PICKUP|1.0|1.5"
  fireworks:
    enabled: true
    fireworks:
      - "BALL|121,85,72;139,69,19|255,255,255|true|false|1"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

cleaner

# ===== ITEM =====

material: "CLAY_BALL"
name: '&#ca9a12Cleaner &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Cleaner'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "cleaner"
action-config:
  remove-invulnerability: true
  remove-freeze-from-self: true
  effects-to-remove:
    - "POISON"

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

clone (require Citizens)

# ===== ITEM =====

material: "PLAYER_HEAD"
name: '&#4fc3f7Clone Master &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fRight click to create a clone'
  - ' &8▎ &fLeft click to swap position with clone'
  - ' &8▎ &fClone moves autonomously'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#4fc3f7Clone Master'
cancel-event: true
stackable: false
max-uses: 5
cooldown: 45.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "clone" # THIS ACTION NEED CITIZENS
action-config:
  duration: 30 # clone duration in seconds
  move-interval: 5 # movement interval in seconds
  min-radius: 3 # minimum movement radius
  max-radius: 8 # maximum movement radius
  spawn-offset: 0 # spawn offset (0 = same position as player)
  clone-name: "%player_name%"
  
  # Effects when creating the clone
  spawn-effects:
    particles:
      enabled: true
      particles:
        - "PORTAL|30|1.0|2.0|1.0|0.8"
        - "ENCHANTMENT_TABLE|25|1.5|2.5|1.5|0.5"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_ENDERMAN_TELEPORT|1.0|0.8"
        - "BLOCK_PORTAL_AMBIENT|0.8|1.2"
    fireworks:
      enabled: true
      fireworks:
        - "STAR|138,43,226;75,0,130|255,255,255|true|true|1"
        
  # Effects when swapping position
  swap-effects:
    particles:
      enabled: true
      particles:
        - "PORTAL|20|0.8|1.5|0.8|0.6"
        - "WITCH|15|0.5|1.0|0.5|0.3"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_ENDERMAN_TELEPORT|0.8|1.5"
    fireworks:
      enabled: false
      fireworks: []
        
  # Effects when removing the clone
  remove-effects:
    particles:
      enabled: true
      particles:
        - "POOF|20|1.0|1.0|1.0|0.1"
        - "SMOKE|10|0.8|0.8|0.8|0.05"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_GENERIC_EXTINGUISH_FIRE|0.7|1.0"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "ENCHANTMENT_TABLE|15|0.5|0.5|0.5|0.2"
      - "PORTAL|10|0.3|0.3|0.3|0.1"
  sounds:
    enabled: true
    sounds:
      - "ENTITY_PLAYER_LEVELUP|1.0|1.0"
  fireworks:
    enabled: true
    fireworks:
      - "BALL|79,195,247;138,43,226|255,255,255|true|false|1"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

damage

# ===== ITEM =====

material: "RED_DYE"
name: '&#ca9a12Damage &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Damage'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: RADIUS
action: "damage"
action-config:
  damage: 5.0
  only-players: true
  normal-damage: true
  radius: 5.0
  
  # Efectos cuando una entidad recibe daño
  damage-effects:
    particles:
      enabled: true
      particles:
        - "DAMAGE_INDICATOR|12|0.5|1.0|0.5|0.1"
        - "REDSTONE|8|0.3|0.8|0.3|0.1"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_PLAYER_HURT|0.8|1.0"
        - "ENTITY_LIGHTNING_BOLT_IMPACT|0.4|2.0"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

defensor

# ===== ITEM =====

material: "IRON_BLOCK"
name: '&#607d8bDefensor Golem &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fSummons a defender golem'
  - ' &8▎ &fAutomatically attacks nearby enemies'
  - ' &8▎ &fProtects you for a limited time'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#607d8bDefensor Golem'
cancel-event: true
stackable: false
max-uses: 2
cooldown: 120.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "defensor"
action-config:
  duration: 60 # golem duration in seconds
  range: 15 # enemy detection range
  shoot-interval: 20 # ticks between shots (1 second)
  damage: 4.0 # damage per projectile
  knockback: 0.5 # knockback force
  health: 50.0 # golem health
  projectile-speed: 2.0 # projectile speed
  defensor-name: "&7⚔ Defender of %player_name%"
  
  # Sound configuration
  spawn-sound: "ENTITY_IRON_GOLEM_HURT"
  shoot-sound: "ENTITY_SNOWBALL_THROW"
  remove-sound: "ENTITY_IRON_GOLEM_DEATH"
  
  # Particle configuration
  enable-particles: true

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "EXPLOSION|8|1.0|1.0|1.0|0.1"
      - "SMOKE|15|1.5|1.5|1.5|0.1"
      - "CRIT|10|0.8|0.8|0.8|0.2"
  sounds:
    enabled: true
    sounds:
      - "ENTITY_IRON_GOLEM_REPAIR|1.0|0.8"
      - "BLOCK_ANVIL_PLACE|0.8|1.2"
  fireworks:
    enabled: true
    fireworks:
      - "STAR|96,125,139;158,158,158|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

effect

# ===== ITEM =====

material: "ORANGE_DYE"
name: '{letters_black}» &#f56c42Super Fuerza {letters_black}[{success}%current_uses%{letters_black}/{error}%max_uses%{letters_black}]'
lore:
  - ' {letters_black}▎ {letters}Tiempo de espera {letters_black}» {info}45s ⌚'
  - ''
  - '{secondary}Información:'
  - ' {letters_black}▎ {letters}Al consumirse obtendrás {highlight}efectos'
  - ' {letters_black}▎ {highlight}potenciadores {letters}durante unos segundos.'
  - ''
  - '{secondary}Efectos:'
  - ' {letters_black}▎ {letters}Fuerza III {letters_black}» {info}5s ⌚'
  - ' {letters_black}▎ {letters}Velocidad III {letters_black}» {info}5s ⌚'
  - ''
  - '{warning}➥ Click para consumir'
  - ''

glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#f56c42ꜱᴜᴘᴇʀ ꜰᴜᴇʀᴢᴀ'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "effect"
action-config:
  effects:
    - "STRENGTH|3|5"
    - "SPEED|3|5"

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

effect_cleaner

# ===== ITEM =====

material: "PAPER"
name: '&#ca9a12Effects Cleaner &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Effects Cleaner'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "effect_cleaner"
action-config:
  effects:
    - "POISON"
    - "WITHER"
    - "LEVITATION"

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

effect_immunity

# ===== ITEM =====

material: "WHEAT"
name: '&#ca9a12Effects Immunity &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Effects Immunity'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "effect_immunity"
action-config:
  duration: 60
  remove-on-death: true
  persist: true
  effects:
    - "POISON"
    - "WITHER"
    - "LEVITATION"
  
  # Efectos cuando se activa la inmunidad a pociones
  immunity-effects:
    particles:
      enabled: true
      particles:
        - "SPELL_WITCH|20|1.0|1.5|1.0|0.2"
        - "PROTECTION_ENVIRONMENTAL|15|0.8|1.2|0.8|0.1"
    sounds:
      enabled: true
      sounds:
        - "ITEM_BOTTLE_EMPTY|1.0|0.6"
        - "ENTITY_WITCH_DRINK|0.8|1.2"
    fireworks:
      enabled: true
      fireworks:
        - "BALL|128,0,255;255,0,255|255,255,255|true|false|1"
  
  # Boss bar de countdown para mostrar duración de la inmunidad
  bossbar:
    enabled: true
    text: "&5🧪 &fInmune a efectos: &e%time_formatted% &f- &7%effects_count% efectos"
    color: "PURPLE"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

fake_projectile

# ===== ITEM =====

material: "ENDER_PEARL"
name: '&#ca9a12Fake Ender Pearl &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: false
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Fake Ender Pearl'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "fake_projectile"
action-config:
  projectile-type: ENDER_PEARL
  velocity: 1.0
  lifespan-ticks: 100
  show-trail: false
  trail-effect: "CLOUD"
  trail-interval: 2

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

fast_ender_pearl (override vanilla cooldown from config.yml)

# ===== ITEM =====

material: "ENDER_PEARL"
name: '&#ca9a12Fast Ender Pearl &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true
force-id: "vanilla_ender_pearl" # Required for vanilla override, "vanilla_" + item_type

# ===== CONFIGURATION ======

cooldown: 3.0 # seconds
cancel-event: false # Important: set this to false for vanilla override
trigger-type: "ON_PROJECTILE_LAUNCH" # Important: must match the vanilla trigger

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

flight

# ===== ITEM =====

material: "FEATHER"
name: '&#29b6f6Flight Wings &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fGrants temporary flight ability'
  - ' &8▎ &fPerfect for escaping or exploring'
  - ' &8▎ &fUse with moderation'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#29b6f6Flight Wings'
cancel-event: true
stackable: false
max-uses: 3
cooldown: 60.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "flight"
action-config:
  duration: 10 # flight duration in seconds

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "CLOUD|25|1.0|1.0|1.0|0.3"
      - "FIREWORK|15|0.8|0.8|0.8|0.1"
      - "END_ROD|10|0.5|0.5|0.5|0.2"
  sounds:
    enabled: true
    sounds:
      - "ENTITY_ENDER_DRAGON_FLAP|1.0|1.5"
      - "ENTITY_BAT_TAKEOFF|0.8|1.2"
  fireworks:
    enabled: true
    fireworks:
      - "BURST|173,216,230;41,182,246|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

freeze

# ===== ITEM =====

material: "ICE"
name: '&#ca9a12Freeze &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Freeze'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: RADIUS
action: "freeze"
action-config:
  duration: 3
  radius: 5.0

  # Efectos visuales cuando un jugador es congelado
  freeze-effects:
    particles:
      enabled: true
      particles:
        - "SNOW_SHOVEL|15|1.0|1.5|1.0|0.02"
        - "SPELL|10|0.8|1.2|0.8|0.1"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_GLASS_BREAK|0.8|0.6"
        - "ENTITY_PLAYER_HURT_FREEZE|1.0|1.2"
    fireworks:
      enabled: false
      fireworks: []
  
  # Boss bar de countdown para mostrar duración del freeze
  bossbar:
    enabled: true
    text: "&b❄ &fCongelado: &e%time_formatted% &f- &7%player_name%"
    color: "BLUE"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

freeze_cleaner

# ===== ITEM =====

material: "MAP"
name: '&#ca9a12Freeze Cleaner &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Freeze Cleaner'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "freeze_cleaner"
#action-config:

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

grappling_hook

# ===== ITEM =====

material: "FISHING_ROD"
name: '&#ff6b35Grappling Hook &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fDispara una flecha y te empuja hacia donde caiga'
  - ' &8▎ &fPerfecto para movilidad rápida como Batman'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ff6b35Grappling Hook'
cancel-event: true
stackable: false
max-uses: 10
cooldown: 5.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "grappling_hook"
action-config:
  arrow-speed: 3.0
  pull-force: 2.0
  max-distance: 40.0
  allow-wall-pull: true
  
  launch-effects:
    particles:
      enabled: true
      particles:
        - "SMOKE_NORMAL|10|0.3|0.3|0.3|0.1"
        - "SPARK|5|0.2|0.2|0.2|0.2"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_ARROW_SHOOT|0.8|0.8"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "REDSTONE|15|0.5|0.5|0.5|0.0|255,107,53"
      - "CLOUD|8|0.3|0.3|0.3|0.1"
  sounds:
    enabled: true
    sounds:
      - "BLOCK_PISTON_EXTEND|1.0|1.2"
  fireworks:
    enabled: true
    fireworks:
      - "STAR|255,107,53;255,215,0|255,255,255|true|false|1"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

inventory_opener

# ===== ITEM =====

material: "CRAFTING_TABLE"
name: '&#ca9a12Inventory Opener &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Inventory Opener'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "inventory_opener"
action-config:
  inventory: "CRAFTING"
  duration: 10
  probability: 0.25
  
  # Efectos cuando se golpea al objetivo marcado
  hit-effects:
    particles:
      enabled: true
      particles:
        - "VILLAGER_ANGRY|8|0.5|1.0|0.5|0.1"
        - "CRIT|5|0.3|0.8|0.3|0.05"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_VILLAGER_HURT|0.7|1.5"
    fireworks:
      enabled: false
      fireworks: []
  
  # Efectos cuando se abre efectivamente el inventario
  open-effects:
    particles:
      enabled: true
      particles:
        - "PORTAL|20|1.0|1.0|1.0|0.5"
        - "ENCHANTMENT_TABLE|15|0.8|1.2|0.8|0.3"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_CHEST_OPEN|1.0|0.8"
        - "ENTITY_ENDERMAN_TELEPORT|0.5|1.8"
    fireworks:
      enabled: false
      fireworks: []
  
  # Boss bar de countdown para mostrar duración del efecto
  bossbar:
    enabled: true
    text: "&c📦 &fInventario vulnerable: &e%time_formatted% &f- &7%probability%% chance"
    color: "RED"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

invisible

# ===== ITEM =====

material: "GLASS_BOTTLE"
name: '&#9c27b0Invisibility Potion &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fMakes you completely invisible'
  - ' &8▎ &fHides your presence from other players'
  - ' &8▎ &fCan prevent damage while invisible'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#9c27b0Invisibility Potion'
cancel-event: true
stackable: false
max-uses: 4
cooldown: 40.0

# ===== ACTIONS =====

trigger-type: IMMEDIATE
action: "invisible"
action-config:
  duration: 15 # invisibility duration in seconds
  delay: 60 # delay ticks before applying invisibility (3 seconds)
  delay-effect-ticks: 2 # effect interval during delay
  hide-from-all: true # hide from all players
  prevent-damage: true # prevent taking damage while invisible
  effects: # additional potion effects
    - "SPEED|1|15" # SPEED level 1 for 15 seconds
    - "NIGHT_VISION|0|15" # NIGHT VISION for 15 seconds
  
  # Boss bar during delay
  delay-bossbar:
    enabled: true
    title: "&7⏳ Applying invisibility... &8[&f%seconds%s&8]"
    color: "PURPLE"
    style: "SOLID"
    
  # Effects during delay
  delay-effects:
    particles:
      enabled: true
      particles:
        - "WITCH|8|0.5|1.0|0.5|0.1"
        - "PORTAL|5|0.3|0.8|0.3|0.05"
    sounds:
      enabled: true
      sounds:
        - "BLOCK_BREWING_STAND_BREW|0.5|1.5"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====

effects-on-use:
  particles:
    enabled: true
    particles:
      - "WITCH|20|1.0|1.5|1.0|0.2"
      - "PORTAL|15|0.8|1.2|0.8|0.1"
      - "SMOKE|10|0.5|0.8|0.5|0.05"
  sounds:
    enabled: true
    sounds:
      - "ENTITY_SPLASH_POTION_BREAK|1.0|0.8"
      - "ENTITY_WITCH_DRINK|0.8|1.2"
  fireworks:
    enabled: true
    fireworks:
      - "BALL|156,39,176;128,0,128|255,255,255|true|false|1"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

invulnerability

# ===== ITEM =====

material: "PRISMARINE_CRYSTALS"
name: '&#ca9a12Invulnerability &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Invulnerability'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "invulnerability"
action-config:
  duration: 5
  
  # Efectos cuando se activa la invulnerabilidad
  invulnerability-effects:
    particles:
      enabled: true
      particles:
        - "TOTEM|20|1.0|1.5|1.0|0.2"
        - "ENCHANTMENT_TABLE|15|0.8|1.2|0.8|0.1"
    sounds:
      enabled: true
      sounds:
        - "ITEM_TOTEM_USE|1.0|1.2"
        - "ENTITY_PLAYER_LEVELUP|0.8|1.5"
    fireworks:
      enabled: true
      fireworks:
        - "BURST|255,215,0;255,255,255|255,255,255|true|false|1"
  
  # Boss bar de countdown para mostrar duración de invulnerabilidad
  bossbar:
    enabled: true
    text: "&6🛡 &fInvulnerable: &e%time_formatted% &f- &7%player_name%"
    color: "YELLOW"
    style: "PROGRESS"
    permanent: false
    update-interval: 20

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

invulnerability_cleaner

# ===== ITEM =====

material: "FILLED_MAP"
name: '&#ca9a12Invulnerability Cleaner &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Invulnerability Cleaner'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: RADIUS
action: "invulnerability_cleaner"
action-config:

  radius: 5.0

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

push

# ===== ITEM =====

material: "WHITE_DYE"
name: '&#ca9a12Push &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Push'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: RADIUS
action: "push"
action-config:
  force: 2.0
  upward-force: true
  upward-multiplier: 0.5
  radius: 5.0
  
  # Efectos cuando una entidad es empujada
  push-effects:
    particles:
      enabled: true
      particles:
        - "EXPLOSION_NORMAL|15|1.0|1.0|1.0|0.3"
        - "CLOUD|10|0.8|0.5|0.8|0.2"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_GENERIC_EXPLODE|0.6|1.5"
        - "BLOCK_PISTON_EXTEND|0.8|1.2"
    fireworks:
      enabled: false
      fireworks: []

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

repair

# ===== ITEM =====

material: "EMERALD"
name: '&#ca9a12Push &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Push'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: IMMEDIATE
action: "repair"
action-config:
  type: "ALL" # ALL | ARMOR | HOTBAR | OFFHAND | ARMOR_AND_HOTBAR | HOTBAR_AND_OFFHAND | ARMOR_AND_OFFHAND

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

shuffle

# ===== ITEM =====

material: "BONE"
name: '&#ca9a12Shuffle &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Shuffle'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_HIT_PLAYER
action: "shuffle"
action-config:
  shuffle-type: "hotbar" # inventory | custom
  start-slot: 0
  end-slot: 8

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5

teleport

# ===== ITEM =====

material: "EGG"
name: '&#ca9a12Teleport Switch &8[&#ffc58f%current_uses%&8/&#8fffc1%max_uses%&8]'
lore:
  - ''
  - ' &8▎ &fYour description'
  - ' &8▎ &fYour description'
  - ''
glow: true
hide-attributes: true

# ===== CONFIGURATION ======

display-name: '&#ca9a12Teleport Switch'
cancel-event: true # Cancel the event when the item is used
stackable: false # Allow the item to be stacked
max-uses: 3 # Maximum number of uses
cooldown: 30.0 # seconds

# ===== ACTIONS =====

#commands:
#  - "console: effect give %player_name% minecraft:strength 30 2"
#  - "console: effect give %player_name% minecraft:speed 30 1"
#  - "player: say Hello!"

# Trigger types:
#  - IMMEDIATE -> Only affect the source player -> Apply action immediately
#  - AFTER_CONSUME -> Only affect the source player -> Apply action after the item is consumed (example: food, potions, etc.)
#  - ON_HIT_PLAYER -> Only affect the target player -> Apply action when the target player hit a player
#  - ON_PROJECTILE_HIT -> Only affect the target player -> Apply action when the target player is hit by a projectile
#  - RADIUS -> Only affect players in a radius of the source player -> Apply to all players in a radius of the source player
#  - HOLD -> Only affect the source player -> Apply every "hold-interval" ticks
trigger-type: ON_PROJECTILE_HIT
action: "teleport"
action-config:
  type: "SWITCH" # TO | BACK | SWITCH | RANDOM
  delay: 0
  
  # Efectos de teletransporte en ubicaciones de origen y destino
  teleport-effects:
    particles:
      enabled: true
      particles:
        - "PORTAL|25|1.0|2.0|1.0|0.5"
        - "ENCHANTMENT_TABLE|20|0.8|1.5|0.8|0.3"
    sounds:
      enabled: true
      sounds:
        - "ENTITY_ENDERMAN_TELEPORT|1.0|1.0"
        - "BLOCK_PORTAL_AMBIENT|0.7|1.8"
    fireworks:
      enabled: true
      fireworks:
        - "STAR|128,0,128;255,0,255|255,255,255|true|true|1"

# ===== VISUALS =====


effects-on-use:
  particles:
    enabled: true
    # Format: PARTICLE_NAME|COUNT|OFFSET_X|OFFSET_Y|OFFSET_Z|EXTRA|DATA
    # PARTICLE_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
    particles:
      - "FLAME|20|0.5|0.5|0.5|0.1"
  sounds:
    enabled: true
    # Format: SOUND_NAME|VOLUME|PITCH
    # SOUND_NAME: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sounds:
      - "ENTITY_LIGHTNING_BOLT_THUNDER|1.0|1.2"
  fireworks:
    enabled: true
    # Format: TYPE|COLORS|FADE_COLORS|FLICKER|TRAIL|POWER
    # TYPE: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
    fireworks:
      - "BALL|255,215,0;255,0,0|255,255,255|true|true|2"

# ===== WORLD-GUARD =====

#region:
#  type: WHITELIST # WHITELIST | BLACKLIST | NONE
#  checker: CONTAINS # CONTAINS | PRIORITY
#  list:
#    - "area-pvp"
#    - "arena-1|world_nether"  # For specific world
#  cooldowns: # Custom cooldowns by region
#    "area-pvp": 10.0
#    "arena-1": 15.5