A lightweight, self-contained admin / moderation plugin for CounterStrikeSharp (Counter-Strike 2), built for the MUS SOU MANO fleet.
It uses only built-in CSSharp APIs — the built-in chat menus and the built-in
admin/permission system — with no external shared assemblies and no
NuGet-resolved dependencies. That means it registers reliably with
PluginResolveNugetPackages=false and never conflicts with stacks like
GameModeManager / MenuManagerAPI / PlayerSettings. Every command body is wrapped
and all entity actions are deferred to the next frame, so a handler error can
never crash the game server.
- Moderation —
kick,ban/addban/unban(file-backed), timedgag/mute/silence,slay,slap,freeze/unfreeze,noclip,hp, team moves. - Maps — workshop
mapchange (with a short delay) and an in-chat map vote. - Admin menu —
!adminbuilt-in chat menu surfacing the common actions. - Timed advertisements — rotating feature-discovery messages on a timer.
!web/!stats/!profile— public command (no permission required) that DMs the player the stats-site URL and a direct link to their ownplayer.php?id=<steamid>profile, plus!rank/!storehints.
Chat (!) and console (css_) variants are both registered, e.g. !kick,
!ban, !gag 10 <name>, !map, !vote, !admin, !web. Admin commands are
gated by CSSharp permission flags; !web is open to everyone.
Requires the .NET SDK matching your CSSharp API version.
dotnet build -c ReleaseThe build output DamineAdmin.dll goes in
addons/counterstrikesharp/plugins/DamineAdmin/ on the server.
- Copy
DamineAdmin.dllintoaddons/counterstrikesharp/plugins/DamineAdmin/. - Configure admins/flags via CSSharp's
admins.json/admin_groups.json. meta loadCSSharp (or restart) and the plugin registers on next map.
MIT © daminebenq (MUS SOU MANO)