Description
This plugin is based off of ReFlexPoison's
Admin Connect Messages plugin, but adds more ability to customize and generate multiple setups.
This plugins allows server owners to create as many setups as desired for connect messages. Each setup has customizable tags, chat colors, and access flags required to activate the messages. Setups can also be STEAM ID specific to apply just to a single player (just use the STEAM ID as the setup title and place above any setups for groups).
I also included a feature that will disable it for a configurable time on map start, then enable it for connecting players afterwards the set time. This feature is off by default, but is included in case someone wanted to have a setup that applies to all players, but does not want the message spam on map starts.
Notes:- The plugin uses the first applicable tag found, so order them accordingly. e.g. In the Sample Setup above, if a player connects with both flags "b" and "s", they would get the "Admin" connect message because it was the first applicable message.
- If no tag is used in a setup, it will announce without a tag just fine.
- If the flag line is left out of a setup, or if the flag is set to "public", it is available to all players.
- If the flag line is included, but left blank (i.e. ""), it will apply to players with ANY admin flags (including reserve slot or custom flags).
- The flag line can use combinations of flags (e.g. "ast" will check for all three flags).
Admin Commands
sm_reloadtcm - Reloads setups.
Changelog
03/25/14 (v2.1)
- Initial release.
Installation
Install togconnectmsg_v2_1.smx in
cstrike/addons/sourcemod/plugins/ folder.
Install tog_connectmsg.txt in
cstrike/addons/sourcemod/configs/ folder.
Credits
To Do- Maybe convert to use translations so server owners can manipulate the message it displays, other than <tag> <playername> Connected!
Servers using this plugin
>>> Click here to check out my approved plugins <<<