Go to file
JoinedSenses a5b22498ce Update to sm_ban, sm_kick, & sm_map in chat with no args to display menu (#838)
This change makes it so /kick, /ban, and /map open the already created methods for displaying their menus when there are no args.

The reason for the feature is to take advantage of menus that already exist and to make the commands easier to use.

The client == 0 check prevents them from opening if it was ran via rcon, sm_rcon, or server command. Client auth is also checked because its a registered admin command.

Usage params will display if client == 0 and args < min

For example, a moderator wants to change a map, instead of running through the admin menu, they can instead type just /map to display available maps and choose one.

If a mod wants to quickly ban or kick someone without having to either run through the admin menu or type it out, they could then type the corresponding commands with no args to open the menus.
2018-09-04 00:41:22 +01:00
.github Fix English style in CONTRIBUTING.md (#855) 2018-07-21 23:17:35 -06:00
bridge/include Burninate IDataPack (#864) 2018-08-13 23:03:48 +01:00
configs Allow setting multiple chat trigger characters (PR #449, bug 4341, bug 5668) 2016-10-04 16:34:42 +01:00
core Burninate IDataPack (#864) 2018-08-13 23:03:48 +01:00
editor Added AMXX Pawn geshi generation script. 2010-08-23 13:53:44 -04:00
extensions Add new Traceray natives (#754) 2018-08-13 23:02:12 +01:00
gamedata Fix SetClanTag CS:GO Windows Signature (#868) 2018-08-15 17:56:04 -07:00
loader 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
plugins Update to sm_ban, sm_kick, & sm_map in chat with no args to display menu (#838) 2018-09-04 00:41:22 +01:00
public Burninate IDataPack (#864) 2018-08-13 23:03:48 +01:00
sourcepawn@daca6d3326 Update SourcePawn. 2018-05-31 23:13:36 -07:00
tools Use env vars to find MySQL src on Linux, macOS. 2018-06-07 20:40:14 -04:00
translations Add internationalization to basechat and fix CS:GO colours (#674) 2017-12-30 12:25:32 -08:00
versionlib 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
.arcconfig Add a .arcconfig file so that arc works 2013-10-15 22:57:59 +01:00
.gitignore Update to the latest SourcePawn revision. 2015-08-18 09:51:24 -07:00
.gitmodules Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
.travis.yml NPOTB: Fix clang-3.9 failures with Travis-CI (#851) 2018-07-17 13:07:55 -07:00
AMBuildScript Fix MySQL extension build using vs2015 (#824) 2018-06-05 09:29:11 -04:00
changelog.txt Triggering a build. 2011-04-13 19:05:41 -05:00
configure.py 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
product.version Roll version. >_> 2017-12-18 20:39:57 -05:00
pushbuild.txt Trigger build against hl2sdk-tf2 update. 2018-08-02 17:29:09 -04:00
README.md NPOTB: Add Discord and IRC Server to README.md 2018-07-17 10:43:23 -07:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server