[ANY] Favorite Connections: Messages
Description:
This plugin detects whenever a player connects via server favorites tab and sends him/her custom messages. Furthermore, this plugin supports More Colors.
I am fully open to suggestions, so suggest away! :)
Dependencies:CVARS:
Use %PLAYER_NAME% to include a player's name in the message.
For a list of all usable colors, go here
- favoriteconnections_messages_version - Plugin version, no touchy!
- favoriteconnections_messages_enable [1/0] - (Default = 1) Enable = 1 Disable = 0
- favoriteconnections_messages_broadcastmode [0/1/2/3] - (Default = 1) Broadcast a message to everyone on the server that a player joined through favorites (Does not show for the user who joined through favorites).
0 = Don't broadcast any messages
1 = Broadcast the message to the chat only
2 = Broadcast the message to the center of the screen only
3 = Broadcast the message to both chat and center of the screen - favoriteconnections_messages_broadcastchat "" - (Default = "{green}%PLAYER_NAME% {orange}joined the server through his/her {blue}favorites{orange}!") The broadcast message that gets sent to the chat (Supports colors).
- favoriteconnections_messages_broadcastcenter "" - (Default = "%PLAYER_NAME% joined the server through his/her favorites!") The broadcast message that gets sent to the center of the screen (Doesn't support colors).
- favoriteconnections_messages_notifymode [0/1/2/3] - (Default = 1) Send the user who joined through favorites a message when they are fully in game. (Only displays to the user who joined via favs).
0 = Don't send any messages
1 = Send the message to the chat only
2 = Send the message to the center of the screen only
3 = Send the message to both chat and center of the screen - favoriteconnections_messages_notifychat "" - (Default = "{orange}Thank you, {green}%PLAYER_NAME%{orange}, for adding us to your favorites!") Send a message to the player's chat who joined thru favs (Supports colors).
- favoriteconnections_messages_notifycenter "" - (Default = "Thank you, %PLAYER_NAME%, for adding us to your favorites!") Send a message to the center of the screen of the player who joined thru favs (Doesn't support colors).
- Download favoriteconnections.smx and place it in the (game)/addons/sourcemod/plugins/ folder.
- Install More Colors.
- Download the favoriteconnections_messages.smx attached below (Get Plugin doesn't work) and install it to your (game)/addons/sourcemod/plugins/ folder.
- Restart your server, or reload the map.
- (None yet)
Spoiler
- v1.0, 2015-2-17
* Initial release.


Wyświetl pełny artykuł