File Details
Pets+1.3.0.jar
- R
- Feb 17, 2026
- 474.35 KB
- 765
- Early Access
File Name
Pets+1.3.0.jar
Supported Versions
- Early Access
[1.3.0] - 2026-02-17
Added
- MySQL Support - Implemented a robust MySQL persistence layer as an alternative to the default JSON storage. Allows for cross-server synchronization and improved data management for large servers.
- Database Configuration - Added a comprehensive set of database connection settings to config.json, including host, port, credentials, and table prefixing.
- Table Auto-Creation - The plugin automatically creates the necessary `pets` table on first connection if it doesn't exist, ensuring a seamless setup process.
Technical Improvements
- General bug fixes - Resolved syntax errors and removed duplicate method definitions in PetManager to improve code stability and maintainability.
Configuration
New config options:
- "useMySQL": Boolean - if true, uses MySQL for data; if false, uses pets.json (default: false)
- "databaseHost": String - MySQL server hostname (default: "localhost")
- "databasePort": Integer - MySQL server port (default: 3306)
- "databaseName": String - Name of the database (default: "petsplus")
- "databaseUsername": String - Database user (default: "root")
- "databasePassword": String - Database password (default: "")
- "tablePrefix": String - Prefix for the pets table (default: "petsplus_")
Example config.json additions:
{
"useMySQL": false,
"databaseHost": "localhost",
"databasePort": 3306,
"databaseName": "petsplus",
"databaseUsername": "root",
"databasePassword": "",
"tablePrefix": "petsplus_"
}

