Skip to content

Repository files navigation

Legacy Combat Experience

Modrinth Modrinth downloads

Legacy Combat Experience (LCE) brings classic Minecraft 1.8-style PvP behavior to modern Paper servers.

LCE is built for PvP, practice, minigame, and competitive servers that want the speed and feel of legacy combat while staying on current Minecraft versions. The project is open source so server owners, developers, and community members can report issues, suggest improvements, and contribute fixes.

Links

Supported Platform

  • Loader: Paper
  • Minecraft version: currently built against Paper 1.21.4
  • Java: 21

PacketEvents is required. PlaceholderAPI and WorldGuard are optional integrations.

Features

  • Block or remap modern combat sounds and particles
  • Tune knockback values by knockback cause
  • Restore legacy-style projectile interactions for snowballs, eggs, ender pearls, fishing rods, and more
  • Optional bow boosting and legacy potion physics
  • Optional bridging speed behavior for shift-backward movement
  • Configurable sword blocking damage reduction and old sharpness/axe damage behavior
  • World and WorldGuard region support for scoping legacy combat behavior

Dependencies

Required

Optional

Building

Use Java 21.

./gradlew build

The shaded plugin jar is written to:

build/libs/

If the Gradle wrapper is not executable on your machine:

chmod +x ./gradlew

Testing

Run the unit test suite with:

./gradlew test

Pull requests should include tests for behavior changes when the code can be tested without a live server.

Commands

/legacycombatexperience
/legacycombatexperience reload
/legacycombatexperience sound <sound> [volume] [pitch]
/legacycombatexperience knockback
/legacycombatexperience knockback <x> <y> <z>
/lce
/lce reload
/lce sound <sound> [volume] [pitch]
/lce knockback
/lce knockback <x> <y> <z>
/giveblockhittingsword

Permissions

lce.command
combat.command.giveblockhittingsword

Contributing

Community contributions are welcome. The default branch is protected, so all changes should go through a pull request.

Before opening a pull request:

  1. Create a branch from the latest default branch.
  2. Keep the change focused.
  3. Run ./gradlew test.
  4. Update documentation when behavior, commands, permissions, or configuration changes.
  5. Fill out the pull request description with what changed and how it was tested.

For more detail, see CONTRIBUTING.md.

About

Experience 1.8 combat in 1.21.4 and higher!

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages