This is my first plugin hope you find it useful
Description:
Prints join message to chat when a player joins(country code is also printed in this message and death message when a player dies. Made it for Insurgency but should work for most games.
Cvar:
- sm_deathmessage 1
Enables or disables death message
- sm_joinmessage 1
Enables or disables join message
- sm_dmsg "Long Live The Queen"
Death message to be printed goes between the quotes
- sm_showcountry 1
Enables or disables country code. Note: sm_joinmessage must be 1 for this cvar to work.
- sm_lanonoroff 1
Enables or disables if LAN has to be printed in place of country code if a lan client has connected
To install just put the plugin file in addons\sourcemod\plugins
The plugin auto generates .cfg file under cfg\sourcemod called plugin.PlayerJoinAndDeadMsg.cfg.
Changelog:
v1.0 - Intial Release
v1.1 - Made the death message configurable
v1.2 - Added Country code to Join message
Todo list:
- Add option for panels and hint text for Death Message.
Screenshots:
Join Message with country code and Lan option turned on
Death message
Join message without country code.