0.0.1
This commit is contained in:
80
resources/[core]/es_extended/shared/config/adjustments.lua
Normal file
80
resources/[core]/es_extended/shared/config/adjustments.lua
Normal file
@@ -0,0 +1,80 @@
|
||||
Config.DisableHealthRegeneration = false -- Player will no longer regenerate health
|
||||
Config.DisableVehicleRewards = false -- Disables Player Receiving weapons from vehicles
|
||||
Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death
|
||||
Config.DisableDispatchServices = true -- Disable Dispatch services
|
||||
Config.DisableScenarios = true -- Disable Scenarios
|
||||
Config.DisableAimAssist = false -- disables AIM assist (mainly on controllers)
|
||||
Config.DisableVehicleSeatShuff = false -- Disables vehicle seat shuff
|
||||
Config.DisableDisplayAmmo = false -- Disable ammunition display
|
||||
Config.EnablePVP = true -- Allow Player to player combat
|
||||
Config.EnableWantedLevel = false -- Use Normal GTA wanted Level?
|
||||
|
||||
Config.RemoveHudComponents = {
|
||||
[1] = false, --WANTED_STARS,
|
||||
[2] = false, --WEAPON_ICON
|
||||
[3] = false, --CASH
|
||||
[4] = false, --MP_CASH
|
||||
[5] = false, --MP_MESSAGE
|
||||
[6] = true, --VEHICLE_NAME
|
||||
[7] = true, -- AREA_NAME
|
||||
[8] = true, -- VEHICLE_CLASS
|
||||
[9] = true, --STREET_NAME
|
||||
[10] = false, --HELP_TEXT
|
||||
[11] = false, --FLOATING_HELP_TEXT_1
|
||||
[12] = false, --FLOATING_HELP_TEXT_2
|
||||
[13] = false, --CASH_CHANGE
|
||||
[14] = false, --RETICLE
|
||||
[15] = false, --SUBTITLE_TEXT
|
||||
[16] = false, --RADIO_STATIONS
|
||||
[17] = false, --SAVING_GAME,
|
||||
[18] = false, --GAME_STREAM
|
||||
[19] = false, --WEAPON_WHEEL
|
||||
[20] = false, --WEAPON_WHEEL_STATS
|
||||
[21] = false, --HUD_COMPONENTS
|
||||
[22] = false, --HUD_WEAPONS
|
||||
}
|
||||
|
||||
Config.Multipliers = {
|
||||
pedDensity = 1.0,
|
||||
scenarioPedDensityInterior = 0.0,
|
||||
scenarioPedDensityExterior = 1.0,
|
||||
ambientVehicleRange = 1.0,
|
||||
parkedVehicleDensity = 1.0,
|
||||
randomVehicleDensity = 1.0,
|
||||
vehicleDensity = 1.0
|
||||
}
|
||||
|
||||
-- Pattern string format
|
||||
--1 will lead to a random number from 0-9.
|
||||
--A will lead to a random letter from A-Z.
|
||||
-- . will lead to a random letter or number, with a 50% probability of being either.
|
||||
--^1 will lead to a literal 1 being emitted.
|
||||
--^A will lead to a literal A being emitted.
|
||||
--Any other character will lead to said character being emitted.
|
||||
-- A string shorter than 8 characters will be padded on the right.
|
||||
Config.CustomAIPlates = "........" -- Custom plates for AI vehicles
|
||||
|
||||
--[[
|
||||
PlaceHolders:
|
||||
{server_name} - Server Display Name
|
||||
{server_endpoint} - Server IP:Server Port
|
||||
{server_players} - Current Player Count
|
||||
{server_maxplayers} - Max Player Count
|
||||
|
||||
{player_name} - Player Name
|
||||
{player_rp_name} - Player RP Name
|
||||
{player_id} - Player ID
|
||||
{player_street} - Player Street Name
|
||||
]]
|
||||
|
||||
Config.DiscordActivity = {
|
||||
appId = 0, -- Discord Application ID,
|
||||
assetName = "LargeIcon", --image name for the "large" icon.
|
||||
assetText = "{server_name}", -- Text to display on the asset
|
||||
buttons = {
|
||||
{ label = "Join Server", url = "fivem://connect/{server_endpoint}" },
|
||||
{ label = "Discord", url = "https://discord.esx-framework.org" },
|
||||
},
|
||||
presence = "{player_name} [{player_id}] | {server_players}/{server_maxplayers}",
|
||||
refresh = 1 * 60 * 1000, -- 1 minute
|
||||
}
|
||||
23
resources/[core]/es_extended/shared/config/logs.lua
Normal file
23
resources/[core]/es_extended/shared/config/logs.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
Config.DiscordLogs = {
|
||||
Webhooks = {
|
||||
default = "",
|
||||
test = "",
|
||||
Chat = "",
|
||||
UserActions = "",
|
||||
Resources = "",
|
||||
Paycheck = "",
|
||||
},
|
||||
|
||||
Colors = { -- https://www.spycolor.com/
|
||||
default = 14423100,
|
||||
blue = 255,
|
||||
red = 16711680,
|
||||
green = 65280,
|
||||
white = 16777215,
|
||||
black = 0,
|
||||
orange = 16744192,
|
||||
yellow = 16776960,
|
||||
pink = 16761035,
|
||||
lightgreen = 65309,
|
||||
},
|
||||
}
|
||||
75
resources/[core]/es_extended/shared/config/main.lua
Normal file
75
resources/[core]/es_extended/shared/config/main.lua
Normal file
@@ -0,0 +1,75 @@
|
||||
Config = {}
|
||||
|
||||
local txAdminLocale = GetConvar("txAdmin-locale", "en")
|
||||
local esxLocale = GetConvar("esx:locale", "invalid")
|
||||
Config.Locale = (esxLocale ~= "invalid") and esxLocale or (txAdminLocale ~= "custom" and txAdminLocale) or "en"
|
||||
|
||||
-- For ox inventory, this will automatically be adjusted, do not change! For other inventories, leave as false unless specifically instructed to change.
|
||||
Config.CustomInventory = false
|
||||
|
||||
Config.Accounts = {
|
||||
bank = {
|
||||
label = TranslateCap("account_bank"),
|
||||
round = true,
|
||||
},
|
||||
black_money = {
|
||||
label = TranslateCap("account_black_money"),
|
||||
round = true,
|
||||
},
|
||||
money = {
|
||||
label = TranslateCap("account_money"),
|
||||
round = true,
|
||||
},
|
||||
}
|
||||
|
||||
Config.StartingAccountMoney = { bank = 50000 }
|
||||
|
||||
Config.StartingInventoryItems = false -- table/false
|
||||
|
||||
Config.DefaultSpawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations
|
||||
{ x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0 },
|
||||
--{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0},
|
||||
--{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0},
|
||||
--{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0},
|
||||
--{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0}
|
||||
}
|
||||
|
||||
Config.AdminGroups = {
|
||||
["owner"] = true,
|
||||
["admin"] = true,
|
||||
}
|
||||
|
||||
Config.ValidCharacterSets = { -- Only enable additional charsets if your server is multilingual. By default everything is false.
|
||||
['el'] = false, -- Greek
|
||||
['sr'] = false, -- Cyrillic
|
||||
['he'] = false, -- Hebrew
|
||||
['ar'] = false, -- Arabic
|
||||
['zh-cn'] = false -- Chinese, Japanese, Korean
|
||||
}
|
||||
|
||||
Config.EnablePaycheck = true -- enable paycheck
|
||||
Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false)
|
||||
Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society
|
||||
Config.MaxWeight = 24 -- the max inventory weight without a backpack
|
||||
Config.PaycheckInterval = 7 * 60000 -- how often to receive paychecks in milliseconds
|
||||
Config.SaveDeathStatus = true -- Save the death status of a player
|
||||
Config.EnableDebug = false -- Use Debug options?
|
||||
|
||||
Config.DefaultJobDuty = true -- A players default duty status when changing jobs
|
||||
Config.OffDutyPaycheckMultiplier = 0.5 -- The multiplier for off duty paychecks. 0.5 = 50% of the on duty paycheck
|
||||
|
||||
Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing"
|
||||
Config.Identity = true -- Select a character identity data before they have loaded in (this happens by default with multichar)
|
||||
Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc.
|
||||
|
||||
Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false)
|
||||
|
||||
-------------------------------------
|
||||
-- DO NOT CHANGE BELOW THIS LINE !!!
|
||||
-------------------------------------
|
||||
if GetResourceState("ox_inventory") ~= "missing" then
|
||||
Config.CustomInventory = "ox"
|
||||
end
|
||||
|
||||
Config.EnableDefaultInventory = Config.CustomInventory == false -- Display the default Inventory ( F2 )
|
||||
Config.Identifier = GetConvar("esx:identifier", "license")
|
||||
1108
resources/[core]/es_extended/shared/config/weapons.lua
Normal file
1108
resources/[core]/es_extended/shared/config/weapons.lua
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user