Files
SiegeEngines/src/main/resources/config.yml
T

213 lines
5.8 KiB
YAML

# =================================================================
# | SiegeEngines by C_CORP2002 & ShermansWorld |
# | ** Forked from CrunchSiegeEquipment by TheRealCrunch ** |
# =================================================================
# =====================================
# | PERMISSION NODES |
# =====================================
# DO NOT CHANGE
config-version: 1
# =====================================
# | 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
# 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 |
# ======================================
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