/OldCombatMechanics-OG

A fork of OCM without the proprietary Spartan API calls. Aims for reproducible builds.

Primary LanguageJavaMozilla Public License 2.0MPL-2.0

OldCombatMechanics-OG

a soft fork of OldCombatMechanics by kernitus and Rayzr522

Maintained by NotAlexNoyle for TrueOG.

Changes

  • Builds with TrueOG's config file.
  • Removed update checker.
  • Removed config file updater.
  • Removed metrics.

Installation

Build the plugin using:

./gradlew build

Then move it to your server's plugins folder.

Modesets

Modesets can be configured for your players to choose from. Each modeset can have any combination of the below features enabled, with examples provided to replicate 1.9 vs 1.8 combat. Players can switch between modesets via command, choosing from the modesets allowed for the world they are in.

Configurable Features

Features are grouped in modules as listed below, and can be individually configured and disabled. Modules that are fully disabled will have no impact on server performance.

Combat

  • Attack cooldown
  • Attack frequency
  • Tool damage
  • Critical hits
  • Player regen

Armour

  • Armour strength
  • Armour durability

Swords & Shields

  • Sword blocking
  • Shield damage reduction
  • Sword sweep

Knockback

  • Player knockback
  • Fishing knockback
  • Fishing rod velocity
  • Projectile knockback

Gapples & Potions

  • Golden apple crafting & effects
  • Potion effects & duration
  • Chorus fruit

New feature disabling

  • Item crafting
  • Offhand
  • Elytra
  • Bow boost
  • New attack sounds
  • Enderpearl cooldown
  • Brewing stand refuel
  • Enchantment table auto-lapis
  • Burn delay
  • Projectile randomness

Plugin Compatibility

Most plugins will work fine with OCM. Some had to be explicitly supported. These include:

  • Placeholder API (see wiki for details)

Contributions

If you are interested in contributing, please check this page first.


Paper Spigot Bukkit Jenkins

After that, move it to your plugin directory in your server root from build/libs/OldCombatMechanics.jar.

Contributions

If you are interested in contributing, first consider doing so UPSTREAM.

If you want to contribute to TrueOG, join our Discord.