From 2c34919e7f7077b1f1531635342a1ceeb77b47c2 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Fri, 24 Dec 2021 22:17:39 +0100 Subject: [PATCH] Delete config.lua Separated config.lua into config_client.lua and config_server.lua --- ND_Core/config.lua | 114 --------------------------------------------- 1 file changed, 114 deletions(-) delete mode 100644 ND_Core/config.lua diff --git a/ND_Core/config.lua b/ND_Core/config.lua deleted file mode 100644 index e9f88d7..0000000 --- a/ND_Core/config.lua +++ /dev/null @@ -1,114 +0,0 @@ ------------------------------------------------------------------------- ------------------------------------------------------------------------- --- -- --- For support join my discord: https://discord.gg/Z9Mxu72zZ6 -- --- -- ------------------------------------------------------------------------- ------------------------------------------------------------------------- - -config = { - -- Server name to display on the ui. - serverName = "Andy's Development", - characterLimit = 100, - changeCharacterCommand = "changecharacter", -- this is the command to open the ui again and change your character. - - -- set your backgrounds, if you have more than 1 then it will randomly change everytime you open the ui. - backgrounds = { - "https://i.imgur.com/E51ckFx.png", -- Credits: Fuzzman270#0270 - "https://i.imgur.com/SeZD7TP.png", -- Credits: Fuzzman270#0270 - "https://i.imgur.com/ZWKfYD9.png", -- Credits: 2XRondo#6374 - "https://i.imgur.com/7jM5nZT.png" -- Credits: 2XRondo#6374 - }, - - -- discord bot token for permissions - DiscordToken = "0", -- token - GuildId = "0", -- discord guild id - - -- set up your departments here, then set up the permissions for them below. - departments = { - "CIV", - "SAHP", - "LSPD", - "BCSO", - "LSFD" - }, - - -- role id for each role of the department in your discord. 0 Gives the role to everyone. - roles = { - ["ADMIN"] = "0", -- You can remove this if you don't want it but this should only be here for permisisons not as a department and it won't display as a department. This can be used for /setaop and other permissions. - ["CIV"] = "0", - ["SAHP"] = "0", - ["LSPD"] = "0", - ["BCSO"] = "0", - ["LSFD"] = "0" - }, - - -- set up the spawn buttons for each department. - spawns = { - ["CIV"] = { - {x = -102.78, y = 6336.28, z = 31.49, name = "Dream View Motel (Paleto Bay)"}, - {x = 343.53, y = 2636.94, z = 43.94, name = "Eastern Motel (Sandy Shores)"}, - {x = 196.96, y = -934.54, z = 29.69, name = "Legion Square"}, - {x = -1616.69, y = -1073.81, z = 12.15, name = "Del Perro Pier"}, - {x = -1039.65, y = -2741.02, z = 12.89, name = "LSIA"} - }, - ["SAHP"] = { - {x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"}, - {x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"}, - {x = 437.6, y = -986.6, z = 29.69, name = "Mission Row PD"} - }, - ["LSPD"] = { - {x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"}, - {x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"}, - {x = 437.6, y = -986.6, z = 29.69, name = "Mission Row PD"} - }, - ["BCSO"] = { - {x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"}, - {x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"}, - {x = 437.6, y = -986.6, z = 29.69, name = "Mission Row Police "} - }, - ["LSFD"] = { - {x = -384.07, y = 6117.9, z = 30.48, name = "Fire Station No1 (Paleto Bay)"}, - {x = 1691.5, y = 3597.95, z = 34.56, name = "Fire Station No2 (Sandy Shores)"}, - {x = 1194.71, y = -1474.14, z = 33.86, name = "Fire Station No7 (Los Santos)"} - }, - }, - - -- Money related - payCommand = "pay", -- Command to transfer someone money from bank account. - giveCommand = "give", -- Command to give someone close money from wallet. - - salaryAmount = 300, -- the daily amount that players will receive. - salaryInterval = 24, -- every x minutes the player will receive the salaryAmount. - - -- Shot spotter related, WARNING: Shot spotter will add a 0.01 ms. - shotSpotterEnabled = true, -- will the shot spotter be enabled when a civilian shoots their weapon. - shotSpotterDelay = 5, -- delay (in seconds) when cops will receive a notification that there has been a shooting. - shotSpotterTimer = 25, -- How long should the shot spotter stay on the map. - shotSpotterCooldown = 10, -- Cooldown for the next time a player can trigger it again. - shotSpotterUsePostal = false, -- if you're using the nearest postal script turn this to true. - - enableAopCommand = true, - aopCommand = "setaop", - checkAopCommand = "aop", - defaultAop = "Unknown", - - -- Hide reticle or default gta money and ammo dispaly. WARNING: turning all to true will add a 0.01 ms. - hideReticle = true, -- hide weapon reticle. - hideAmmoAndMoney = true, -- hides the default gta ammo & money. - customPauseMenu = true, -- this will create a custom pause menu. It will display your money, characters name. And server name in the pause menu. - - -- Discord Rich precence - enableRichPrecence = true, - updateIntervall = 60, -- how many seconds delay until it updates status. - appId = 912361433273102356, - largeLogo = "anyydevlogo", - smallLogo = "anyydevlogo", - firstButtonName = "DISCORD", - firstButtonLink = "https://discord.gg/Z9Mxu72zZ6", - secondButtonName = "TEBEX", - secondButtonLink = "https://andyyy.tebex.io/category/fivem-scripts", - - -- set to true for debug mode, this will print database and some other stuff in the console. - debugMode = false -} \ No newline at end of file