SiegeEngines icon

SiegeEngines -----

Adds working trebuchets, cannons and ballistas!



SiegeEngines is a public fork of CrunchSiegeEquipment, originally developed by TheRealCrunch.

Description:

SiegeEngines uses armor stands with custom models and textures in order to add four new "Siege Engines" to the game. They are:
  • Trebuchet
  • Ballista
  • Swivel Cannon
  • Breach Cannon
These fully working Siege Engines are perfect for medieval/early modern servers looking to add flavor to their PvP or PvE experience. They are also highly configurable.

Usage:
After placing a siege engine, right click on it with a CLOCK to control and aim it. Next you must load the fuel. Trebuchets and ballistas take string, while the cannons take gunpowder. Next, load a projectile type such as cobblestone (for trebuchets and cannons). Finally, fire the Siege Engine by switching back to the Clock and right clicking the air. Alternatively, you can fire the Siege Engine by right clicking with Flint. Siege Engines can be disengaged by shift-right clicking on them with your hand, or by exiting their control range.

YouTube Showcase:

(Includes outdated models)


Crafting Recipes:
(Can be disabled in the config)

Trebuchet

upload_2024-4-6_16-32-50.png

Ballista
upload_2024-4-6_16-38-9.png

Swivel Cannon
upload_2024-4-6_16-36-20.png

Breach Cannon
upload_2024-4-6_16-37-19.png

Config:
(Includes documentation)
Code (Text):
# =================================================================
# |          SiegeEngines by C_CORP2002 & ShermansWorld           |
# |    ** Forked from CrunchSiegeEquipment by TheRealCrunch **    |
# =================================================================

# =====================================
# |         PERMISSION NODES          |
# =====================================
# siegeengines.command.getAll
# siegeengines.command.reload

# DO NOT CHANGE
config-version: 2

# =====================================
# |         GENERAL SETTINGS          |
# =====================================

# Enable/Disable Debug logging.
Debug: false

# The item used to aim and fire siege engines
# Must be a valid material. See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
ControlItem: CLOCK

# The item used to only fire siege engines, an alternative to using the control item
# Must be a valid material. See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
FireItem: FLINT
[/B]
# Allows the disabling of Arrow Damage towards SiegeEngines.
DisableArrowDamage: true

# Determines how close together two or more SiegeEngines can be placed together.
PlacementDensity: 2.5

# The maxmimum distance the player can be away from the SiegeEngine before total control is terminated
ControlDistance: 10

# The maximum distance the player can be away from the SiegeEngine before rotation control is terminated
RotateDistance: 10

# The maximum siege engines a player can control at the same time
MaxSiegeEnginesControlled: 1

# Whether or not the crafting recipes for siege engines are enabled
CraftingRecipes: true

# The auto-reload feature by shift-clicking
AutoReload: false

# Worlds where all Siege Engine actions will be disabled including placing and firing
DisabledWorlds:
  - world_nether
  - World-o_nether

# ======================================
# |            Projectiles             |
# ======================================

# You can define as many projectiles as you want for use in Siege Engines

# === Notes on projectile config options ===
# ProjectileType: ENTITY, EXPLOSIVE, FIRWORK or POTION
# ExplodePower: Only used in "EXPLOSIVE" projectile types, defines explosion power
# Inaccuracy: A factor of ramdomness (spread) applied to the aimed vector
# ProjectileCount: How many individual projectile entities will be fired
# VelocityFactor: How fast the projectile(s) will move through the air
# AmmoType: The item that must be loaded into the Siege Engine to produce the projectile
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# FireSound: What sound the Siege Engine makes when the projectile is fired
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# ArrowDamageFactor: A factor of arrow damage, only applies to ENTITY projectiles of type ARROW


Projectiles:
  StoneShot:
    ProjectileType: EXPLOSIVE
    ExplodePower: 3.25
    Inaccuracy: 0.125
    ProjectileCount: 1
    VelocityFactor: 1.0
    AmmoItem: COBBLESTONE
    FireSound: ENTITY_GENERIC_EXPLODE
  BreachShot:
    ProjectileType: EXPLOSIVE
    ExplodePower: 5.25
    Inaccuracy: 0.375
    ProjectileCount: 1
    VelocityFactor: 1.0
    AmmoItem: IRON_BLOCK
    FireSound: ENTITY_GENERIC_EXPLODE
  RepeatingShot:
    ProjectileType: EXPLOSIVE
    ExplodePower: 1.75
    Inaccuracy: 0.525
    ProjectileCount: 6
    VelocityFactor: 1.0
    AmmoItem: TNT
    FireSound: ENTITY_GENERIC_EXPLODE
  ScatterShot:
    ProjectileType: ENTITY
    Inaccuracy: 0.365
    ProjectileCount: 24
    VelocityFactor: 1.0
    EntityType: ARROW
    ArrowDamageFactor: 1.0
    AmmoItem: GRAVEL
    FireSound: ITEM_CROSSBOW_SHOOT
  BallistaBoltShot:
    ProjectileType: ENTITY
    Inaccuracy: 0.0125
    ProjectileCount: 1
    VelocityFactor: 0.5
    EntityType: ARROW
    ArrowDamageFactor: 1.0
    AmmoItem: ARROW
    FireSound: ITEM_CROSSBOW_SHOOT
  DragonsBreath:
    ProjectileType: ENTITY
    Inaccuracy: 0.65
    ProjectileCount: 3
    VelocityFactor: 1.125
    EntityType: DRAGON_FIREBALL
    AmmoItem: DRAGON_BREATH
    FireSound: ENTITY_GENERIC_EXPLODE
  FireShot:
    ProjectileType: ENTITY
    Inaccuracy: 0.475
    ProjectileCount: 8
    VelocityFactor: 1.0
    EntityType: SMALL_FIREBALL
    AmmoItem: MAGMA_BLOCK
    FireSound: ENTITY_GENERIC_EXPLODE
  FireworkShot:
    ProjectileType: FIREWORK
    Inaccuracy: 0.125
    ProjectileCount: 1
    VelocityFactor: 0.5
    Delay: 5
  SplashPotionProjectile:
    ProjectileType: POTION
    Inaccuracy: 0.0125
    ProjectileCount: 1
    VelocityFactor: 0.5
    AmmoItem: SPLASH_POTION
    FireSound: ITEM_CROSSBOW_SHOOT

# ======================================
# |            Siege Engines           |
# ======================================

# At this time you cannot add new Siege Engines via the config
# You can edit the existing Siege Engines with the various options below

# Health: How many hearts of health the Siege Engine has before it is destroyed
# Shot Amount: How many projectiles the Siege Engine will fire
# VelocityPerFuel: How much each fuel item increases the velocity of fired projectiles
# MaxFuel: The maximum amount of fuel that can be loaded into each Siege Engine
# ItemName: The default item name for the Siege Engine item
# Lore: The default lore for the Siege Engine item
# CanMount (EXPERIMENTAL): Whether or not the Siege Engine can be placed on a mountable mob

SiegeEngines:
  Trebuchet:
    Health: 8
    ShotAmount: 1
    VelocityPerFuel: 0.75
    MaxFuel: 3
    FuelItem: STRING
    Projectiles:
      - StoneShot
      - BreachShot
      - FireShot
      - RepeatingShot
    ItemName: "&e&lTrebuchet"
    Lore:
      - "&ePlace as a block to spawn a Trebuchet"
    CanMount: false
  Ballista:
    Health: 5
    ShotAmount: 1
    VelocityPerFuel: 2.0
    MaxFuel: 2
    FuelItem: STRING
    Projectiles:
      - BallistaBoltShot
      - ScatterShot
      - DragonsBreath
      - FireworkShot
      - SplashPotionProjectile
    ItemName: "&e&lBallista"
    Lore:
      - "&ePlace as a block to spawn a Ballista"
    CanMount: false
  SwivelCannon:
    Health: 15
    ShotAmount: 1
    VelocityPerFuel: 0.975
    MaxFuel: 5
    FuelItem: GUNPOWDER
    Projectiles:
      - StoneShot
      - RepeatingShot
      - ScatterShot
      - FireShot
      - FireworkShot
    ItemName: "&e&lSwivel Cannon"
    Lore:
      - "&ePlace as a block to spawn a Swivel Cannon"
    CanMount: false
  BreachCannon:
    Health: 25
    ShotAmount: 1
    VelocityPerFuel: 1.0625
    MaxFuel: 4
    FuelItem: GUNPOWDER
    Projectiles:
      - StoneShot
      - RepeatingShot
      - BreachShot
      - FireShot
      - ScatterShot
      - DragonsBreath
      - FireworkShot
    ItemName: "&e&lBreach Cannon"
    Lore:
      - "&ePlace as a block to spawn a Breach Cannon"
    CanMount: false

Commands:
/siegeengines reload - Reloads config
/siegeengines getall -
Spawn all Siege Engines into your inventory

Permissions:
siegeengines.command.getAll

siegeengines.command.reload
Resource Information
Author:
----------
Total Downloads: 579
First Release: Apr 6, 2024
Last Update: Mar 22, 2025
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings