- Supported Games
- All
This plugin adds many useful extra admin commands. They are also added to the admin menu.
Requirements :
Admin Commands :
Configuration :
You can execute map based configuration (cfgs) using this plugin :
CVARs :
Credits :
Requirements :
- Sourcemod v1.8 or Higher
- Download Advanced_Commands.zip file from this post.
- Extract the contents of zip file and put it into cstrike folder of your server.
- Restart the server or change the map.
Code:
!admins - Shows online admins.
Code:
!armour - Sets target armour
!balance - Balance teams
!blink - Teleport to aimed location
!botsay - Make a bot say something
!bury - Bury target player
!cash - Change target's cash
!deaths - Change target's deaths
!defuser - Toggle defuse kit on target player
!disarm - Disarm target player
!drop - Drop target's weapons
!dropslot - Drop target's weapon from specified weapon slot
!equip - Remove all weapons and give specified weapon
!exch - Exchange team of target players
!exec - Execute commands on target players
!extend - Extend map
!fexec - Fake-execute command on target
!frags - Change target's frags
!getloc - Print the location where you standing
!getmodel - Get target's model name
!give - Give item to target players
!god - Toggle god mode on target players
!hp - Set target's health points
!knives - Remove all weapons except knife
!lexch - Exchange teams of target players later
!melee - Remove all weapons except knife
!nv - Toggle nightvision on target players
!respawn - Respawn target
!rr - Restart round
!saveloc - Save current location where you are standing
!setmodel - Set target's model (May crash server)
!showmotd - Show motd to target players
!shuffle - Shuffle/randomize players in teams
!shutdown - Shutdown the server
!spec - Move target to spectators
!speed - Set target's speed
!swap - Swap target's team
!team - Set target's team
!teamswap - Swap teams
!teleport - Teleport target to specified location
!unbury - Unbury target
!url - Open specified URL to target in motd
You can execute map based configuration (cfgs) using this plugin :
- Enable map based cfg in cstrike/cfg/sourcemod/advcommands.cfg (sm_adv_mapcfg "1")
- Create mapcfg folder in cstrike/cfg folder.
- Put map based cfg files in mapcfg folder. (Example: de_dust2.cfg, de_inferno.cfg, awp_lego_2.cfg etc)
- Now if for a map, a cfg exists, it will be executed on change map. Otherwise ignored.
CVARs :
// Set of admin flags, which allows admin vision
// -
// Default: "j"
sm_adv_admin_flags "j"
// Minimum admin immunity, which grants protection against balancing
// -
// Default: "90"
// Minimum: "0.000000"
sm_adv_admin_immunity "90"
// Enable sm_admins command (1 - generic, 2 - roots)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_adv_admin_list "0"
// Enable admin vision (for: 1 - admins, 2 - fake clients, 4 - all, when sv_alltalk 1, 8 - all)
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "15.000000"
sm_adv_admin_vision "7"
// Enable ban logging (1 - log bans, 2 - log unbans, 4 - log console too)
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "7.000000"
sm_adv_banlog "7"
// Enable connect announce (1 - humans, 2 - bots)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_adv_connect_announce "1"
// Log actions
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_log "1"
// Enable mapconfigs
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_mapcfg "0"
// Enable /me trigger
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_me "1"
// If empty shows MOTD page, elsewhere opens this url
// -
// Default: ""
sm_adv_motd ""
// Player notiications (1 - move, 2 - spawn protection, 16 - notify in hint)
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "31.000000"
sm_adv_notify "3"
// Protect players between rounds
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_round_protection "0"
// Suppress all notifications
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_silent "0"
// Spawn protection time (0 to disable)
// -
// Default: "5.0"
// Minimum: "0.000000"
sm_adv_spawn_protection "0.0"
// -
// Default: "j"
sm_adv_admin_flags "j"
// Minimum admin immunity, which grants protection against balancing
// -
// Default: "90"
// Minimum: "0.000000"
sm_adv_admin_immunity "90"
// Enable sm_admins command (1 - generic, 2 - roots)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_adv_admin_list "0"
// Enable admin vision (for: 1 - admins, 2 - fake clients, 4 - all, when sv_alltalk 1, 8 - all)
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "15.000000"
sm_adv_admin_vision "7"
// Enable ban logging (1 - log bans, 2 - log unbans, 4 - log console too)
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "7.000000"
sm_adv_banlog "7"
// Enable connect announce (1 - humans, 2 - bots)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_adv_connect_announce "1"
// Log actions
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_log "1"
// Enable mapconfigs
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_mapcfg "0"
// Enable /me trigger
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_me "1"
// If empty shows MOTD page, elsewhere opens this url
// -
// Default: ""
sm_adv_motd ""
// Player notiications (1 - move, 2 - spawn protection, 16 - notify in hint)
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "31.000000"
sm_adv_notify "3"
// Protect players between rounds
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_round_protection "0"
// Suppress all notifications
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_adv_silent "0"
// Spawn protection time (0 to disable)
// -
// Default: "5.0"
// Minimum: "0.000000"
sm_adv_spawn_protection "0.0"
Credits :
- 3sigma aka X@IDER