Giter VIP home page Giter VIP logo

cs2-miniadmin's Introduction

IF YOU FIND A BUG, PLEASE TEXT ME AT DISCORD: thesamefabius

cs2-MiniAdmin

Adds basic administrator functions

Installation

  1. Install CounterStrike Sharp and Metamod:Source
  2. Download MiniAdmin
  3. Unzip the archive and upload it to the game server

Commands

For administrators:

Command Description Admin Flag
css_admin, !admin opens the admin menu -
css_ban "#userid or username" "time_minutes or 0 - permanently" [reason] Bans a player Ban
css_unban "steamid" "reason", !unban "steamid" [reason] Unbans the player Unban
css_mute <#userid or username> <time_seconds> [reason] Turns off player voice chat Generic
css_unmute <steamid or #userid> [reason] Enables voice chat for the player Unban
css_gag <#userid or username> <time_seconds> [reason] Disables player chat Generic
css_ungag <steamid or #userid> [reason] Enables player chat Unban
css_slay "#userid or username", !slay "userid" Allows you to kill a player Slay
css_kick "#userid or username", !kick "userid" Allows you to kick a player from the server Kick
css_map "name_map", !map "name_map" Allows you to change the map on the server ChangeMap
css_team <#userid or username> <ct/tt/spec/none> [-k] Allows you to transfer a player for another team, if you write -k to the team the player will die Kick
css_say <message> Allows you to send a message to the chat room Chat
css_csay <message> Allows you to send a message to the CENTER Chat
css_psay <#userid or username> <message> Allows you to send a private message Chat
css_cvar <cvar> <value> Change cvar value Cvar
css_god [#userid or username] Allows you to grant immortality, if you don't write userid or name, it will be granted to the one who wrote it. Cheats
css_rcon <command> Changes cvar with rcon Rcon
css_slap <#userid or username> [damage] Slap a player Slay
css_who, !who Shows all players, admin, and game time -

To write to admin chat, you need to open Team chat and write @MYTEXT

A LOT OF THESE FLAGS DON'T WORK. THEY HAVE BEEN ADDED FOR THE FUTURE.

FLAGS:

Reservation = a (doesn't work)
Generic  = b
Kick  = c
Ban  = d
Unban  = e
Slay = f
Changemap  = g
Cvar  = h
Config = i (doesn't work)
Chat = j
Vote = k (doesn't work)
Password = l (doesn't work)
Rcon = m
Cheats = n
Vip  = o (doesn't work)
Root = z

(example SteamId: STEAM_0:1:123456)

For chief administrators:

css_addadmin "username" "steamid" "immunity" "flags" "time_minutes or 0 - permanently", - Adds an administrator(server console only)

css_deleteadmin "steamid" - Removes the administrator(server console only)

(example SteamId: STEAM_0:1:123456)

Configs

The configuration is generated automatically next to the plugin dll

database.json
{
  "Connection": {
    "Host": 	"HOST",
    "Database": "NAME_DATABASE",
    "User": 	"NAME_USER",
    "Password": "PASSWORD"
  }
}

maps.txt
You just put the name of your maps here.

cs2-miniadmin's People

Contributors

partiusfabaa avatar crashzk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.