GMD_Scripts
  • INFORMATION
  • 🥵GMD_ChipChallenge
    • Install on Server
    • ⚙️Config
    • HowTo Add own Chips
  • 📡GMD_WalkieTalkie
    • 🗜️Install on Server
    • ⚙️Config
  • 🛬GMD_Entry
    • 🗜️Install on Server
    • ⚙️Config Script
  • 🪖GMD_ArmySystem
    • Installation
    • Troubleshooting
    • Configuration
      • Basic Config
      • Crafting Config
      • Raid Config
      • Server Config
    • API Developer
      • Events
      • functions
  • 🎅GMD_Christmas
    • ⚙️INSTALLATION
    • 🎮USAGE
  • 🏛️GMD_ServerWealthEngine
    • Install
    • Server Tax
      • Job Tax
      • Vehicle Tax
      • QS-Scripts
        • qs-billing
      • ESX Scripts
        • esx_billing
      • myScripts
        • myBilling
    • Server Vault Settings
      • QS-Scripts
        • qs-fuelstations
        • qs-housing
      • MyScripts
        • myShops
        • myWeaponshop
        • myVehicleshop
        • myProperties
        • myVehicleshop
      • ESX Scripts
        • esx_weaponshop
        • esx_shops
        • esx_vehicleshop
  • 📽️GMD_Loadingscreen
    • Loadingscreen Configs
      • Config Styles
      • Config LUA
      • SteamAPI Config
      • Use MyMultichar
    • Install on Server
      • Install
  • 🏦Database - Debian 10
  • 🏦Database- Debian 11
    • server console commands
Powered by GitBook
On this page
  1. GMD_ArmySystem
  2. Configuration

Server Config

File: sv_config.lua

PreviousRaid ConfigNextAPI Developer

Last updated 2 years ago

here you have to enter your Discord webhook where the logs will come at the end. If you don't know how to create a webhook click .

SvConfig.Webhook = 'https://YOUR_WEBHOOK'

This is the name of the webhook bot that is displayed at the end of the discord.

SvConfig.WebhookName = 'Army-System Logs'

This is the color that comes with the webhook. More explanation .

SvConfig.WebhookColor = 134

This is the bottom text(footer) from the webhook.

SvConfig.WebhookFooter = 'make_armysystem'

Here you can insert your custom serverside nofity. Here are two templates. One for ESX 1.2 and lower and one for 1.3 and higher. You can also include your own.

SvConfig.SendNotifyServer = function (source, message)
    
    --ESX 1.3 or higher
    local xPlayer = ESX.GetPlayerFromId(source)
    xPlayer.showNotification(message)

    --ESX 1.2
    --TriggerClientEvent('esx:showNotification', source, message)
end
🪖
here
here