Skip to content

Releases: lovasatt/cs2-MiniAdmin

MiniAdmin v1.1.0 - The Localization Update

10 Apr 08:07
680a9ee

Choose a tag to compare

Technical Updates:

  • Engine: Upgraded to .NET 8.0.
  • API: Compatible with CounterStrikeSharp v1.0.364+.
  • Database: Optimized MySQL connection handling with Dapper.

New Features:

  • Localization: Full support for 17 languages.
  • Admin System: Improved feedback messages for all admin actions.

Bug Fixes:

  • Fixed ws: map prefix stripping (changed Trim to Substring).
  • Fixed VirtualFunctions.ClientPrint API signature crash.
  • Fixed SteamID handling for Ban/Mute database operations.

Installation & Setup

  1. Extract: Download and extract the BaseAdmin.zip into your server's addons/counterstrikesharp/plugins/MiniAdmin folder.
  2. First Run: Start your server once. The plugin will automatically generate the following files in the plugin directory:
    • database.json (Database configuration)
    • maps.txt (List of maps for the menu)
    • admin/ folder (Reasons and times)
  3. Database Config: Open database.json and enter your MySQL/MariaDB credentials (Host, Database, User, Password).
  4. Map List: Edit maps.txt to include your server's maps.
    • Use standard names for local maps (e.g., de_dust2).
    • Use the ws: prefix for workshop maps (e.g., ws:de_canals).
  5. Finalize: Restart the server. Upon a successful database connection, the plugin will automatically create the necessary tables:
    • miniadmin_bans
    • miniadmin_admins
    • miniadmin_mute

Note on Workshop Maps: For the ws: prefix to work, your server must have the maps pre-cached. The recommended way is to use a Steam Workshop Collection by adding +host_workshop_collection <your_collection_id> to your server's startup parameters. This ensures the maps are downloaded and recognized by the game engine.