VortexDevelopment Docs
Github
  • Welcome
  • Projects
    • VortexPrisonCore
      • Commands and Permissions
      • AutoBlock
      • AutoSell
      • Backpack
      • Bombs
      • Boosters
      • Collections
      • Vouchers
      • Economy
      • Mines
      • Pickaxe
      • Ranks
      • Mine Treasures
      • Tips
      • Developer API
  • For Developers
    • VInject
    • VInject Intellij Plugin
    • VortexCore
Powered by GitBook
On this page
  1. Projects
  2. VortexPrisonCore

Bombs

The Bombs System allows players to use throwable or placeable bombs that explode after a set delay. Each bomb tier increases the explosion radius and fuse time.

Admins can distribute bombs using /bombs give <player> <bomb> [amount].

Configuration

Bombs:
  Tier1:
    Explosion Radius: 4
    Drop Sound: FUSE
    Explosion Sound: EXPLODE
    Explosion Particle: EXPLOSION_NORMAL
    Fuse Time: 3
    Item:
      Glow: true
      Material: TNT
      Name: '&c&lTier I Bomb'
      Lore:
        - '&7Throw or place this bomb down and run!'
        - ''
        - '&7This bomb will explode in &c3 seconds&7!'
        - '&7Creates explosions with a radius of &c2 blocks&7!'
      Custom Model Data: 0
  Tier2:
    Explosion Radius: 6
    Drop Sound: FUSE
    Explosion Sound: EXPLODE
    Explosion Particle: EXPLOSION_NORMAL
    Fuse Time: 5
    Item:
      Glow: true
      Material: TNT
      Name: '&c&lTier II Bomb'
      Lore:
        - '&7Throw or place this bomb down and run!'
        - ''
        - '&7This bomb will explode in &c5 seconds&7!'
        - '&7Creates explosions with a radius of &c4 blocks&7!'
      Custom Model Data: 0

Explanation

Bomb Tiers

Each bomb tier defines a stronger explosion with a longer fuse time.

  • Explosion Radius: The size of the explosion.

  • Drop Sound: The sound played when the bomb is placed or thrown (FUSE).

  • Explosion Sound: The sound played when the bomb explodes (EXPLODE).

  • Explosion Particle: The particle effect used for the explosion (EXPLOSION_NORMAL).

  • Fuse Time: The countdown (in seconds) before detonation.

  • Item:

    • Glow: Whether the bomb glows in the inventory.

    • Material: The item type (default: TNT).

    • Name: The display name of the bomb.

    • Lore: The description shown when hovering over the bomb.

    • Custom Model Data: Custom texture ID for resource packs.

Example

Tier3:
  Explosion Radius: 8
  Drop Sound: FUSE
  Explosion Sound: EXPLODE
  Explosion Particle: EXPLOSION_NORMAL
  Fuse Time: 7
  Item:
    Glow: true
    Material: TNT
    Name: '&c&lTier III Bomb'
    Lore:
      - '&7Throw or place this bomb down and run!'
      - ''
      - '&7This bomb will explode in &c7 seconds&7!'
      - '&7Creates explosions with a radius of &c6 blocks&7!'
    Custom Model Data: 0

This means Tier III Bomb: 1- Explodes 7 seconds after being thrown 2- Has an 8-block explosion radius 3- Plays fuse and explosion sounds 4- Uses TNT with a glowing effect

Customization

  • Adjust Explosion Radius for more or less damage.

  • Modify Fuse Time to change the countdown before detonation.

  • Change Material to another item (e.g., FIREWORK_ROCKET).

  • Edit Lore to customize the in-game description.

PreviousBackpackNextBoosters

Last updated 2 months ago