Command & CVAR Shortcut

Command & CVAR Shortcut v1.1

No permission to download
This plugin lets you create shortcut chat commands to use existing commands & cvars. For example, instead of using !map de_dust2, you can create and use simply !dd2. Useful for servers where admins need to execute lot of commands, such as WarMod Server.

Requirements :
  • Sourcemod v1.8 or Higher
Installation :
  • Download Commands_Shortcut.zip file attached to this post.
  • Extract the content of zip file and put into your server's cstrike/addons/sourcemod folder.
  • Configure the shortcuts commands in cstrike/addons/sourcemod/configs/ChatCommand.cfg.
  • Change the map or restart the server.
Configuration :

Shortcut commands & cvars can be configured in file ctrike/addons/sourcemod/configs/ChatCommand.cfg.
Below is a simple configuration example :
Code:
"1"                                       // Unique serial wise number for each configuration, do not duplicate this
{
        "chat"    "!at 1"                 // Shortcut command to be used in the chat
        "command" "sv_alltalk 1"          // Actual command to be executed when the shortcut command is called
        "flag"    "d"                     // Admin flags to give access to the shortcut command, leave empty for non-admins
}
"2"
{
        "chat"    "!dd2"
        "command" "sm_map de_dust2"
        "flag"    "g"
}
"3"
{
        "chat"    "!awp"
        "command" "sm_give @all awp"
        "flag"    "h"
}
Credits :
  • Arkarr
  • Like
Reactions: XTreme killer
Author
Vertigo
Downloads
3
Views
50
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Vertigo

Share this resource

Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock