Important
Work in progress. Might not work as expected. Use our CS2 Update Manager to keep updated just in case :)
This will be a very simple admin implementation without a database or other stuff. Simply grant admin permissions and use !kick, !ban, !mute or !unmute. Will remember players even when they reconnect.
- Download and extract the latest release from the GitHub releases page.
- Move the "MiniAdmin" folder to the
/addons/counterstrikesharp/plugins/directory. - Restart the server.
Updating is even easier: simply overwrite all plugin files and they will be reloaded automatically. To automate updates please use our CS2 Update Manager.
This plugin automatically creates a readable JSON configuration file. This configuration file can be found in /addons/counterstrikesharp/configs/plugins/MiniAdmin/MiniAdmin.json.
Permission: @miniadmin/kick
Kicks a player by his name. Will provide a list of all online players if no player name was entered. Will provide a list of all matching player names to choose from. Will kick the selected player instantly.
Permission: @miniadmin/ban
Bans a player by his name. Will provide a list of all online players if no player name was entered. Will provide a list of all matching player names to choose from. Will kick & ban the selected player instantly.
Permission: @miniadmin/ban
Unbans a player by his Steam ID or last known name. Will provide a list of all banned players if no player name was entered. Will provide a list of all matching player names to choose from.
Permission: @miniadmin/mute
Mutes a player by his name. Will provide a list of all online players if no player name was entered. Will provide a list of all matching player names to choose from. Will mute instantly.
Permission: @miniadmin/mute
Unmutes a player by his Steam ID or last known name. Will provide a list of all muted players if no player name was entered. Will provide a list of all matching player names to choose from.
Permission: @miniadmin/restart
Restarts the match by optionally providing a delay (default = 3 seconds).
Permission: @miniadmin/switch
Switches the team of the player, has the same effect as the "jointeam" console command. This follows gamemode rules, so this will usually cause a player suicide/loss of weapons.
Permission: @miniadmin/switch
Forcibly switches the team of the player, the player will remain alive and keep their weapons.
Permission: @miniadmin/respawn
Respawns a given player.
Permission: @miniadmin/kill
Kills a given player.
Permission: @miniadmin/give
Gives an item to a player.
Clone the project:
git clone https://github.com/Kandru/cs2-mini-admin.gitGo to the project directory
cd cs2-mini-adminInstall dependencies
dotnet restoreBuild debug files (to use on a development game server)
dotnet buildBuild release files (to use on a production game server)
dotnet publishAdditionally add the dependencies (if not added already for the panorama-vote-manager):
git submodule add https://github.com/Kandru/cs2-panorama-vote-manager.git
git commit -m "added panorama-vote-manager as a submodule"
git pushTODO
