Описание
# DK Kits
**What it is:** A powerful plugin to create, edit, and give kits via GUI, with per-kit permissions, per-player cooldowns, pagination, hidden kits, and immediate cooldown support. Fully compatible with Minecraft 1.8.8 to 1.21+ (Paper, Spigot, and Folia).
## How it works
### Creation Wizard
- Set name via chat
- Toggle permission requirement
- Set permission node (if needed)
- Capture items from your inventory
- Confirm creation
### Editing
- Rename kit (with conflict checking)
- Toggle permission and set node
- Edit items via GUI
- Set cooldown in seconds
- Toggle **Immediate Cooldown** (players must wait before first claim)
- Toggle **Hidden Kit** (doesn't appear in `/kit` GUI)
- Set custom display name with color codes
- Set custom display item
### Claiming
- Players open the GUI with `/kit` or `/kit `
- Permission (if enabled) and cooldown are enforced
- Hidden kits only accessible via command or admin give
- Paginated interface for many kits
## Commands
### Player Commands
- `/kit` - Opens the kit list GUI (paginated)
- `/kit ` - Claims a specific kit by name
### Admin Commands
- `/dkkit create` - Starts the kit creation wizard
- `/dkkit list` - Lists all kits (requires admin permission)
- `/dkkit delete ` - Deletes a kit (requires admin permission)
- `/dkkit edit` - Opens selection GUI to choose a kit to edit
- `/dkkit edit ` - Opens the editor for the specified kit
- `/dkkit give ` - Gives a kit to a player (bypasses cooldown and permissions)
- `/dkkit menu` - Opens position configuration GUI for kits
## Permissions
### Admin Permission
`dkkits.admin` (default: op)
- Allows `/dkkit list`, `/dkkit delete`, `/dkkit edit`, `/dkkit give`, `/dkkit menu`
- By default, also allows `/dkkit create` (configurable)
- Can see and use hidden kits
### Per-kit Permission (optional)
Each kit can have a custom node, e.g. `dkkits.kit.vip`
- If the kit's permission toggle is ON, players must have this node to claim the kit
- Works with both GUI and command claiming
## Configuration (config.yml)
```yaml
# Language (pt_br or en)
language: en
# Admin permission node
admin-permission: dkkits.admin
# Allow non-admin players to create kits
# WARNING: Keep false to prevent abuse
allow-player-create: false
# Enable debug logs
debug: false
# GUI Configuration
gui:
# Create button (anvil) position (0-53)
create-button-slot: 53
# Kits per page (max 45 recommended)
kits-per-page: 45
# Previous page button position
previous-page-slot: 48
# Next page button position
next-page-slot: 50