Raised This Month: $32 Target: $400
 8% 

Console Welcome Message (1.1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Plugin ID:
1564
Plugin Version:
1.1.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    149 
    Plugin Description:
    Prints welcome message into the client's console on join
    Old 03-27-2010 , 16:31   Console Welcome Message (1.1.2)
    Reply With Quote #1

    Console Welcome Message
    Version: 1.1.2


    [IMG]http://img196.**************/img196/4317/about1q.jpg[/IMG] Description:

    Prints welcome message into the client's console on join. You can specify message text in the sourcemod/configs/console_welcome.txt file.
    If you are looking for cool ASCII pictures visit this site: http://www.chris.com/ASCII. Or convert your own image: http://www.glassgiant.com/ascii
    You can also use tags to put dynamical information into the message.
    Servers running this plugin.

    Valid tags:
    Quote:
    • {server_name}
      Prints server's name
    • {player_name}
      Prints player's name
    • {server_ip}
      Prints server IP address with port
    • {time}
      Prints server time: Hours:Minutes
    • {time_12}
      Prints server time in 12 hour format: Hours:Minutes
    • {date}
      Prints current date: Day/Month/Year
    • {date_us}
      Prints current date in US format: Month/Day/Year
    • {map}
      Prints current map
    • {nextmap}
      Prints next map if it is already chosen
    • {timeleft}
      Prints time remaining for the map: Minutes:Seconds
    • {tickrate}
      Prints current server's tickrate
    • {max_players}
      Prints amount of visible server slots
    • {player_count}
      Prints amount of players connected to the server
    • {player_ip}
      Prints player's IP address
    • {player_country}
      Prints player's country
    • {server_uptime}
      Prints server uptime like this: 2 days 20 hours 02 minutes
    • {is_admin}
      Is player admin? Prints: Yes/No
    • {player_steamid}
      Prints player's Steam ID
    • {player_language}
      Prints player's Steam language
    • {server_language}
      Prints default server language
    Adding language specific welcome messages
    If you want to add welcome message for specific language just create text file configs/console_welcome_%lang%.txt. %lang% is 2-3 letters language code. For example: for French users you should use name like this - console_welcome_fr.txt and for Russian users - console_welcome_ru.txt. You can create many language specific welcome messages and they will be printed based on player's language. If player's language is not detected or there is no language specific message for player's language then console_welcome.txt is used.

    Adding admin specific welcome message
    You can create a special welcome message that will be displayed for admins only. Just create console_welcome_admin.txt in sourcemod/configs folder. It overrides language specific welcome messages so admin welcome message can't be multi-language.

    Requirements:[IMG]http://img38.**************/img38/3856/install3.png[/IMG] Installation:
    1. Put the console-welcome.smx into addons/sourcemod/plugins folder
    2. Put the console_welcome.txt into addons/sourcemod/configs folder and edit it in a way you want
    [IMG]http://img20.**************/img20/2184/settings3.png[/IMG] Settings:
    Quote:
    • sm_console_welcome
      default: 1
      Console Welcome Message, 0 = off/1 = on
    • sm_console_welcome_ingnore_mapchanges
      default: 1
      Don't print welcome message to client after map change
    [IMG]http://img269.**************/img269/2707/screenshot2j.png[/IMG] Screenshot:

    [IMG]http://img718.**************/img718/227/consolewelcome.jpg[/IMG]

    [IMG]http://img38.**************/img38/4548/changelog1.png[/IMG] Changelog:
    • 1.1.2
      • Added 3 new tags:
        • {time_12}
        • {date}
        • {date_us}
    • 1.1.1
      • Fixed {server_uptime} incorrect output
    • 1.1.0
      • Improved plugin code
      • Added 10 new tags
      • Added multi-language message support
      • Added special admin message support
    • 1.0.1
      • Fixed "IsFakeClient reported: Client index 0 is invalid"
    • 1.0.0
      • Initial Release
    Attached Files
    File Type: txt console_welcome.txt (834 Bytes, 6348 views)
    File Type: sp Get Plugin or Get Source (console-welcome.sp - 10270 views - 9.3 KB)
    __________________
    For admins: My plugins

    For developers: Colors library

    Last edited by exvel; 04-18-2010 at 08:12.
    exvel is offline
    Send a message via ICQ to exvel
    Jindo
    AlliedModders Donor
    Join Date: May 2009
    Location: England, UK
    Old 03-27-2010 , 16:58   Re: Console Welcome Message (1.0.0)
    Reply With Quote #2

    ASCII Art isn't used enough in console messages, is it?
    __________________
    Jindo is offline
    exvel
    SourceMod Donor
    Join Date: Jun 2006
    Location: Russia
    Old 03-27-2010 , 17:06   Re: Console Welcome Message (1.0.0)
    Reply With Quote #3

    Quote:
    Originally Posted by Jindo View Post
    ASCII Art isn't used enough in console messages, is it?
    Don't know. This plugin was requested here and author wanted to use it for ascii art I suppose.
    __________________
    For admins: My plugins

    For developers: Colors library
    exvel is offline
    Send a message via ICQ to exvel
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 03-28-2010 , 02:47   Re: Console Welcome Message (1.0.0)
    Reply With Quote #4

    You should add support for your colors include since OB games allow colors in console lol.
    __________________

    DontWannaName is offline
    exvel
    SourceMod Donor
    Join Date: Jun 2006
    Location: Russia
    Old 03-28-2010 , 05:30   Re: Console Welcome Message (1.0.0)
    Reply With Quote #5

    Quote:
    Originally Posted by DontWannaName View Post
    You should add support for your colors include since OB games allow colors in console lol.
    I have no idea how to print such colors. Console is definitely uses different color codes.
    __________________
    For admins: My plugins

    For developers: Colors library
    exvel is offline
    Send a message via ICQ to exvel
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 03-28-2010 , 11:43   Re: Console Welcome Message (1.0.0)
    Reply With Quote #6

    Thanks a lot for this.
    __________________
    shustas is offline
    Jamster
    Veteran Member
    Join Date: Jun 2008
    Old 03-28-2010 , 13:24   Re: Console Welcome Message (1.0.0)
    Reply With Quote #7

    hahaha, this owns, so simple but so good
    Jamster is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 03-28-2010 , 13:35   Re: Console Welcome Message (1.0.0)
    Reply With Quote #8

    This reminds me the motd from CS 1.5 ;]
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 03-28-2010 , 14:00   Re: Console Welcome Message (1.0.0)
    Reply With Quote #9

    Nice plugin!

    http://www.glassgiant.com/ascii/

    You can go there and upload your own image and it will convert it over to ASCII Art.

    Just used my clans logo and it worked fine.

    I tried a .gif and a .png and they both worked.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 03-28-2010 , 14:07   Re: Console Welcome Message (1.0.0)
    Reply With Quote #10

    Just tested, working like a charm
    __________________
    shustas 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 07:37.


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