Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1.  
  2. local cfg = {}
  3.  
  4. -- mysql credentials
  5. cfg.db = {
  6. driver = "ghmattimysql",
  7. host = "mysql-mariadb-4-101.zap-hosting.comm", -- database ip (default is local)
  8. database = "zap407631-1", -- name of database
  9. user = "zap407631-1", -- database username
  10. password = "JPf1vJVQaNTWHzEo" -- password of your database
  11. }
  12.  
  13. cfg.server_id = "main" -- identify the server (ex: in database)
  14.  
  15. cfg.save_interval = 60 -- seconds
  16. cfg.whitelist = false -- enable/disable whitelist
  17.  
  18. -- delay the tunnel at loading (for weak connections)
  19. cfg.load_duration = 30 -- seconds, player duration in loading mode at the first spawn
  20. cfg.load_delay = 60 -- milliseconds, delay the tunnel communication when in loading mode
  21. cfg.global_delay = 0 -- milliseconds, delay the tunnel communication when not in loading mode
  22.  
  23. cfg.ping_check_interval = 0 -- seconds, 0 to disable ping timeout
  24. cfg.ping_timeout_misses = 10 -- number of ping miss required to reject a player
  25.  
  26. cfg.max_characters = 5 -- maximum number of characters per user
  27. cfg.character_select_delay = 60 -- minimum number of seconds between character selects, at least 30 seconds is recommended
  28.  
  29. -- identify users only with steam or ros identifiers (solve same ip issue, recommended)
  30. -- if enabled, steam auth should be forced in the FiveM server config
  31. cfg.ignore_ip_identifier = true
  32.  
  33. cfg.lang = "dan"
  34.  
  35. cfg.log_level = 0 -- maximum verbose level for logs, -1 may disable logs and 1000 may print all logs
  36.  
  37. return cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement