Raised This Month: $12 Target: $400
 3% 

[CS:GO] Connect/Disconnect message


Post New Thread Reply   
 
Thread Tools Display Modes
Author
JOMENVEST
Member
Join Date: Dec 2016
Location: Sweden
Plugin ID:
5459
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A plugin which allow you and all the connected players on the server to see info about connecting/disconnecting players
    Old 12-26-2016 , 10:44   [CS:GO] Connect/Disconnect message
    Reply With Quote #1

    Connect/Disconnect Message

    Description:
    A plugin which allow you and all the connected players on the server to see info in form of tag, name, steamid and country of connecting/disconnecting players in the chat.
    Easy to edit by using the CVARS, if you for example would like to only show name and steamid in the messages and so on.

    CVARS:
    • sm_connectmsg - Shows connecting messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_disconnectmsg - Shows disconnecting messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_steamidmsg - Shows the STEAMID in messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_countrymsg - Shows the COUNTRY in messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_plusminusmsg - Shows the +/- in the messages (sm_tagmsg must be 0 - disable)
      0 = Disable | 1 = Enable
      Default: "0" - Disable
    • sm_tagmsg - Shows the Player TAG in messages (sm_plusminusmsg must be 0 - disable)
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_admintagmsg - Shows the ADMIN tag for flag b in messages (sm_tagmsg must be 1 - enable)
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    Installation:
    • Put connectmessage.smx to sourcemod/plugins
    • Put connectmessage.sp to sourcemod/scripting
    Attached Files
    File Type: sp Get Plugin or Get Source (connectmessage.sp - 5492 views - 6.7 KB)

    Last edited by JOMENVEST; 12-29-2016 at 13:25.
    JOMENVEST is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 12-26-2016 , 10:56   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #2

    So basically this is the same as "Cannonce" https://forums.alliedmods.net/showthread.php?p=683858 Just simpler.

    Also If you want i could easly rewrite this to the Transitional Syntax if you want me - Done.
    __________________

    Last edited by xines; 12-27-2016 at 12:19.
    xines is offline
    JOMENVEST
    Member
    Join Date: Dec 2016
    Location: Sweden
    Old 12-26-2016 , 16:31   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #3

    Updated, now with CVARs which allows you to either enable or disable admin/player tags.
    JOMENVEST is offline
    Phorce_Phed
    Member
    Join Date: Jun 2006
    Old 01-16-2017 , 22:45   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #4

    Nice. Can the message show up in console as well?
    Phorce_Phed is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 01-17-2017 , 11:15   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #5

    Quote:
    Originally Posted by Phorce_Phed View Post
    Nice. Can the message show up in console as well?
    Yes it can be modified to work with: https://sm.alliedmods.net/new-api/co...PrintToConsole
    __________________
    xines is offline
    waylander3
    Senior Member
    Join Date: Sep 2015
    Location: Russia, Norilsk
    Old 09-02-2017 , 17:02   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #6

    Plugin doesnt create himself config, is it normal?
    I want to configurate plugin, but i can't
    Solved
    But anyway, i configured plugin, for example - i enabled tagmsg and +/-, console say's what it's enabled, but in game i dont see tags and +/-

    Last edited by waylander3; 09-02-2017 at 17:16.
    waylander3 is offline
    Enrory
    Senior Member
    Join Date: Nov 2016
    Location: Austria
    Old 09-06-2017 , 05:35   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #7

    hello

    @ me show allways uknown country
    __________________
    Enrory is offline
    hartii14
    Member
    Join Date: Aug 2017
    Old 09-21-2017 , 16:51   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #8

    is it possible to add translations in thanks you
    hartii14 is offline
    JOMENVEST
    Member
    Join Date: Dec 2016
    Location: Sweden
    Old 09-22-2017 , 11:57   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #9

    Quote:
    Originally Posted by waylander3 View Post
    Plugin doesnt create himself config, is it normal?
    I want to configurate plugin, but i can't
    Solved
    But anyway, i configured plugin, for example - i enabled tagmsg and +/-, console say's what it's enabled, but in game i dont see tags and +/-
    If you want the +/- before the connect/disconnect message you have to use:
    sm_plusminusmsg 1
    and
    sm_tagmsg 0

    Quote:
    Originally Posted by Enrory View Post
    hello

    @ me show allways uknown country
    Do you still have problem with this? Have you tried to see if other people also get "Unknown country" so its not only you?

    Quote:
    Originally Posted by hartii14 View Post
    is it possible to add translations in thanks you
    Will do my best to get it fixed.
    __________________
    JOMENVEST is offline
    ich1
    New Member
    Join Date: Dec 2021
    Old 12-03-2021 , 03:20   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #10

    Can someone help me im new on csgo server where to find cvars?
    ich1 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:34.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode