lia.config

Configuration options for Lilia.

This library contains various configuration options used in the Lilia gamemode. Each option in the lia.config table serves a specific purpose and defines various aspects of the gamemode's functionality.

These configuration options control various aspects of the gamemode's mechanics, user interface, and gameplay experience.

Tables

ConfigList

A list of available commands for use within the game. Each command is represented by a table with fields defining its functionality.

Fields

  • WalkSpeed

    Controls how fast characters walk | integer

  • RunSpeed

    Controls how fast characters run | integer

  • WalkRatio

    Defines the walk speed ratio when holding the Alt key | number.

  • AllowExistNames

    Determines whether duplicated character names are allowed | boolean.

  • GamemodeName

    Specifies the name of the gamemode | string.

  • Color

    Sets the theme color used throughout the gamemode | color.

  • Font

    Specifies the core font used for UI elements | string.

  • GenericFont

    Specifies the secondary font used for UI elements | string.

  • MoneyModel

    Defines the model used for representing money in the game | string.

  • MaxCharacters

    Sets the maximum number of characters per player | integer

  • DataSaveInterval

    Time interval between data saves | integer

  • CharacterDataSaveInterval

    Time interval between character data saves | integer

  • MoneyLimit

    Sets the limit of money a player can have [0 for infinite] | **integer

  • invW

    Defines the width of the default inventory | integer

  • invH

    Defines the height of the default inventory | integer

  • DefaultMoney

    Specifies the default amount of money a player starts with | integer

  • MaxChatLength

    Sets the maximum length of chat messages | integer

  • CurrencySymbol

    Specifies the currency symbol used in the game | string.

  • SpawnTime

    Time to respawn after death | integer

  • MaxAttributes

    Maximum attributes a character can have | integer

  • EquipDelay

    Time delay between equipping items | integer

  • DropDelay

    Time delay between dropping items | integer

  • TakeDelay

    Time delay between taking items | integer

  • CurrencySingularName

    Singular name of the in-game currency | string.

  • CurrencyPluralName

    Plural name of the in-game currency | string.

  • SchemaYear

    Year in the gamemode's schema | integer

  • AmericanDates

    Determines whether to use the American date format | boolean.

  • AmericanTimeStamp

    Determines whether to use the American timestamp format | boolean.

  • MinDescLen

    Minimum length required for a character's description | integer

  • AdminConsoleNetworkLogs

    Specifies if the logging system should replicate to admins' consoles | boolean

  • TimeToEnterVehicle

    Time [in seconds] required to enter a vehicle | integer

  • CarEntryDelayEnabled

    Determines if the car entry delay is applicable | boolean.

  • ServerWorkshopID

    Determines the workshop collection for the server. This will enable a prompt asking you to download the collection. | string.

  • Sound

    Notification sound file path | string.

  • Volume

    Notification volume | integer

  • Pitch

    Notification pitch | integer