Files
SiegeEngines/src/main/resources/config.yml
T
Christopher Vieira 0a7e848cc5 feat: potion projectile for ballista
Adds all splash potions as a projectile for Ballista.
2024-02-01 20:06:11 -05:00

180 lines
4.4 KiB
YAML

# =================================================================
# | SiegeEngines by C_CORP2002 & ShermansWorld |
# | ** Forked from CrunchSiegeEquipment by TheRealCrunch ** |
# =================================================================
# =====================================
# | PERMISSION NODES |
# =====================================
# DO NOT CHANGE
config-version: 1
# =====================================
# | GENERAL SETTINGS |
# =====================================
# 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 maxmimum distance the player can be away from the SiegeEngine before total control is terminated
ControlDistance: 24
# The maximum distance the player can be away from the SiegeEngine before rotation control is terminated
RotateDistance: 16
# The maximum siege engines a player can control at the same time
MaxSiegeEnginesControlled: 1
# Whether or not the crafting recipes for siege engines will be enabled
# Requires a server restart to go into effect
CraftingRecipes: true
# The auto-reload feature by shift-clicking
AutoReload: false
DisabledWorlds:
- world_nether
- World-o_nether
# ======================================
# | SiegeEngine Options |
# ======================================
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
EntityCount: 24
VelocityFactor: 1.0
EntityType: ARROW
ArrowDamageFactor: 1.0
AmmoItem: GRAVEL
FireSound: ITEM_CROSSBOW_SHOOT
BallistaBoltShot:
ProjectileType: ENTITY
Inaccuracy: 0.0125
EntityCount: 1
VelocityFactor: 0.5
EntityType: ARROW
ArrowDamageFactor: 1.0
AmmoItem: ARROW
FireSound: ITEM_CROSSBOW_SHOOT
DragonsBreath:
ProjectileType: ENTITY
Inaccuracy: 0.125
EntityCount: 1
VelocityFactor: 1.0
EntityType: DRAGON_FIREBALL
AmmoItem: DRAGON_BREATH
FireSound: ENTITY_GENERIC_EXPLODE
FireShot:
ProjectileType: ENTITY
Inaccuracy: 0.475
EntityCount: 8
VelocityFactor: 1.0
EntityType: SMALL_FIREBALL
AmmoItem: MAGMA_BLOCK
FireSound: ENTITY_GENERIC_EXPLODE
FireworkShot:
ProjectileType: FIREWORK
Inaccuracy: 0.125
EntityCount: 1
VelocityFactor: 0.5
Delay: 5
SplashPotionProjectile:
ProjectileType: POTION
Inaccuracy: 0.0125
EntityCount: 1
VelocityFactor: 0.5
ArrowDamageFactor: 1.0
AmmoItem: SPLASH_POTION
FireSound: ITEM_CROSSBOW_SHOOT
SiegeEngines:
Trebuchet:
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:
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:
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:
ShotAmount: 1
VelocityPerFuel: 1.0625
MaxFuel: 4
FuelItem: GUNPOWDER
Projectiles:
- StoneShot
- RepeatingShot
- BreachShot
- FireShot
- FireworkShot
ItemName: "&e&lBreach Cannon"
Lore:
- "&ePlace as a block to spawn a Breach Cannon"
CanMount: false