DGpets - Ultimate Pets Plugin
by DG-Studio
Questions? Join our discord server
The most feature-rich and unique pets plugin for Minecraft 1.21.x
Give your players a truly immersive pet experience they've never seen before.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DGpets is not just another pets plugin - it's a complete companion system. Your players can collect 17 unique pet types, carry items in their pet's inventory, upgrade stats, ride them, feed them, toggle baby mode, and watch them fight alongside them in combat. Every feature is fully configurable, permission-based, and designed for production servers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚔ Smart Combat AI
Your pets aren't just cosmetic - they fight for you!
- Defend Owner - When a mob or player attacks you, your pet automatically retaliates and fights until the enemy is dead
- Assist Owner - When YOU attack something, your pet joins the fight alongside you
- Hostile Detection - Pets proactively detect and engage hostile mobs within a configurable radius
- Unique Damage Per Type - A Chicken deals 1.0 damage, a Wolf deals 5.0, an Iron Golem deals 12.0 - each pet is balanced differently
- Persistent Combat - Pets chase and attack targets until they die, with configurable attack cooldowns and leash range
- Hunger Integration - Starving pets refuse to fight, adding strategic depth to pet management
Every pet carries its own inventory - like a mobile chest that follows you!
- 5 Upgrade Tiers - Start with 9 slots, upgrade up to 45 slots
- Fully Functional - Drag and drop items just like a regular chest
- Persistent Storage - Items are saved across server restarts and pet despawns
- Configurable Costs - Set upgrade prices per tier in config
- Beautiful GUI - Locked slots shown as grey glass, tier stars in title
⬆ Stat Upgrade System
Players can progressively upgrade their pet's stats in a dedicated Upgrades GUI.
- ⚔ Damage Upgrades - 10 levels, +1.5 damage per level
- ❤ Health Upgrades - 10 levels, +5.0 HP per level
- ◈ Inventory Upgrades - 5 tiers of storage
- Visual Progress Bars - ■■■■■□□□□□ shown in GUI and lore
- Configurable Costs - Base cost + per-level scaling formula
- Vault Integration - Uses your server's economy
Pets need to eat! This adds a whole new layer of engagement.
- 20-Point Hunger Bar - Visual hunger display in the pet menu (green → yellow → red)
- Natural Decay - Pets lose 1 hunger every 5 minutes (configurable)
- 30+ Food Items - Every Minecraft food restores different amounts (fully configurable)
- Easy Feeding - Just right-click your pet while holding food
- Starvation Effects - Hungry pets stop fighting; optionally auto-despawn at 0 hunger
- Warning Messages - Players get notified when their pet is getting hungry
- Heart Particles - Feeding shows heart particles and eating sounds
Toggle your pet between baby and adult form with one click!
- One-Click Toggle - Button in the pet menu switches between baby and adult
- Smart Detection - Only shows for pets that have baby forms (not Iron Golem, Allay)
- Persistent - Baby/adult state saves across restarts
- Age Locked - Baby pets stay baby, adult pets stay adult - no random changes
Mount your pet and ride it around the world!
- Sneak + Right-Click - Quick mount directly on the pet
- GUI Button - Or mount from the pet menu
- Directional Control - Pet moves where you look
- Per-Pet Configuration - Set which pets are rideable (large pets only - Cow, Wolf, Iron Golem, Polar Bear, etc.)
- Speed Based on Stats - Faster pets = faster rides, with configurable speed multiplier
- Shift to Dismount - Natural dismount with message
When your pet dies, it needs time to recover before respawning.
- 5-Minute Cooldown - Configurable respawn timer after death
- Visual Timer -Pet list shows a clock icon with remaining time:
3m 24s - Blocked Spawning - Can't spawn a pet on cooldown - clear message with time remaining
- Optional Hunger Reset - Configurable: reset hunger to full on death
- No Item Loss - Pet inventory is preserved (or dropped on death - configurable)
A fully-featured GUI shop where players browse and purchase pets.
- 17 Pet Types - From $100 Chicken to $5000 Iron Golem
- Permission-Locked Pets - Locked pets show as grey with "✗ Locked" - perfect for ranks/crates
- Already Owned Indicator - Glowing items for pets the player already owns
- Player Balance Display - Shows current balance in the shop
- Vault Economy - Works with any Vault-compatible economy plugin
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Pet | Damage | Health | Speed | Price | Rideable | Rarity |
|---|---|---|---|---|---|---|
| 1.0 | 8.0 | 1.0x | $100 | Common | ||
| 1.0 | 6.0 | 1.7x | $150 | Common | ||
| 2.0 | 14.0 | 0.9x | $200 | Common | ||
| 3.0 | 18.0 | 0.9x | $250 | Common | ||
| 1.5 | 6.0 | 1.6x | $300 | Common | ||
| 3.0 | 14.0 | 1.2x | $350 | Common | ||
| 2.0 | 10.0 | 1.5x | $400 | Common | ||
| 2.0 | 10.0 | 1.4x | $450 | Common | ||
| 5.0 | 20.0 | 1.3x | $500 | Uncommon | ||
| 3.5 | 12.0 | 1.1x | $600 | Uncommon | ||
| 4.5 | 16.0 | 1.2x | $650 | Uncommon | ||
| 4.0 | 16.0 | 1.4x | $750 | Uncommon | ||
| 2.5 | 10.0 | 1.3x | $800 | Rare | ||
| 6.0 | 30.0 | 0.8x | $2,000 | Rare | ||
| 8.0 | 35.0 | 1.0x | $3,000 | Epic | ||
| 5.0 | 40.0 | 0.7x | $4,000 | Epic | ||
| 12.0 | 50.0 | 0.7x | $5,000 | Legendary |
All values (damage, health, speed, price) are fully configurable in config.yml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands
| Command | Description | Permission |
|---|---|---|
| /pets | Opens your pet list GUI | dgpets.use |
| /pets shop | Opens the pet shop | dgpets.shop |
| /pets list | Opens your pet collection | dgpets.use |
| /pets despawn | Despawns your active pet | dgpets.use |
| /pets help | Shows help menu | dgpets.use |
| /pets give <player> <type> | Give a pet to a player | dgpets.admin |
| /pets reload | Reload configuration | dgpets.admin |
Permissions
| Permission | Description | Default |
|---|---|---|
| dgpets.use | Basic pet usage | true |
| dgpets.shop | Access pet shop | true |
| dgpets.admin | Admin commands | op |
| dgpets.bypass.limit | Bypass pet limit | op |
| dgpets.<type> | Per-pet permissions (e.g. dgpets.wolf) | configurable |
Per-pet permissions are fully configurable in config.yml - perfect for rank-based unlocking!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 Pet Protection System
DGpets has a 5-layer protection system ensuring pets NEVER harm their owner:
- Target Prevention - Pets can never target their owner (EntityTargetEvent blocked at HIGHEST priority)
- Damage Blocking - All damage from pet to owner is cancelled (direct, projectile, area)
- Effect Blocking - Status effects from hostile pet types are blocked (Warden darkness, Bee poison)
- Anger Reset - Continuous anger reset every 0.5s for hostile-type pets
- Entity Safety - Pets can't be leashed, bred, put in boats, or pick up items
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Configuration
Everything is configurable in a clean, well-documented config.yml (480+ lines):
- Pet stats, prices, permissions, icons, and descriptions
- Combat settings (defend, assist, hostile detection, cooldowns)
- Hunger system (decay rate, food values, thresholds)
- Death cooldown duration
- Riding settings and speed multiplier
- Inventory tier sizes and upgrade costs
- Stat upgrade costs (base + per-level formula)
- Particle effects (type, interval)
- All messages with color codes
- Follow/teleport distances
- Auto-save interval
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Server: Paper 1.21.x (recommended) or Spigot 1.21.x
- Java: 21+
- Optional: Vault + Economy plugin (EssentialsX, CMI, etc.) for shop & upgrades
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Download DGpets-1.0.0.jar
- Drop it in your server's plugins/ folder
- (Optional) Install Vault + economy plugin for shop features
- Restart your server
- Edit plugins/DGpets/config.yml to customize
- Done! Use /pets to get started
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Made with ❤ by DG-Studio
Questions? Join our discord server
