AlathraHorseCombat is a modernized, highly configurable and Java-implemented fork of HorseCombatRevamped by SakyQ. AlathraHorseCombat is ShermansWorld's take on horse combat mechanics that are designed for the Alathra Minecraft Server, now overhauled and generalized for public use. It adds configurable items referred to as "lances" that facilitate the horse combat system. When riding a horse and holding a lance item in their hand, a player is able to build up momentum and deliver a powerful strike to mobs and other players. This plugin is designed simmulate medieval-style cavalry charges and jousting as a standalone software. Capability is enhanced by adding support for widely used item framework plugins including ItemsAdder, MMOItems Nexo, and Oraxen for the registration of lance items.
Lances and Pikes (configured under itemIdList), is used as the primary weapons for AlathraHorseCombat. Once the player rides a horse, the momentum bar can be seen above the player's hotbar. Momentum determines what the final damage output will be.
-
playerDamageMultiplierDamage multipler on players, on top of momentum damage multiplier. Default is default is set to 1.0 -
mobDamageMultiplierDamage multipler on mobs, on top of momentum damage multiplier. Default is set to 1.0 -
knockoffThresholdMomentum threshold that knocks the targetted player off their horse. Default is set to 50 -
knockoffChanceThe chance that a lance hit will knock another player off their horse if the knockoffThreshold is exceeded. Default is set to 0.2 -
knockbackPlayersThe chance that the spear can deliver a knockback effect on players, proportional to momentum. The default is set to True. -
knockbackMobsThe chance that the spear can deliver a knockback effect on mobs, proportional to momentum. The default is set to True -
knockbackThresholdThe minimum momentum needed to deliver a knockback effect with a lance strike (hit). The default for this is set to 25. -
knockbackMultiplierA multiplier that impacts the velocity of the knockback effect. The default for this is set to 1.0.
baseGainHow much momentum is gained when the horse is moving in a straight line, per player move event fired. The default for this is set to 2.
**Once a horse is considered stalling it will experience momentum decay.**
stallTimeSecondsThe time in seconds used in conjunction with stallCancelDistance to determine if a horse is stalling. The default for this is set to .5.stallCancelDistanceThe distance (blocks traveled) that the horse must move within stallTimeSeconds, before it stalls. The default is set to 1.25maxDecayRateThe maximum rate of decay of momentum as a result of turning or stalling The default for this is set to 20.turnMinDegreesThe minimum threshold yaw before the plugin determines the horse has turned, therefore decrease momentum. Default is set to 50 degrees.turnLossMomentum loss per sharp turn. Default is 15
momentum_100Damage multiplier when momentum is at max. Default is 2.5momentum_75-99Damage multiplier when momentum is at 75 to 99. Default is 2momentum_50-74Damage multiplier when momentum is at 50 to 74. Default is 1.5momentum_25-49Damage multiplier when momentum is at 25 to 49. Default is 1momentum_0-24Damage multiplier when momentum is at 0 to 24. Default is 0.5
You can changed the sound effects here
enabledThe option to turn the particles off and on. The default for this is set to trueeffect"minecraft:entity.zombie.attack_iron_door"volumeDefault is set for .5pitchHow far the sound can be heard. If this is not set it will sound across the world. Default is set to 32.rangeDamage multiplier when momentum is at 0 to 24. Default is 0.5minMomentumMinimum momentum required for the hit sound to be produced This is default set to 25.
You can changed the particle effects here
enabledThe option to turn the particles off and on. The default for this is set to truetypeCritamountThe amount of particles that will spawn on hit. The default is set to 20.spreadDamage multiplier when momentum is at 0 to 24. Default is 1.minMomentumMinimum momentum required for the hit sound to be produced This is default set to 25.
Optional Hooks
-
Towny If Towny is enabled, it will check whether or not the attacking player is a member of the town the damaging entity is in, check if the said town is in a war, check if the town has PvP enabled, and check if the town has damage mobs enabled.
-
ItemsAdder, Nexo, Oraxen, MmoItems The above plugins are used to create and manage custom items. AlathraHorseCombat has a section in the config that can add custom lance items that can be used in the plugin.
AlathraHorseCombat contains the following permission nodes:
alathrahorsecombat.adminGrants the user towny bypass for horsecombat, allowing them to damage any player or entity within a towny claim, regardless if the user is a member of the town or not.
AlathraHorseCombat has two current commands
reloadThis command reloads the Horse combat plugingetlancesThis command will give you all of the lances from the AlathraHorseCombat plugin



