Guest User

Untitled

a guest
Feb 7th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.95 KB | None | 0 0
  1. /* show time left to next restart */
  2. USE_RESTART_TIMER = "true";
  3.  
  4. USE_RESTART_TIMES_ARRAY = "true";
  5. /* if USE_RESTART_TIMES_ARRAY = "true"; -> {hour,minute} .. put in the times when your server restarts (server real world time) */
  6. RESTART_TIMES[] =
  7. {
  8.     {00,00},
  9.     {04,10},
  10.     {08,00},
  11.     {12,00},
  12.     {16,00},
  13.     {20,00},
  14.     {22,50},
  15.     {24,00}
  16. };
  17.  
  18. /* if USE_RESTART_TIMES_ARRAY = "false"; -> restart time in minutes (default: 180min == 3 hours) */
  19. RESTART_TIME_IN_M = 180;
  20. TIME_FUNCTION_USED = "diag_tickTime";   // diag_tickTime (starts with arma3server.exe), time (starts with mpmission init)
  21.  
  22. /* show restart announcement message x min before restart -> SERVER RESTART IN: X MINS  |  (calculated from RESTART_TIMES[])*/
  23. RESTART_ANNOUNCE_X_MIN[] = {1,2,3,5,10};
  24.  
  25. /* SERVER_END_FUNCTION -> #shutdown or #restartserver */
  26. SERVER_END_FUNCTION = "#shutdown";
  27. USE_RESTART_TIMER_SHUTDOWN = "true";
  28. RESTART_WARNING_SOUND = "Alarm";    // for example: Alarm or air_raid
Advertisement
Add Comment
Please, Sign In to add comment