Advertisement
Guest User

connectconfig

a guest
May 28th, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  3. //
  4. //Possible Key-Values:
  5. //
  6. // //player's personal connect msg <<<putting two slashes will allow you to leave comments above each setup for organization
  7. // "STEAM_0:0:1234567" <<<this can be named anything. If it matches a players steam ID, it will be available to them only, else, it is just a section name
  8. // {
  9. // "connectmsg" "1" <<<if setup applies to player, it will show after they connect (1 = enable, 0 = disable, default = 0)
  10. // "disconnectmsg" "1" <<<if setup applies to player, it will show after they disconnect (1 = enable, 0 = disable, default = 0)
  11. // "ignoreconnect" "1" <<<if setup applies to player, it will block custom connect messages (1 = enable, 0 = disable, default = 0)
  12. // "ignoredisconnect" "1" <<<if setup applies to player, it will block custom disconnect messages (1 = enable, 0 = disable, default = 0)
  13. // "center" "1" <<<enable/disable announcement in center of screen (1 = enable, 0 = disable, default = 1)
  14. // "chat" "1" <<<enable/disable announcement in chat (1 = enable, 0 = disable, default = 1)
  15. // "message" "{tag} {playername} Connected" <<<message to be displayed. {tag} is replaced with the tag defined below, {playername} is replaced with the player's current name (default = "{tag} {playername} Connected/Disconnected")
  16. // "tag" "=Hacker=" <<<tag to use if {tag} is in the message (more useful for groups, since individual players can just put it as part of the msg) (default = "[TagNotSet]")
  17. // "tagcolor" "FFFF00" <<<hex color code used for tag in chat messages (default = "FFFFFF")
  18. // "chatcolor" "FFFF00" <<<hex color code used for chat messages (default = "FFFFFF")
  19. // }
  20. //
  21. //Note: any missing lines will assume their default values.
  22. //
  23. //////////////////////////////////////////////////////////////////////////////////
  24. //
  25. //Order of Operations:
  26. //
  27. //Players get the first matching setup. That said, this is the suggested order to organize your setups:
  28. //Personal setups -> group 'ignore' setups -> group setups.
  29. //
  30. //For all setups, be sure to make check which setup first applies. e.g. if admins have flags 'b' and 's' and donators have 's',
  31. //make sure the admin setup comes first, else they will get the donator setup.
  32. //
  33. //Admin command to reload setups: sm_reloadtcm ("Reload Connect/Disconnect Setups" is also added in the admin menu under "Server Commands")
  34. //
  35. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  36. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  37. "Setups"
  38. {
  39. Projek
  40. "STEAM_0:1:106960195"
  41. {
  42. "connectmsg" "1"
  43. "chat" "1"
  44. "message" "{tag} {playername} Connected"
  45. "tag" "Server Owner"
  46. "tagcolor" "1AFF00"
  47. "chatcolor" "0008FF"
  48. }
  49. Projek deco
  50. "STEAM_0:1:106960195"
  51. {
  52. "connectmsg" "1"
  53. "center" "1"
  54. "chat" "1"
  55. "message" "{tag} has deconnected, be crazy!"
  56. "tag" "Server Owner"
  57. "tagcolor" "1AFF00"
  58. "chatcolor" "FFC400"
  59.  
  60. }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement