This is a basic admin plugin for CounterStrikeSharp that uses SQLite. It can do:
ban
(with optional time limit)unban
kick
slay
Just extract package to game/csgo/addons/counterstrikesharp/plugins/
and you should be good to go.
Requires CSS v132+
Usage: css_players
Running css_players
will print out a list of active players in the form of UserID: PlayerName
For example:
1: ben
2: TopHATTwaffle
Usage: css_ban <target | SteamID64>
Use target
for banning people in the server.
Use SteamID64
to ban someone with that SteamID64 even if they're not in the server.
Usage: css_unban <SteamID64 | username>
Unban a user identified either by SteamID64 or username. Username match is partial and case-insensitive. Command fails if multiple users are matched.
Usage: css_kick <target>
Kick a user by target. Fails if multiple users are targeted.
Usage: css_slay <target>
Kill a user or users by target.
- @all
- @bots
- @human
- @alive
- @dead
- @!me
- @me
- @ct
- @t
- @spec
- #user_id
- #steam_id
- username (can be partial, case-insensitive)
Permissions using CounterStrikeSharp's admin framework
Command | Permission |
---|---|
css_ban |
@css/ban |
css_unban |
@css/unban |
css_kick |
@css/kick |
css_slay |
@css/slay |