Description
# PvP Arena - Server Plugin
Create competitive PvP arenas with automatic matchmaking on your Hytale server!
## Features
✅ **Easy Arena Management**
- Create multiple PvP arenas with simple commands
- Set two spawn points per arena at your current position
- Delete and list arenas with ease
✅ **Automatic Matchmaking**
- Players join arena queues with one command
- Matches automatically start when 2 players are queued
- Players are teleported to their spawn points instantly
✅ **Smart Position Tracking**
- Saves player positions before teleportation
- Uses real in-game coordinates for spawn points
- No placeholder positions - everything is dynamic!
✅ **User-Friendly Commands**
- `/pvparena-create <name>`
- Create a new arena
- `/pvparena-setspawn <name> <1|2>`
- Set spawn points
- `/pvparena-list`
- View all arenas and their status
- `/pvparena-delete <name>`
- Remove an arena
- `/pvparena-join <arenaname>`
- Join the queue
## How It Works
1. **Admin creates arena:**
`/pvparena-create TestArena`
2. **Admin sets spawn points:**
Stand at desired locations and use:
`/pvparena-setspawn TestArena 1`
and
`/pvparena-setspawn TestArena 2`
3. **Players join:**
`/pvparena-join TestArena`
4. **Match starts automatically** when 2 players are queued!
## Permissions
Control access to commands using the following permissions:
| Command | Permission | Description | Recommended Group |
| :--- | :--- | :--- | :--- |
| `/pvparena-join` | `pvparena.join` | Allows joining an arena queue | **Default / Player** |
| `/pvparena-leave` | `pvparena.leave` | Allows leaving the queue | **Default / Player** |
| `/pvparena-list` | `pvparena.list` | Allows listing all arenas | **Default / Player** |
| `/pvparena-create` | `pvparena.create` | Create new arenas | **Admin / OP** |
| `/pvparena-delete` | `pvparena.delete` | Delete existing arenas | **Admin / OP** |
| `/pvparena-setspawn` | `pvparena.setspawn` | Set/Update arena spawns | **Admin / OP** |
| `/pvparena-tp` | `pvparena.tp` | Teleport to arena spawns | **Admin / OP** |
## Current Limitations
- Due to Hytale Server API limitations, automatic match ending on player death is not yet available. This feature will be added when the API supports it.
## Requirements
- Hytale Server (Java 25+)
## Installation
1. Download `PVPArena-0.1.jar`
2. Place in your server's `plugins` folder
3. Restart server
4. Start creating arenas!
---
*Perfect for: Mini-game servers, practice arenas, tournament systems, and competitive PvP gameplay!*


