Описание
# Citizens Scale 📏
**Citizens ScaleTrait** is a lightweight Minecraft plugin that adds a `ScaleTrait` to [Citizens NPCs](https://www.spigotmc.org/resources/citizens.13811/), allowing you to resize NPCs with a single command.
Changes persist through server restarts, set it once and forget it!
## 🔧 Features
- 📏 **Scale any Citizens NPC** up or down with precise control
- 💾 **Size settings persist** through server restarts
- ⚡ **Lightweight** with minimal performance impact
- 🎯 **Simple one-command** operation
- 🔄 **Instant visual updates** - see changes immediately
## ✅ Requirements
- **Minecraft 1.21+** (or compatible Spigot/Paper versions)
- [Citizens](https://www.spigotmc.org/resources/citizens.13811/) plugin
## 📥 Quick Start
1. Download and install [Citizens](https://www.spigotmc.org/resources/citizens.13811/) if you haven't already
2. Download Citizens Scale and place it in your `plugins/` directory
3. Restart your server
4. Select any NPC with `/npc select` or right-click
5. Use `/npc attribute scale ` to resize!
## 🧾 Usage
**Command:** `/npc attribute scale `
**Examples:**
- `/npc attribute scale 2` → Double size
- `/npc attribute scale 0.5` → Half size
- `/npc attribute scale 1.5` → 50% larger
- `/npc attribute scale 0.25` → Tiny quarter-size NPC
**Scale Range:** `0.01` to `15.0`
## 🔐 Permissions
Uses standard Citizens permissions:
- `citizens.npc.attribute` - Required to modify NPC attributes
## 💡 How It Works
1. **Select** an NPC using Citizens' tools
2. **Scale** with `/npc attribute scale `
3. **Done!** Changes save automatically and persist forever
## 📝 Notes
- Compatible with all Citizens NPC types and other traits
- Scale data is saved to Citizens database automatically
- Very small scales may cause client rendering issues
- Perfect for creating unique NPC experiences!
---
**Built for the [Citizens](https://github.com/CitizensDev/Citizens2) NPC framework** 🚀