View Single Post
Author Message
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-01-2014 , 02:35   [Source 2009 Games] TOGs Connect Messages v4.0, 4.0d
Reply With Quote #1

Description
This plugins allows server owners to create as many setups as desired for custom connect/disconnect messages. Each setup has customizable chat colors, tags, tag 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). Additionally, setups can define a group or player to skip connect and/or disconnect messages for.

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.
  • 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).

CVars


Sample Setup

Changelog


Installation
Install tog_connectmsgs.txt in cstrike/addons/sourcemod/configs/ folder.

For debug version: (should only be used to set up your tog_connectmsgs.txt file, then uninstalled and replaced with normal version)
Install togconnectmsg_v4_0d.smx in cstrike/addons/sourcemod/plugins/ folder.
Normal version:
Install togconnectmsg_v4_0.smx in cstrike/addons/sourcemod/plugins/ folder.

Note: This version is no longer being developed, as the plugin has since been completely recoded and was made private. PM me to discuss the current version (CS:GO compatible, add sounds to setups (multiple possible per setup, one randomly selected), Steam ID and User ID replacement, and country replacement with configurable colors).
Attached Files
File Type: txt tog_connectmsgs.txt (5.4 KB, 619 views)
File Type: sp Get Plugin or Get Source (togconnectmsgs_v4_0.sp - 407 views - 16.5 KB)
File Type: sp Get Plugin or Get Source (togconnectmsgs_v4_0d.sp - 574 views - 27.7 KB)
File Type: smx togconnectmsgs_v4_0.smx (12.7 KB, 594 views)
File Type: smx togconnectmsgs_v4_0d.smx (15.9 KB, 498 views)
__________________

Last edited by ThatOneGuy; 07-21-2017 at 16:44. Reason: Added [Source 2009 Games] to title.
ThatOneGuy is offline