- Supported Games
- All
This plugin lets you create shortcut chat commands to use existing commands & cvars. For example, instead of using
Requirements :
Shortcut commands & cvars can be configured in file ctrike/addons/sourcemod/configs/ChatCommand.cfg.
Below is a simple configuration example :
Credits :
!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
- 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.
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"
}
- Arkarr