Advertisement
Guest User

Fléodon's PCMod - General Configuration

a guest
Jan 5th, 2021
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.06 KB | None | 0 0
  1. -- What is the base language?
  2. /*
  3.     -- french
  4.     -- english
  5.     -- turkish
  6.     -- polish
  7.     -- chinese
  8.     -- german
  9.     -- spanish
  10. */
  11. PCMod.Config.BaseLang = "english"
  12.  
  13. PCMod.Config.CityName = "Rockford"
  14.  
  15. -- Do you want to allow the fast download?
  16. PCMod.Config.FastDL = true
  17.  
  18. -- Wether or not a sound is played when the computer starts up?
  19. PCMod.Config.StartupSound = true
  20.  
  21. -- Add 'PCMod entities' to the F4Menu?
  22. PCMod.Config.F4MenuEntities = {
  23.     Enable = true, -- wether or not we add entities to the F4 Menu?
  24.     CreateNewCategory = true, -- if true: we will create a new category named 'PCMod' / if false, change the entities's category name below
  25.     Entities = { -- list of the entities:
  26.         [1] = {
  27.             Name = "Laptop",
  28.             Ent = "pcmod_laptop", -- class name
  29.             Price = 1000, -- price
  30.             Model = "models/fleodon/pcmod/fleodon_laptop.mdl", -- model
  31.             Category = "PCMod", -- the category where it is sorted
  32.             Maxbuy = 1, -- max
  33.             Enabled = true, -- wether or not we add this item?
  34.         },
  35.         [2] = {
  36.             Name = "Gaming Desk",
  37.             Ent = "pcmod_gamingdesk",
  38.             Price = 2500,
  39.             Model = "models/models/noahkrueger/epic_fleodon_table.mdl",
  40.             Category = "PCMod",
  41.             Maxbuy = 1,
  42.             Enabled = true,
  43.         },
  44.         [3] = {
  45.             Name = "WIFI Router",
  46.             Ent = "pcmod_router",
  47.             Price = 750,
  48.             Model = "models/fleodon/pcmod/router/fleodon_router.mdl",
  49.             Category = "PCMod",
  50.             Maxbuy = 2,
  51.             Enabled = true,
  52.         }
  53.     }
  54. }
  55.  
  56. -- Does players can drop (give) their laptop on other players? (exemple: https://cdn.discordapp.com/attachments/716760709681381487/794166019006267392/2020-12-31_12-30-09.mp4)
  57. PCMod.Config.LaptopGiveToPlayers = true
  58.  
  59. -- Wether or not players get a laptop computer when they spawn on the server? (the initial spawn when they join the server)
  60. PCMod.Config.GetLaptopOnSpawn = false
  61.  
  62. -- What is the signal range of the wifi router?
  63. PCMod.Config.WIFIRouter_Radius = 1200
  64.  
  65. -- What is the key to open the laptop when a player is on a vehicle?
  66. PCMod.Config.LaptopOnVehicleMenuKey = KEY_B
  67.  
  68. -- How long does it is needed to call again a lawyer?
  69. PCMod.Config.TimeToCallAgainLawyer = 60
  70.  
  71. -- How long does it is needed to call again a taxi?
  72. PCMod.Config.TimeToCallAgainTaxi = 60
  73.  
  74. /*
  75.     APPLICATIONS AND WEBSITES
  76.  
  77.     Write true to enable it;
  78.     Write false to disable it.
  79. */
  80. PCMod.Config.Modules = {
  81.     ["settings"] = true,
  82.     ["browser"] = true,
  83.     ["gang"] = true,
  84.     ["properties"] = true,
  85.     ["services"] = true,
  86.     ["store"] = true,
  87.     ["whatsup"] = true,
  88.     ["police"] = true,
  89. }
  90.  
  91. PCMod.Config.Websites = {
  92.     ["darknet"] = true,
  93.     ["lawyers"] = true,
  94.     ["bank"] = true, -- Supports Glorified Banking / DarkRP Foundation..
  95.     ["taxis"] = true,
  96. }
  97.  
  98. /*
  99.     SERVER JOBS
  100.  
  101.     Write true to enable it;
  102.     Write false to disable it.
  103. */
  104. PCMod.Config.Jobs = {
  105.     lawyers = { -- DO NOT TOUCH THIS
  106.         ["Lawyer"] = true, -- add the lawyers job names.
  107.     },
  108.     police = { -- DO NOT TOUCH THIS
  109.         ["Deputy Sheriff"] = true,
  110.         ["Police Chief"] = true,
  111.         ["Police Officer"] = true, -- add the police job names.
  112.     },
  113.     medic = { -- DO NOT TOUCH THIS
  114.         ["Medic"] = true,
  115.     },
  116.     fire = { -- DO NOT TOUCH THIS
  117.         ["Firefighter"] = true,
  118.     },
  119.     taxidrivers = { -- DO NOT TOUCH THIS
  120.         ["Taxi Driver"] = true,
  121.     }
  122. }
  123.  
  124. /*
  125.     STORE
  126. */
  127. -- Wether or not the model rotates in the menu?
  128. PCMod.Config.StoreItems_RotateItem = true
  129.  
  130. PCMod.Config.StoreItems = {
  131.     [1] = {
  132.         Name = "General",
  133.         Items = {
  134.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  135.             [2] = { Name = "Laptop", Type = "entity", Class = "pcmod_laptop", model = "models/fleodon/pcmod/fleodon_laptop.mdl", Price = 250 },
  136.             [3] = { Name = "Gaming Desk", Type = "entity", Class = "pcmod_gamingdesk", model = "models/models/noahkrueger/epic_fleodon_table.mdl", Price = 1000 },
  137.             [4] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  138.             [5] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  139.             [6] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  140.             [7] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  141.             [8] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  142.             [9] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  143.             [10] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  144.             [11] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  145.             [12] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  146.         }
  147.     },
  148.     [2] = {
  149.         Name = "Utility",
  150.         Items = {
  151.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  152.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  153.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  154.         }
  155.     },
  156.     [3] = {
  157.         Name = "Printers",
  158.         Items = {
  159.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  160.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  161.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  162.         }
  163.     },
  164.     [4] = {
  165.         Name = "Drugs",
  166.         Items = {
  167.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  168.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  169.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  170.         }
  171.     },
  172.     [5] = {
  173.         Name = "Other",
  174.         Items = {
  175.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  176.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  177.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  178.         }
  179.     },
  180.     [6] = {
  181.         Name = "Category Example",
  182.         Items = {
  183.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  184.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  185.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  186.         }
  187.     },
  188.     [7] = {
  189.         Name = "Category Example 2",
  190.         Items = {
  191.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  192.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  193.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  194.         }
  195.     },
  196.     [8] = {
  197.         Name = "Category Example 3",
  198.         Items = {
  199.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  200.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  201.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  202.         }
  203.     },
  204.     [9] = {
  205.         Name = "Category Example 4",
  206.         Items = {
  207.             [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  208.             [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  209.             [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  210.         }
  211.     },
  212. }
  213.  
  214. /*
  215.     SERVICES
  216.  
  217.     Here is the list of the available services of the emergency services app,
  218.     configure it as you wish.
  219.  
  220.     [X] = { -- #SERVICES+1
  221.         Name = "SERVICE NAME", -- Write here the name of the service
  222.         Icon = Material(ICON), -- Put here an icon
  223.         Description = "DESCRIPTION" -- Add the description of the service
  224.         Jobs = { -- Add the jobs of the service
  225.             [JOB_EXAMPLE1] = true,
  226.             [JOB_EXAMPLE2] = true,
  227.         },
  228.         ResponseType = RESPONSE_TYPE, -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  229.     },
  230. */
  231. PCMod.Config.Services = {
  232.     [1] = { -- increment the value by 1 (0+1 = 1)
  233.         Name = "Police", -- Write here the name of the service
  234.         Icon = Material("materials/pcmod/icons/police.png"), -- Put here an icon
  235.         Description = "The police are a constituted body of persons empowered by a state, with the aim to enforce the law, to ensure the safety, health and possessions of citizens, and to prevent crime and civil disorder. Their lawful powers include arrest and the use of force legitimized by the state via the monopoly on violence.", -- here a description of the service.
  236.         Jobs = { -- Add the jobs of the service
  237.             ["Police Chief"] = true,
  238.             ["Police Officer"] = true,
  239.             ["Deputy Sheriff"] = true,
  240.         },
  241.         ResponseType = "police", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  242.     },
  243.     [2] = { -- increment the value by 1 (1+1 = 2)
  244.         Name = "EMS",
  245.         Icon = Material("materials/pcmod/icons/ems.png"),
  246.         Description = "Emergency medical services (EMS), also known as ambulance services or paramedic services, are emergency services that provide urgent pre-hospital treatment and stabilisation for serious illness and injuries and transport to definitive care",
  247.         Jobs = {
  248.             ["Police Officer"] = true,
  249.         },
  250.         EmergencyResponse = false,
  251.         ResponseType = "ems", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  252.     },
  253.     [3] = { -- increment the value by 1 (2+1 = 3)
  254.         Name = "Fire",
  255.         Icon = Material("materials/pcmod/icons/fire.png"),
  256.         Description = "Firefighters are rescuers extensively trained in firefighting, primarily to extinguish hazardous fires that threaten life, property, and the environment as well as to rescue people and in some cases or jurisdictions also animals from dangerous situations.",
  257.         Jobs = {
  258.             ["Police Officer"] = true,
  259.         },
  260.         EmergencyResponse = false,
  261.         ResponseType = "fire", -- type 'police' / 'ems' / 'fire' / 'other' ONLY!
  262.     },
  263. }
  264.  
  265. -- The time needed to send a new request? (in seconds)
  266. PCMod.Config.Service_Time = 10
  267.  
  268. -- Would you like to enable the 911 Emergency Response addon (to send a request)? -> (https://www.gmodstore.com/market/view/6890)
  269. PCMod.Config.Services_EmergencyResponseModule = false
  270.  
  271. -- Wether ot not we show a list of players who are in service's jobs?
  272. PCMod.Config.Services_ShowPlayerList = true
  273.  
  274. /*
  275.     WHATSUP
  276. */
  277. PCMod.Config.Whatsup = {
  278.     -- Write here the usergroups who can have access to moderator tools:
  279.     -- (1) deleting a comment
  280.     ["Moderators"] = {
  281.         ["moderator"] = true,
  282.         ["admin"] = true,
  283.         ["superadmin"] = true,
  284.         ["owner"] = true,
  285.     },
  286.     -- Public Timeline
  287.     ["GeneralTimeline"] = {
  288.         -- Write here the usergroups who can chat on the timeline: (basically everyone should be able to chat on the timeline)
  289.         ["Chat"] = {
  290.             ["Usergroups"] = {
  291.                 ["user"] = true,
  292.                 ["vip"] = true,
  293.                 ["moderator"] = true,
  294.                 ["admin"] = true,
  295.                 ["superadmin"] = true,
  296.                 ["owner"] = true,
  297.             },
  298.             ["ErrorMessage"] = "Your usergroup can not send messages!",
  299.         },
  300.         -- Write here the usergroups who can send images on the public timeline:
  301.         ["SendImages"] = {
  302.             ["Usergroups"] = {
  303.                 ["user"] = false, -- write 'true' if you want that users can send images
  304.                 ["vip"] = true,
  305.                 ["moderator"] = true,
  306.                 ["admin"] = true,
  307.                 ["superadmin"] = true,
  308.                 ["owner"] = true,
  309.             },
  310.             ["ErrorMessage"] = "You must be VIP or higher to send images!"
  311.         },
  312.     },
  313.     ["Profiles"] = {
  314.         ["CanChangeName"] = {
  315.             ["Usergroups"] = {
  316.                 ["user"] = 2, -- write 'a positive number' if you want that users can change their name (in this example, a user can change his name 2 times)
  317.                 ["vip"] = 5,
  318.                 ["moderator"] = 10,
  319.                 ["admin"] = 9999999,
  320.                 ["superadmin"] = 9999999, -- superadmins will be able to change their name for ever.
  321.                 ["owner"] = 9999999,
  322.             },
  323.             ["NoLimit"] = false, -- if 'true' everyone will be able to change his name.
  324.             ["ErrorMessage"] = "You can not change your name anymore!",
  325.         }
  326.     }
  327. }
  328.  
  329. /*
  330.     POLICE
  331.  
  332.     In this configuration part you will be able to configure the police application.
  333. */
  334. PCMod.Config.Police = {
  335.     ["UserInterface"] = {
  336.        
  337.         -- Wether or not we draw the police station view in the menu? (if 'false' we will just draw a dark background)
  338.         ["Draw_PoliceStation"] = {
  339.             enabled = true,
  340.             vector = Vector( 2154.660645, 4309.386230, 582.497620 ),
  341.             angle = Angle( 19.205854, -83.357475, 0.000000 ),
  342.         },
  343.     },
  344.     ["Features"] = {
  345.         -- if 'true' all police officers will be able to see the money contained in anyone’s bank:
  346.         ShowBankMoney = true
  347.     }
  348. }
  349.  
  350. /*
  351.     GUNSHOP
  352.  
  353.     In this configuration part you will be able to configure the gunshop application.
  354. */
  355. PCMod.Config.Gunshop = {
  356.     Store = {
  357.         [1] = {
  358.             Name = "General",
  359.             Items = {
  360.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  361.                 [2] = { Name = "Laptop", Type = "entity", Class = "pcmod_laptop", model = "models/fleodon/pcmod/fleodon_laptop.mdl", Price = 250 },
  362.                 [3] = { Name = "Gaming Desk", Type = "entity", Class = "pcmod_gamingdesk", model = "models/models/noahkrueger/epic_fleodon_table.mdl", Price = 1000 },
  363.                 [4] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  364.             }
  365.         },
  366.         [2] = {
  367.             Name = "Utility",
  368.             Items = {
  369.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  370.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  371.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  372.             }
  373.         },
  374.         [3] = {
  375.             Name = "Printers",
  376.             Items = {
  377.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  378.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  379.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  380.             }
  381.         },
  382.     },
  383.     Purchase = {
  384.         PlayersCanPurchase_WhenNoGunDealers = false,
  385.     }
  386. }
  387.  
  388. /*
  389.     DARKNET
  390.  
  391.     In this configuration part you will be able to configure the darknet website.
  392. */
  393. PCMod.Config.Darknet = {
  394.     TimeBeforeClosing = 15, -- The time in seconds, that the user has before the Darknet closes?
  395.     AlertPolice = true, -- Do we alert the police when a player exceeds the time?
  396.     PoliceGPSTime = 60, -- How long does the gps point stay in place?
  397.     Store = {
  398.         [1] = {
  399.             Name = "Category Example",
  400.             Items = {
  401.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  402.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  403.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  404.             }
  405.         },
  406.         [2] = {
  407.             Name = "Category Example 2",
  408.             Items = {
  409.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  410.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  411.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  412.             }
  413.         },
  414.         [3] = {
  415.             Name = "Category Example 3",
  416.             Items = {
  417.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  418.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  419.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  420.             }
  421.         },
  422.         [4] = {
  423.             Name = "Category Example 4",
  424.             Items = {
  425.                 [1] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  426.                 [2] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  427.                 [3] = { Name = "Lockpick", Type = "weapon", Class = "lockpick", model = "models/weapons/w_crowbar.mdl", Price = 500 },
  428.             }
  429.         },
  430.     },
  431. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement