feat: Add SQLite database support with MySQL compatibility

This commit is contained in:
Eduardo Leonardo Rosa da Silva
2025-10-20 12:55:20 -03:00
parent 10a4691429
commit 76bcb5bb85
10 changed files with 503 additions and 176 deletions

37
WeaponPaints.json Normal file
View File

@@ -0,0 +1,37 @@
{
"ConfigVersion": 10,
"SkinsLanguage": "pt-BR",
"DatabaseType": "sqlite",
"DatabasePath": "weaponpaints.db",
"DatabaseHost": "",
"DatabasePort": 3306,
"DatabaseUser": "",
"DatabasePassword": "",
"DatabaseName": "",
"CmdRefreshCooldownSeconds": 3,
"Website": "example.com/skins",
"Additional": {
"KnifeEnabled": true,
"GloveEnabled": true,
"MusicEnabled": true,
"AgentEnabled": true,
"SkinEnabled": true,
"PinsEnabled": true,
"CommandWpEnabled": true,
"CommandKillEnabled": true,
"CommandKnife": ["knife"],
"CommandMusic": ["music"],
"CommandPin": ["pin", "pins", "coin", "coins"],
"CommandGlove": ["gloves"],
"CommandAgent": ["agents"],
"CommandStattrak": ["stattrak", "st"],
"CommandSkin": ["ws"],
"CommandSkinSelection": ["skins"],
"CommandRefresh": ["wp"],
"CommandKill": ["kill"],
"GiveRandomKnife": false,
"GiveRandomSkin": false,
"ShowSkinImage": true
},
"MenuType": "selectable"
}