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

[Any] Simple Conenct/Disconnect Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Plugin ID:
3393
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A plugin that displays a players name and steam id on connect and disconnect.
    Unapprover:
    Reason for Unapproving:
    https://forums.alliedmods.net/showthread.php?t=77306
    Old 12-01-2012 , 21:33   [Any] Simple Conenct/Disconnect Messages
    Reply With Quote #1

    A week or two ago I was starting up a CS:S server and I wanted a plugin that would display a players name and steam id on join. There are a few different plugins out there that do similar things, but the only one that could do what I wanted would have taken quite a bit of configuration, and I was feeling lazy. So I made this, and expanded on it a bit over the past week or so. I have a picture of the two different connect messages down there, but I do not have a picture of the disconnect one. It is just "Player has left the server: steamid".

    Plugin Features:
    - Disables the default 'Player has connected to the server' message.
    - Disables the default 'Player has disconnected to the server' message.
    - Adds a custom connect and disconnect message.
    - Adds a custom admin connect message.

    Plugin ConVars:
    - sm_show_connect "1/0" *Enables or disables custom connect messages for players.*
    - sm_show_a_connect "1/0" *Enables or disables custom connect messages for admins.*

    Plugin Snapshot:


    I do know that this is a repeat plugin of sorts, but I think it is much easier to use than the other ones around. Whoever does use this, I hope you enjoy its' simplicity!
    Attached Files
    File Type: sp Get Plugin or Get Source (simple_connect.sp - 943 views - 2.1 KB)
    File Type: smx simple_connect.smx (3.1 KB, 206 views)

    Last edited by Marcus_Brown001; 12-01-2012 at 21:34.
    Marcus_Brown001 is offline
    Bubka3
    Sir Buzz Killington, Esq.
    Join Date: Jan 2010
    Location: New York, NY
    Old 12-01-2012 , 21:34   Re: [Any] Simple Conenct/Disconnect Messages
    Reply With Quote #2

    I'm confused, what does this do that "Connect Announce" does not, other then cater to lazy people?
    Bubka3 is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 12-02-2012 , 20:14   Re: [Any] Simple Conenct/Disconnect Messages
    Reply With Quote #3

    I need a cvar to disable disconnect message, so that it is not shown.
    __________________

    Last edited by ph; 12-02-2012 at 20:15.
    ph is offline
    PriceLess
    Senior Member
    Join Date: Sep 2012
    Location: Jungle
    Old 12-02-2012 , 21:26   Re: [Any] Simple Conenct/Disconnect Messages
    Reply With Quote #4

    Quote:
    Originally Posted by ph View Post
    I need a cvar to disable disconnect message, so that it is not shown.
    Add AutoExecConfig(true, "sm_connect" after the ConVars. ( in the sp file and compile)

    Last edited by PriceLess; 12-02-2012 at 21:26.
    PriceLess is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 12-04-2012 , 09:54   Re: [Any] Simple Conenct/Disconnect Messages
    Reply With Quote #5

    Removing features from an existing plugin does not mean it's not a duplicate.
    __________________
    Dr. McKay is offline
    Reply



    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 10:11.


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