A Minecraft plugin that makes Multishot Crossbows behave like they do in Bedrock Edition, allowing all three projectiles to hit the same target.
## Features
- Allows all three projectiles from a Multishot Crossbow to hit the same target
- Compatible with OldCombatMechanics (OCM) plugin
- Works on both single-player and servers
- Configurable invulnerability time
## Installation
1. Download the latest release
2. Place the JAR file in your server's `plugins` folder
3. Start or restart your server
4. The plugin will generate a default configuration file
## Configuration
The plugin creates a `config.yml` file in its data folder. You can customize the following options:
```yaml
# Enable or disable the plugin functionality
enabled: true
# How many ticks a target should be invulnerable after being hit
# The default in vanilla Minecraft is 10 ticks (0.5 seconds)
# Set this to 0 to allow all 3 arrows to hit immediately
invulnerable-ticks: 0
# Debug mode will print additional information to console
debug: false
```
## Commands
- `/multishotbedrock` or `/msb` - Shows the plugin status
- `/multishotbedrock reload` or `/msb reload` - Reloads the configuration file
## Permissions
- `multishotbedrock.admin` - Allows access to the admin commands (default: op)
## How It Works
When a player fires a crossbow with the Multishot enchantment, the plugin tracks the projectiles. When these projectiles hit an entity, the plugin temporarily sets the entity's invulnerability time to the configured value (default: 0), allowing all three projectiles to hit the same target.
## OCM Compatibility
This plugin is designed to work alongside the OldCombatMechanics plugin. It will detect if OCM is present and adjust its behavior accordingly to ensure compatibility.