AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Console Welcome Message (1.1.2) (https://forums.alliedmods.net/showthread.php?t=122498)

exvel 03-27-2010 16:31

Console Welcome Message (1.1.2)
 
2 Attachment(s)
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

Jindo 03-27-2010 16:58

Re: Console Welcome Message (1.0.0)
 
ASCII Art isn't used enough in console messages, is it? :bacon:

exvel 03-27-2010 17:06

Re: Console Welcome Message (1.0.0)
 
Quote:

Originally Posted by Jindo (Post 1130673)
ASCII Art isn't used enough in console messages, is it? :bacon:

Don't know. This plugin was requested here and author wanted to use it for ascii art I suppose.

DontWannaName 03-28-2010 02:47

Re: Console Welcome Message (1.0.0)
 
You should add support for your colors include since OB games allow colors in console lol. :P

exvel 03-28-2010 05:30

Re: Console Welcome Message (1.0.0)
 
Quote:

Originally Posted by DontWannaName (Post 1130988)
You should add support for your colors include since OB games allow colors in console lol. :P

I have no idea how to print such colors. Console is definitely uses different color codes.

shustas 03-28-2010 11:43

Re: Console Welcome Message (1.0.0)
 
Thanks a lot for this.

Jamster 03-28-2010 13:24

Re: Console Welcome Message (1.0.0)
 
hahaha, this owns, so simple but so good

Zuko 03-28-2010 13:35

Re: Console Welcome Message (1.0.0)
 
This reminds me the motd from CS 1.5 ;]

Xp3r7 03-28-2010 14:00

Re: Console Welcome Message (1.0.0)
 
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.

shustas 03-28-2010 14:07

Re: Console Welcome Message (1.0.0)
 
Just tested, working like a charm


All times are GMT -4. The time now is 08:58.

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