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
Ballista
Swivel Cannon
Breach Cannon
Config: (Includes documentation)
Code (Text):
# =================================================================
# | SiegeEngines by C_CORP2002 & ShermansWorld |
# | ** Forked from CrunchSiegeEquipment by TheRealCrunch ** |
# =================================================================
# =====================================
# | 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
# 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
# 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