Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.91 KB | None | 0 0
  1. --[[
  2.     Purpose: Provides a table of configuration values that are to be used in the script and allow
  3.     easier customization of the script.
  4. --]]
  5.  
  6. -- Define a global table for configurations.
  7. nut.config = nut.config or {}
  8.  
  9. -- The module to use for MySQL. (mysqloo/tmysql4/sqlite)
  10. -- SQLite is local, meaning you DO NOT need a database!
  11. nut.config.dbModule = "mysqloo"
  12.  
  13. -- The IP or address of the host for the database.
  14. nut.config.dbHost = "127.0.0.1"
  15.  
  16. -- The user to login as.
  17. nut.config.dbUser = "root"
  18.  
  19. -- What the user's password is.
  20. nut.config.dbPassword = ""
  21.  
  22. -- The database that will be used for the framework. Make sure you have the .sql file already inside!
  23. nut.config.dbDatabase = "fnv"
  24.  
  25. -- The table for characters.
  26. nut.config.dbTable = "characters"
  27.  
  28. -- Table for player whitelists and data.
  29. nut.config.dbPlyTable = "players"
  30.  
  31. -- The port to connect for the database.
  32. nut.config.dbPort = 3306
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement