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

[ANY] Simple Welcome Message 1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Plugin ID:
1036
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    97 
    Plugin Description:
    Display simple welcome msg on chat, panel or hint.
    Old 07-24-2009 , 13:43   [ANY] Simple Welcome Message 1.2
    Reply With Quote #1

    Simple Welcome Message 1.2

    Description:
    This plugin display simple welcome message to players (Max 8 lines). You can easily set colored messages for different languages. List of colors that can be used in phrases: link
    Now you can aslo set messages on panel and hint.

    When update you should delete old cfg file.

    ConVars:
    • sm_swm_enable - Enable/Disable Plugin
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_swm_timer - When the message should be displayed after the player join on the server (in seconds)
      Default: "25.0"
    • sm_swm_msgtype - Sets Message Type: 1 - Chat , 2 - Panel , 4 - Hint (You can combine more than one, eg. Chat+Panel = 3)
      Default: "7" - All types
    • sm_swm_messagelines - How many lines plugin should display on chat.
      Min: "0"
      Max: "7" (for L4D: "6" | Insurgency: "5")
      Default: "0" - One
    • sm_swm_panellines - How many lines plugin should display on panel.
      Min: "0"
      Max: "13"
      Default: "0" - One (+ Title and Close)
    Changelog:
    • Version 1.0 (24.07.09)
      • Initial Release
    • Version 1.1 (26.07.09)
      • More lines for chat messages (max 8 )
      • Max lines limit for L4D and Insurgency
    • Version 1.2 (17.08.09)
      • Added Panel and Hint Message

    Installation:
    Precompiled version:
    • Put simplewelcomemsg.smx to sourcemod/plugins
    • Put simplewelcomemsg.phrases.txt to sourcemod/translations
    Source (to compile locally)
    • Put simplewelcomemsg.sp to sourcemod/scripting
    • Put colors.inc to sourcemod/scripting/include
    • Put simplewelcomemsg.phrases.txt to sourcemod/translations
    Known bugs:
    • When panel is on screen player can't change weapons with 1,2,3... keys

    Screenshots:
    Click image for larger version

Name:	chat.jpg
Views:	34735
Size:	33.8 KB
ID:	47719 Click image for larger version

Name:	panel.jpg
Views:	34628
Size:	50.1 KB
ID:	47720 Click image for larger version

Name:	hint.jpg
Views:	29370
Size:	10.0 KB
ID:	47721
    Attached Files
    File Type: sp Get Plugin or Get Source (simplewelcomemsg.sp - 8763 views - 23.7 KB)
    File Type: txt simplewelcomemsg.phrases.txt (3.3 KB, 12974 views)
    File Type: inc colors.inc (11.0 KB, 7450 views)
    File Type: smx simplewelcomemsg.smx (9.3 KB, 10160 views)
    __________________

    Last edited by Zuko; 09-04-2009 at 15:48.
    Zuko is offline
    Send a message via ICQ to Zuko
    The Flyer
    Member
    Join Date: Jan 2009
    Old 07-24-2009 , 14:43   Re: Simple Welcome Message
    Reply With Quote #2

    Where will the colors.inc installed.

    Can you recruit more welcome than 4 lines?
    The Flyer is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 07-24-2009 , 14:50   Re: Simple Welcome Message
    Reply With Quote #3

    Great idea man. Just checking, this only displays to the player that has connected, correct?
    __________________
    Sexual Harassment Panda is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 07-24-2009 , 14:56   Re: Simple Welcome Message
    Reply With Quote #4

    Quote:
    Originally Posted by The Flyer View Post
    Where will the colors.inc installed.

    Can you recruit more welcome than 4 lines?
    You must put colors.inc to scripting directory in sourcemod. (../addons/sourcemod/scripting/)
    About more than 4 lines, I think most mods have 4 chat lines. (but I will check it later)

    Quote:
    Originally Posted by Sexual Harassment Panda View Post
    Great idea man. Just checking, this only displays to the player that has connected, correct?
    Yes.
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-24-2009 , 18:43   Re: Simple Welcome Message
    Reply With Quote #5

    The colors include isnt required if you just want to run the plugin, its only needed to compile which as been done for you in the smx.
    __________________

    DontWannaName is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 07-26-2009 , 07:27   Re: [ANY] Simple Welcome Message 1.1
    Reply With Quote #6

    New version (look @ first post)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    The Flyer
    Member
    Join Date: Jan 2009
    Old 07-27-2009 , 08:56   Re: [ANY] Simple Welcome Message 1.1
    Reply With Quote #7

    N1 work!!! THX
    The Flyer is offline
    GrossKopf
    Senior Member
    Join Date: Jun 2007
    Old 07-27-2009 , 10:37   Re: [ANY] Simple Welcome Message 1.1
    Reply With Quote #8

    Just tried downloading it:

    "Plugin failed to compile! Please try contacting the author."
    GrossKopf is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 07-27-2009 , 10:56   Re: [ANY] Simple Welcome Message 1.1
    Reply With Quote #9

    You can't use 'web' compiler if plugin use includes.
    Download precompiled version or compile it locally.
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    asonof.oMega
    New Member
    Join Date: Aug 2009
    Old 08-13-2009 , 08:26   Re: [ANY] Simple Welcome Message 1.1
    Reply With Quote #10

    Hey,

    i tried to install this plugin. But I dunno where to put the phrases.txt data. Can you help me there?

    The smx has been added to plugins folder and the sp to the scripting folder.
    Then I changed the cvars for my sourcemod.cfg and for the simplewelcomemsg.plugin.cfg.
    Only the phrases are missing.
    asonof.oMega 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 15:57.


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