Scripts.included.gg welcome msg

From GunGame5 Documentation

Jump to: navigation, search


Description

gg_welcome_msg is used to send players a Welcome menu when they join the server.

  • The menu is also sent to each player for each new map.
  • Players can use the menu to see what Included and Custom addons are currently loaded on the server.


Variables

gg_welcome_msg contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_welcome_msg.cfg file:
// ============================================================================
// >> GUNGAME WELCOME MESSAGE
// ============================================================================
// Description:
//    A menu displayed to newly connected players displaying server and addon
// information.
//    Players can type !welcome to bring this menu back up.
// Note:
//    The configureable message is available in "gg_welcome_msg.txt".
// Options:
//    0 = (Disabled)
//    1 = (Enabled)
// Default Value: 0

// Enables/Disables gg_welcome_msg.
   gg_welcome_msg 0


// ============================================================================
// >> GUNGAME WELCOME MESSAGE TIMEOUT
// ============================================================================
// Description:
//    The number (in seconds) it takes for the welcome message to dissappear.
// Options:
//    (#) = (#) seconds
//    10 = 10 seconds
// Default Value: 10

// Sets the number of seconds for gg_welcome_msg_timeout.
   gg_welcome_msg_timeout 10

Notes

The text of the menu can also be editted via the servers ../cfg/gungame51/included_addon_configs/gg_welcome_msg.txt file.

Personal tools