More simple version of Simple Welcome Message by Zuko with some additional features aimed to prevent players from be distracted from gameplay due to these ads:
Ability to display message to observers only
Ability to display message to dead players only
(optional) Don't display ads when there is at least 1 tank on the field (for L4D game)
More flexible controlling over timing, e.g. delay between messages and delay between each full cycle of messages
Settings (ConVars):
Can be found in: cfg/sourcemod/plugin.simplewelcomemsg
PHP Code:
// Enable/Disable Plugin
sm_swm_enable "1"
// When the message should be displayed after the player join on the server (in seconds)
sm_swm_timer "10.0"
// Frequence of each message in queue (in seconds)
sm_swm_timerrepeat "10.0"
// When the next cycle of messages should begin (delay in seconds). 0 - to disable
sm_swm_timernextcycle "30.0"
// Number of the last line to show
sm_swm_lastline "2"
// Show advertisements to dead players only
sm_swm_deadonly "0"
// Show advertisements to spectators only
sm_swm_speconly "0"
Quick setup:
- edit ConVar sm_swm_lastline to as many different items as you want to display
- edit translations/simplewelcomemsg.phrases.txt to whatever messages you want
- to add more items, e.g. set "sm_swm_lastline" "3" and create new translation item named "WelcomeMsg3" etc.
* Version 1.3 (16.08.19)
* - Removed most of the code (panel based msg etc.)
* - Added ability to show messages one by one with interval
* - Added ability to define start delay and interval delay separately
* - Disabled messages when tanks is on the field
* * Version 1.4 (22.11.19)
* - Converted to a new syntax and methodmaps
* - Modified to support latest colors.inc