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

Console Welcome Message (1.1.2)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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:
    96 
    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, 6359 views)
    File Type: sp Get Plugin or Get Source (console-welcome.sp - 10287 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
     



    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 00:40.


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