šŸ’£Bombs

Here at AbyssDev we understand that players may get bored by simply ONLY mining, hence Coral features a fantastic bombs module for players to throw across their mine.

Animation Types

In coral, there are a total of 6 different animation types. Each animation has a different break pattern on impact. To specify an animation for your bomb specify the animation type you would like next to the animation: setting under your bomb. Below is a description of each animation types which you can use:

  • Default -> Creates a normal crater in the mine on impact.

  • Scatter -> Creates a crater and launches tnt upwards, which fall down and scatter across your mine. Each tnt destroys a certain radius of blocks.

  • Void -> Spawns a void after destroying blocks of a specified radius, which also sucks in and destroys more blocks.

  • Pyro -> Destroys random blocks in intervals on every layer of your mine.

  • Poison -> Slowly poisions a radius of blocks, replacing them with slime blocks and eventually destroying them.

  • Arctic -> Replaces the whole layer of blocks with ice, destroying them after.

HINT: When specifying a value for animation: make sure the value is all lowercase.

Bomb Settings

This section contains an explanation on all settings which you may change around.

"default":
    radius: 10
    currency-multiplier: 2.0
    velocity-multiplier: 2.0
    animation: "default"
    animation-settings:
        trail-particle: "ORANGE"
        explosion-particle: "EXPLOSION_HUGE"
        max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
    nametag:
        height-offset: 3.5
        name:
            - "&6&m----------------------------"
            - ""
            - "&e&l%player%'s &6&lBOMB"
            - "&7&oTime until explosion: &f&o%time%"
            - ""
            - "&6&m----------------------------"

The field radius: simply changes the radius of the first initial crater created by the bomb on impact. However when configuring the Arctic bomb, radius represents the amount layers which will be frozen over and destroyed. Bombs also allow you to multiply the currency earned per block destroyed by the brain, this can be achieved by changing the currency-multiplier:. It is important to note that this will multiplier will affect all currencies which this block can sell for, specified in the autosell.yml. Altering the velocity-multiplier: changes the speed of the bomb.

As explained before animation: changes the animation type of the bomb. You can also change the effects of the bomb whilst its in the air. The trail-particle: changes the particle trail which follows the bomb when thrown. The explosion-particle: is the particle which is shown when the bomb impacts the mine. To change how long the bomb will continue flying for (unless it hits the mine), you can alter max-runtime: with the amount of ticks you would like. This time will countdown and replace the %time% placeholder in the nametag section.

Configuration Files

configs/bombs.yml
bombs:
    "default":
        radius: 10
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "default"
        animation-settings:
            trail-particle: "ORANGE"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&6&m----------------------------"
                - ""
                - "&e&l%player%'s &6&lBOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&6&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWUzMmJkYzU2NzVlOGVlMDViNjc3ZTlhZGM2MDRmNDQ1MTcxZGM5NGUzZTRlZDRjN2ZhNDNiNTY5MGZhMzMyYiJ9fX0="
            name: "&6&l[&e&l!&6&l] &eDefault Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&eInformation"
                - "&eā†’ &7Type: &fDefault"
                - "&eā†’ &7Radius: &f10x10"
                - " "
                - "&eDescription"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
    "scatter":
        radius: 15
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "scatter"
        animation-settings:
            trail-particle: "RED"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&4&m----------------------------"
                - ""
                - "&c&l%player%'s &4&lSCATTER BOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&4&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjRmODE1YmNiYWMyMzczNDA0NjRiNzc3ODA3ZjI2YjVlOTMxN2MxOWQ1NzlkYTJkZDk0Y2JiYzZhMGRlNTEzOCJ9fX0="
            name: "&4&l[&c&l!&4&l] &cScatter Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&cInformation"
                - "&cā†’ &7Type: &fScatter"
                - "&cā†’ &7Radius: &f15x15"
                - " "
                - "&cDescription"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
    "void":
        radius: 25
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "void"
        animation-settings:
            animation-particle: "PURPLE"
            trail-particle: "PURPLE"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&5&m----------------------------"
                - ""
                - "&d&l%player%'s &5&lVOID BOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&5&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGQzZWNlNTdmODYyZmUxNGIxZmVkY2Y4Zjc5NmNmMzE3NGU5MGNhY2ZiMDIwYTIxYjU5OWY4NDE2N2E2NjVkNyJ9fX0="
            name: "&5&l[&d&l!&5&l] &dVoid Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&dInformation"
                - "&dā†’ &7Type: &fVoid"
                - "&dā†’ &7Radius: &f25x25"
                - " "
                - "&dDescription"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
    "pyro":
        radius: 50
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "pyro"
        animation-settings:
            animation-particle: "LAVA"
            trail-particle: "YELLOW"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&e&m----------------------------"
                - ""
                - "&6&l%player%'s &e&lPYRO BOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&e&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWE2OWNjZjdhZDkwNGM5YTg1MmVhMmZmM2Y1YjRlMjNhZGViZjcyZWQxMmQ1ZjI0Yjc4Y2UyZDQ0YjRhMiJ9fX0="
            name: "&e&l[&6&l!&e&l] &6Pyro Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&6Information"
                - "&6ā†’ &7Type: &fPyro"
                - "&6ā†’ &7Radius: &f50x50"
                - " "
                - "&6Description"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
    "poison":
        radius: 25
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "poison"
        animation-settings:
            trail-particle: "LIME"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&2&m----------------------------"
                - ""
                - "&a&l%player%'s &2&lPOISON BOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&2&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGQ5ZThkZTFmZTE3NjA4Mzg2OWUzMDI1MjRjNjUwMTBkN2NmMmUzMWIwNjNlYmI4YmM3NmI3OWQxNDEzMCJ9fX0="
            name: "&2&l[&a&l!&2&l] &aPoison Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&aInformation"
                - "&aā†’ &7Type: &fPoison"
                - "&aā†’ &7Radius: &f25x25"
                - " "
                - "&aDescription"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
    "arctic":
        radius: 3 #For the arctic animation radius is the amount of mine layers
        currency-multiplier: 2.0
        velocity-multiplier: 2.0
        animation: "arctic"
        animation-settings:
            trail-particle: "CYAN"
            explosion-particle: "EXPLOSION_HUGE"
            max-runtime: 200 #10 seconds (How long until it cancels unless it hits the mine)
        nametag:
            height-offset: 3.5
            name:
                - "&3&m----------------------------"
                - ""
                - "&b&l%player%'s &3&lARCTIC BOMB"
                - "&7&oTime until explosion: &f&o%time%"
                - ""
                - "&3&m----------------------------"
        item:
            material: "PLAYER_HEAD"
            skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGRiYTY0MmVmZmZhMTNlYzM3MzBlYWZjNTkxNGFiNjgxMTVjMWY5OTg4MDNmNzQ0NTJlMmUwY2QyNmFmMGI4In19fQ=="
            name: "&3&l[&b&l!&3&l] &bArctic Mine Bomb &7(Right-Click)"
            lore:
                - " "
                - "&bInformation"
                - "&bā†’ &7Type: &fArctic"
                - "&bā†’ &7Radius: &f3 Mine Layers"
                - " "
                - "&bDescription"
                - "&7Throw this bomb into the mine and wait"
                - "&7for it to &fexplode&7."
                - " "
                - "&7&o(( Right-Click this &f&obomb&7&o to use it! ))"
configs/settings.yml
command:
    name: "bombs"
    aliases:
        - "bomb"
        - "cbomb"
        - "cbombs"
        - "coralbomb"
        - "coralbombs"
lang.yml
messages:
    "admin-help":
        sound:
            enabled: true
            value: "BLOCK_NOTE_PLING"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&6&m------------------------------------------"
                - " "
                - "&e&lCoral&6&lPrisons &8&lā†’ &eBombs Module"
                - "&7&oMade by &f&oRelocation#0001&7&o."
                - " "
                - "&7<> = Required"
                - "&7[] = Optional"
                - " "
                - "&e&lCOMMANDS:"
                - "&e&lā†’ &7/bombs give <player> <type> <amount>"
                - "&e&lā†’ &7/bombs help"
                - " "
                - "&6&m------------------------------------------"
    "bomb-given":
        sound:
            enabled: true
            value: "BLOCK_NOTE_PLING"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&e&lCoral&6&lPrisons &8&lā†’ &7You have given &e%player% %amount%x %bomb%&7 bomb(s)."
    "bomb-received":
        sound:
            enabled: true
            value: "BLOCK_NOTE_PLING"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&e&lCoral&6&lPrisons &8&lā†’ &7You have received &e%amount%x %bomb%&7 bomb(s)."
    "invalid-player":
        sound:
            enabled: true
            value: "FIZZ"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&c&lCoral&4&lPrisons &8&lā†’ &7You have specified an &cinvalid&7 player."
    "invalid-bomb":
        sound:
            enabled: true
            value: "FIZZ"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&c&lCoral&4&lPrisons &8&lā†’ &7You have specified an &cinvalid&7 mine bomb."
    "invalid-integer":
        sound:
            enabled: true
            value: "FIZZ"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&c&lCoral&4&lPrisons &8&lā†’ &7You have specified an &cinvalid&7 integer of mine bomb(s)."
    "no-permission":
        sound:
            enabled: true
            value: "FIZZ"
            volume: 1
            pitch: 1
        message:
            enabled: true
            value:
                - "&c&lCoral&4&lPrisons &8&lā†’ &7You do not have &cpermission&7 to perform this action."

Last updated