Added config_server.lua and config_client.lua

Separated config into server and client files and moved sensitive information to the server config.

Removed shot spotter, it will be made into a separate resource.
This commit is contained in:
Andyyy7666
2021-12-24 22:21:37 +01:00
committed by GitHub
parent 2c34919e7f
commit b13c6d9c2d
2 changed files with 125 additions and 0 deletions

35
ND_Core/config_server.lua Normal file
View File

@@ -0,0 +1,35 @@
------------------------------------------------------------------------
------------------------------------------------------------------------
-- --
-- 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.
-- discord bot token for permissions
DiscordToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.YXH0kQ.p5DRIbh5m9Ia5_tlMZdxkfgJjsI",
GuildId = "872496972454592523", -- discord guild id
-- 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"
},
-- 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.
}