Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Pets That Think, Feel, and Live
Fixed a bug that caused entities to survive server restarts.
Fixed a double-spawn race condition bug at startup.
Fixed an issue where, when a player disconnected, the entity remained in the world without being cleared. Upon reconnecting, a new entity would spawn without removing the previous one.
Added an orphaned entity cleanup at startup that, upon server startup, searches all worlds for SmartPets-marked entities that are not tracked on the active map and removes them.
# In config.ymlplugins/SmartPets/Release Date: 2026-01-01 Type: Bug Fix Release Priority: HIGH
Problem: Users could not use MySQL storage. The plugin showed Invalid storage type 'MYSQL' and fell back to YAML.
Root Causes:
MYSQL was missing from the PetDataHandler.StorageType enumPetDataHandler was not integrated with the database storage systemSolution:
MYSQL to the storage type enummysql-connector-java-8.0.33 to mysql-connector-j-8.4.0DatabaseManager and DatabasePetStorage into PetDataHandlerProblem: Users with MySQL storage in shared databases got the following error:
[SmartPets] Failed to initialize database: Can't create table `game_global`.`pets`
(errno: 150 "Foreign key constraint is incorrectly formed")
Root Causes:
players table might already exist with different charset/collationSolution:
smartpets_players, smartpets_pets, smartpets_pet_stats, smartpets_pet_skillsWhy This Works:
DROP TABLE IF EXISTS pet_skills;
DROP TABLE IF EXISTS pet_stats;
DROP TABLE IF EXISTS pets;
DROP TABLE IF EXISTS players;
SmartPets-2.0.1.jar with SmartPets-2.0.3.jar-- Only if upgrading from working v2.0.1 to v2.0.3
RENAME TABLE players TO smartpets_players;
RENAME TABLE pets TO smartpets_pets;
RENAME TABLE pet_stats TO smartpets_pet_stats;
RENAME TABLE pet_skills TO smartpets_pet_skills;
| MySQL 5.7+ | Fully supported |
| MySQL 8.0+ | Fully supported |
| MariaDB 10.3+ | Fully supported |
| Shared databases | Fully supported (prefixed tables) |
| SQLite | Unchanged (full FK support) |
| YAML | Unchanged |
storage-type: "MYSQL" settingSmartPets-2.0.1.jar with SmartPets-2.0.3.jarplugins/SmartPets/lib/mysql-connector-java-*.jarNote: No configuration changes required. Existing data is preserved.
Release Date: 2025-01-23 Type: Recommended Update (Critical Fixes) Priority: HIGH
You can now interact with pets using their Name, UUID, or just a Prefix of either!
/pet select 3e687eaf) or the command would fail./pet select Fido (or whatever your pet is named). It just works.&#RRGGBB (e.g., &#FF5733MyPet).lang.yml for new options like prefix, prefix.error, etc.debug: false is set in config.yml./pet select and /pet release are now accurate.SmartPets-2.0.jar.SmartPets-2.0.1.jar.Note: No configuration reset is required. You can optionally check lang.yml to customize the new prefix settings.
/pet personality surfaces traits, history, and latest adjustments./pet memories UI consolidates social contacts, pinned locations, event log, and direct reinforcement controls./pet personality, /petadmin debug learning, and enhanced /pet info provide immediate insight into behavioral changes./petadmin debug integrations summarises runtime status of ModelEngine/MythicMobs bridges, mappings, and adapters.config.yml now includes integrations.modelengine.models and integrations.mythicmobs.profiles maps for per-type setup of models, animations, mob IDs, and skill triggers.integrations:
modelengine:
enable: true
auto-fallback: true # Gracefully revert to vanilla entities if something fails
models:
WOLF:
model-id: "smartpets:wolf_guardian" # ModelEngine asset namespace:id
idle-state: "idle" # Looping state when calm
walk-state: "walk" # State while following the owner
emotion-animations:
HAPPY: "tail_wag" # Emotion → animation mapping
ANGRY: "battle_ready"
SCARED: "cower"
trigger-animations:
summon: "summon_pop" # Triggered after SmartPets spawns the pet
event.levelup: "celebrate" # Triggered on level-up
feedback.feeding_success: "eat_treat" # Triggered after positive feeding feedback
mythicmobs:
enable: true
profiles:
WOLF:
mob-id: "SmartPetsGuardian" # MythicMob ID defined in MythicMobs configs
mob-level: 10.0 # Optional level value passed to MythicMobs
apply-to-entity: true # Replace vanilla AI/attributes with Mythic profile
trigger-skills:
summon: "SP_GuardianSpawn" # Activates the custom spawn skill
event.levelup: "SP_GuardianCelebrate" # Celebratory ability on level-up
feedback.petting_happy: "SP_GuardianPurr" # Fired when the owner pets the companion
lang.yml, ensuring translation completeness.modelengine_integration_state, modelengine_mapping_density, mythicmobs_integration_state, mythicmobs_profile_density.LogCategory.INTEGRATIONS, etc.) to keep production logs actionable./petadmin reload followed by /petadmin debug integrations to validate configuration before going live.Release Date: October 12, 2025 Type: Maintenance & Bug Fixes
1. Fixed Pet Name Not Appearing in Messages
2. Fixed Shop Permission Bypass
smartpets.shop.use - Required to open the shopsmartpets.shop.buy - Required to purchase pets3. Fixed Console Spam from Pet Self-Attack Bug
4. Fixed Pets Invisible After Server Restart
Multi-line Skill Descriptions
skills.yml for better readability.Example Usage:
skills:
attack:
name: "&cProtector's Fury"
description:
- "&7Allows the pet to engage and attack"
- "&7hostile targets threatening its owner"
- "&7or itself."
required-level: 5
type: PASSIVEsmartpets.shop.use permissionsmartpets.shop.buy permissionNote: Existing configurations are fully compatible. No manual changes required.
search-food, network, and debug configuration sectionsSmartPets v1.4.3 - Major Stability & AI Update
Critical Bug Fixes
️ Pet Attack System Overhaul
Plugin Compatibility Shield
Cross-Platform Stability
⚡ Performance & QoL Improvements
Smart Feedback System
Enhanced Pet Pathfinding
Technical Highlights
Installation
Tested on: Paper, Folia, Purpur, Luminol | MC Versions: 1.16.5-1.21.5
Requirements: Java 17, Vault plugin
This update resolves all major user-reported issues from community feedback. Your pets will now behave more intelligently and safely than ever before.
1.4.2: Folia and Luminol Support Update
Thanks to @SperoVida and @Chaositic for their reports, we have been able to achieve maximum compatibility with Folia and Luminol (limited).
Some menu, translation, and other issues have been fixed.
A pet duplication issue and other glitch-related issues have been fixed.
The compatibility system has been strengthened to make it as user-friendly as possible when using Paper, Spigot, Folia, or another fork.
After many hours of work, the plugin has achieved excellent stability. There are bound to be bugs, and we greatly appreciate your reporting them on our support Discord.
Finally, I've added complete documentation for the plugin, including how it works and how to configure it, in the Documentation tab. You can check it out.
If you like pets and want to give your server a special touch, don't wait any longer and install SmartPets.
SmartPets v1.4.1 - Critical Bug Fixes & Stability Improvements
Critical Bug Fixes:
️ Technical Improvements:
Issues Resolved:
Pet System Stability:
⚡ Compatibility:
This stability-focused update resolves critical issues reported by server administrators and is highly recommended for all servers experiencing console spam, pet duplication, or menu translation errors.