Skip to main content
Located in shared/config/language.lua, this dictionary maps internal UI keys, error prompts, and Discord webhook bodies into readable strings for end-users.

Example

Config.language = {
    notificationTitle = "Medical",
    medicalBed = "Medical Bed",
    layDown = "Lay Down",
    getUp = "Get Up",
    visit = "Visit",
    inspect = "Inspect",
    unableToUseItem = "You're unable to use this item",
    doctorsOnline = "There's a doctor around, go ask him help.",
    -- ...
    noDoctorsOnline = "There are no doctors online",
    
    -- Webhooks Formatting
    embedName = "Mega Doctorjob",
    newDiseaseTitle = "Player has contracted a disease",
    newDiseaseText = "**Player ID**: %s (%s)\n**Disease:** %s\n**Severity:** %s\n**Bone:** %s\n**Damage Type:** %s",  

    -- Vaccines 
    applyingVaccine = "Applying %s",
    vaccineApplied = "%s has been applied",

    -- Severity 
    symptomsWorsened = "Symptoms worsened: %s"
}
When you change webhook elements containing %s (string) or %d (number) formatting markers, make sure you maintain the exact amount of markers so the script injects data without crashing.