go to the Main page
slide show

Plugins » Statistical and Sound: Server Messages

Author: Enzo Matrix (22-02-2010, 09:18)
Server Messages


Description: This plugin is not really a new idea and it has a lot of alternatives. It can be used as Public Server Rules or as Advertiser, GHW Message Displayer v2.1. It shows important messages, informations or rules to clients via HUD, Chat or Centerid messages. You can add a messages in different languages into a file (server_messages.txt). The using of a consecutive numbers is required. You can also send a custom messages to a specific client or group.

CVARs:
sm_msg_mode "3" - print location of the messages (0 - console, 1 - chat, 2 - center, 3 - hud)
sm_rule_mode "2" - print location of the rules
sm_info_mode "2" - print location of the informations
sm_msg_show "1" - display automatically the messages from the server_messages.txt
sm_rule_show "1" - display automatically the rules from the server_messages.txt
sm_info_show "1" - display automatically the informations from the server_messages.txt
sm_min_activity "4320" - clients who are longer played than the specified minutes, will not receive the automatically messages. Set sm_min_activity to 0 to disable this feature.
sm_show_frequency "15" - time in seconds between 2 automatically messages
sm_show_skip "2" - skip a group of clients who shouldn't receive an automatically message (0 - skip no players, 1 - skip dead players, 2 or higher - skip live players)
sm_show_time "8" - duration in seconds of hud messages

Commands:
Valid values for @group (with case ignoring)
• for all players: @A or @ALL
• for all CTs: @C, @CT or @COUNTER
• for all Ts: @T, @TE, @TERROR or @TERRORIST

amx_print_custom (authid, nick, @group or #userid) (your message) [optional: mode] - shows a custom message (e.g. "amx_print_custom @T "You are a terrorist" " will shown "You are a terrorist" to all terrorists)
amx_print_msg (authid, nick, @group or #userid) (msg number) [optional: mode] - shows a specific message from the server_messages.txt (default depends on sm_msg_mode) (e.g. "amx_print_msg @ALL 1" will shown SERVER_MSG_1 to all clients)
amx_print_rule (authid, nick, @group or #userid) (rule number) [optional: mode] - shows a specific rule from the server_messages.txt (default depends on sm_rule_mode) (e.g. "amx_print_rule @CT 2" will shown SERVER_RULE_2 to all counter terrorists)
amx_print_info (authid, nick, @group or #userid) (info number) [optional: mode] - shows a specific information from the server_messages.txt (default depends on sm_info_mode) (e.g. "amx_print_info Leon 3" will shown SERVER_INFO_3 to me [Leon])
amx_list_msg - lists all messages from the server_messages.txt into the console
amx_list_rule - lists all rules from the server_messages.txt into the console
amx_list_info - lists all informations from the server_messages.txt into the console

F.A.Q:


Download: Only registered users can upload files.

Custom Search
Views: 4432  Comments (0)  Print
Related News...:
Information
Information
Members of Guests cannot leave comments.



Copyright © 2009-2010. All rights reserved.
Terms of Use - Use of this site signifies your agreement. www.Create-Server.com ™