mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Reworked the database layer to support both MySQL and SQLite via new provider classes and migration scripts for each backend. Updated the build workflow to support building and packaging additional modules, including StealthModule and BanSoundModule, and improved artifact handling. Refactored command registration to allow dynamic registration/unregistration and improved API event handling. Updated dependencies, project structure, and configuration checks for better reliability and extensibility. Added new language files, updated versioning, and removed obsolete files.
**⚠️ Warning: SQLite support is currently experimental.
Using this version requires reconfiguration of your database settings!
Plugin now uses UTC time. Please adjust your configurations accordingly!
**
12 lines
264 B
C#
12 lines
264 B
C#
namespace CS2_SimpleAdmin.Models;
|
|
|
|
public record PlayerStats(int Score, int Kills, int Deaths, int MVPs);
|
|
public record PlayerDto(
|
|
int UserId,
|
|
string Name,
|
|
string SteamId,
|
|
string IpAddress,
|
|
uint Ping,
|
|
bool IsAdmin,
|
|
PlayerStats Stats
|
|
);
|