Advertisement
Guest User

Crafting Mod

a guest
Jun 24th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1.  
  2. /*---------------------------------------------------------------------------
  3. CONFIGURATION
  4. ---------------------------------------------------------------------------*/
  5. CRAFTINGMOD.Config = CRAFTINGMOD.Config or {}
  6.  
  7. CRAFTINGMOD.Config.Language = "English" -- (Default: English. Available: Spanish)
  8.  
  9. CRAFTINGMOD.Config.DropLimit = 6 -- Max drops pr. player
  10. CRAFTINGMOD.Config.PropLimit = 6 -- Max placed entities pr. player
  11.  
  12. CRAFTINGMOD.Config.DropTimeOut = 300 -- How many seconds before drop dissapears
  13.  
  14. CRAFTINGMOD.Config.MaxInventoryWeight = 10000 -- Max weight on inventory
  15. CRAFTINGMOD.Config.MaxStorageWeight = 10000 -- Max weight on storage
  16.  
  17. CRAFTINGMOD.Config.StartMaxExperience = 250 -- How much start experience levels start with
  18. CRAFTINGMOD.Config.LevelMultiplication = 1.5 -- How much levels increase by multiplication (startMaxExp * currentLevel * LevelMultiplication)
  19. CRAFTINGMOD.Config.LevelCapacity = 250 -- Maximum level someone can reach.
  20.  
  21. CRAFTINGMOD.Config.MenuKey = KEY_I -- The key that opens up the menu
  22. CRAFTINGMOD.Config.DisableQMenu = false -- Disables QMenu for players that are not admin
  23.  
  24. CRAFTINGMOD.Config.GatherDelay = 5 -- How long time it takes a craftingmod weapon to gather resources (input in seconds) (gets faster by levels)
  25.  
  26. CRAFTINGMOD.Config.InventoryDrop = false
  27. CRAFTINGMOD.Config.InventoryDropTimer = 300 -- Seconds (5 minutes). After this time the inventory drop will be removed
  28. CRAFTINGMOD.Config.RemovePrimaryOnDeath = false
  29.  
  30. CRAFTINGMOD.Config.Pickup_KeyBinds = {IN_SPEED, IN_ATTACK2} -- Use IN_KEYS. Look at the garrysmod.wiki for the list of the available ones
  31.  
  32. CRAFTINGMOD.Config.CraftingDelayDefault = 5 -- seconds
  33. CRAFTINGMOD.Config.NotificationsDelay = 2 -- seconds
  34.  
  35. /*---------------------------------------------------------------------------
  36. ULX & ULIB
  37. ---------------------------------------------------------------------------*/
  38.  
  39. CRAFTINGMOD.Config.ULX = true -- is your server using ULX & ULIB then activate
  40. CRAFTINGMOD.Config.ULX_Spawnmenu = { "superadmin" } -- Configure which players can open the Q-menu (CUSTOM SPAWNMENU OPTION)
  41. CRAFTINGMOD.Config.ULX_Adminmenu = { "superadmin" }
  42. CRAFTINGMOD.Config.ULX_CustomWeigts = { admin = 10000, superadmin = 10000, staffmanager = 10000, servermanager = 10000, eventmanager = 10000, headadmin = 10000, moderator = 10000, trialmoderator = 10000, helper = 10000, vip = 7500, supporter = 10000, trusted = 5000, user = 2500, admin+ = 10000, moderator+ = 10000, operator = 10000 }
  43.  
  44. /*---------------------------------------------------------------------------
  45. SQL (Change this to your own database info)
  46. ---------------------------------------------------------------------------*/
  47.  
  48. CRAFTINGMOD.Config.useMySQL = false
  49. CRAFTINGMOD.Config.ip = "127.0.0.1"
  50. CRAFTINGMOD.Config.username = "root"
  51. CRAFTINGMOD.Config.password = ""
  52. CRAFTINGMOD.Config.database = "gmod"
  53. CRAFTINGMOD.Config.port = 3306
  54.  
  55. /*---------------------------------------------------------------------------
  56. ADDON COMPABILITY
  57. ---------------------------------------------------------------------------*/
  58. CRAFTINGMOD.Config.UseAddonConfigurations = false -- Main compability switch.
  59.  
  60. /*---------------------------------------------------------------------------
  61. NPC MODELS FOR TOOLGUN
  62. ---------------------------------------------------------------------------*/
  63. CRAFTINGMOD.Config.NPCModelList = { -- Models to pick with the NPC creating tools (Storage / Shop)
  64. "models/Humans/Group01/Female_01.mdl",
  65. "models/Humans/Group01/Female_02.mdl",
  66. "models/Humans/Group01/Female_04.mdl",
  67. "models/Humans/Group03/male_02.mdl",
  68. "models/Humans/Group02/male_02.mdl",
  69. "models/Humans/Group03m/Male_04.mdl",
  70. "models/Kleiner.mdl",
  71. "models/gman_high.mdl",
  72. "models/odessa.mdl",
  73. }
  74.  
  75. /*---------------------------------------------------------------------------
  76. PICKUP RESTRICTION
  77. ---------------------------------------------------------------------------*/
  78. CRAFTINGMOD.PICKUP_RESTRICTION = {
  79. "", -- Entities that you have configured but want to blacklist for pickup
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement