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:- Put the console-welcome.smx into addons/sourcemod/plugins folder
- 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