Advertisement
Guest User

sv_config

a guest
Feb 10th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 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 = "sqlite"
  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 = "derp"
  21.  
  22. -- The database that will be used for the framework. Make sure you have the .sql file already inside!
  23. nut.config.dbDatabase = "nutscript"
  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
  33.  
  34. -- Whether or not players can suicide.
  35. nut.config.canSuicide = false
  36.  
  37. -- What the default flags are for players. This does not affect characters that are already made
  38. -- prior to changing this config.
  39. nut.config.defaultFlags = ""
  40.  
  41. -- What the fall damage is set to by multiplying this scale by the velocity.
  42. nut.config.fallDamageScale = 0.8
  43.  
  44. -- Whether or not players can use the flashlight.
  45. nut.config.flashlight = true
  46.  
  47. -- Whether or not players automatically get nut_fists
  48. nut.config.nutFists = true
  49.  
  50. -- The starting amount of money.
  51. nut.config.startingAmount = 0
  52.  
  53. -- How high players can jump by default.
  54. nut.config.jumpPower = 128
  55.  
  56. nut.config.deathTime = 10
  57.  
  58. -- Determines whether or not voice chat is allowed.
  59. nut.config.allowVoice = false
  60.  
  61. -- If true, will have voices fade over distance.
  62. nut.config.voice3D = false
  63.  
  64. -- The delay between OOC messages for a player in seconds.
  65. nut.config.oocDelay = 0
  66.  
  67. -- Clears the map of unwanted entities. (props, vehicles, etc...)
  68. nut.config.clearMaps = true
  69.  
  70. -- Whether or not holding C and pressing Persist will NOT persist props.
  71. -- If set to false or nil, the gamemode will automatically turn on sbox_persist.
  72. nut.config.noPersist = false
  73.  
  74. -- The model for dropped money.
  75. nut.config.moneyModel = "models/props_lab/box01a.mdl"
  76.  
  77. -- Whether or not server saves the chat.
  78. nut.config.savechat = true
  79.  
  80. -- The lifetime of the dropped item.
  81. nut.config.itemTime = 1200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement