SpaceDuel

An addon for the SpacePvP plugin that adds duels.

71

SpaceDuel

⚔️ SpaceDuel

SpacePvP is a powerful add-on for SpacePvP that introduces a comprehensive 1vs1 dueling system. Allow your players to challenge each other using a GUI or commands, with support for both Arena and Random Location battles.

Feature List

MiniMessage — Challenge any player via command or a customizable GUI. ✅ MiniMessage — Support for MiniMessage (pre-built) and MiniMessage (wild) duels. ✅ MiniMessage — Fully clickable JSON chat messages (`[Accept]` / `[Deny]`) for instant interaction. ✅ MiniMessage — Supports MiniMessage (via `basehead-<texture>`), PlaceholderAPI, and permission-based locking. ✅ MiniMessage — Automatically skips the menu if the player only has permission for one mode. ✅ MiniMessage — Separate settings for duels: enable/disable MiniMessage, configure MiniMessage, inventory clearing, and MiniMessage. ✅ MiniMessage — Prevents invites if the target is busy, in a queue, or if MiniMessage. ✅ MiniMessage — Works seamlessly with MiniMessage systems (stats, cooldowns, combat checks). ✅ MiniMessage in MiniMessage, MiniMessage (&), and MiniMessage formats.

Command Reference

⚔️ Duel Commands (Click to expand)

* `/duel <player>` — Open the duel selection GUI for a specific player. * `/duel <player> arena` — Send a quick invite for an Random Location duel. * `/duel <player> default` — Send a quick invite for a Random Location duel. * `/duel accept` — Accept the last received invite. * `/duel deny` — Deny the last received invite. * `/duel reload` — Reload the plugin configuration.

Permissions

Main Permissions: * `spaceduel.command.duel` — Allows access to the main `/duel` command. * `spaceduel.command.reload` — Allows reloading the configuration.

Random Location * `spaceduel.type.arena` — Allows sending invites for Random Location duels. * `spaceduel.type.default` — Allows sending invites for Random Location duels.

Configuration Highlights

Delays: SpaceDuel allows you to override default SpacePvP settings specifically for duels: * Delays: Enable/Disable arena regeneration after the fight (saves resources for simple duels). * Delays: Apply custom potion effects (e.g., Speed II, Glowing) when the duel starts. * Delays: Force specific kits or use the default one. * Delays: Configure teleport delays after the match ends.

Menu Customization: You can use custom textures for heads in the GUI without any texture pack! Example in `menu.yml`: ``` material: "basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUv..." ```

``` ✨ Dependencies ✨

Required: * SpacePvP (Core plugin system) v4.4

Soft Dependencies (Optional): * PlaceholderAPI — For displaying stats and names in the GUI/Messages. * LuckPerms — For displaying prefixes and ranks in chat invites.

📥 Installation

1. Install SpacePvP and ensure it is running correctly. 2. Download SpaceDuel. 3. Place the .jar file in your server's plugins folder. 4. Restart the server. 5. Configure `settings.yml`, `messages.yml`, and `menu.yml` to your liking! ```

ADS