# Configuration

{% hint style="info" %}
If you need setup portals check [Create verse-teleport](/abp-docs/abp-multiverse/how-to/create-verse-teleport.md)
{% endhint %}

## Script Configuration

```lua
-- Enable/Disable debug mode; default true
Config.DebugMode = true | false
```

```lua
--- Current Supported options:
--- 'esx' ES Extended
--- 'qb'  QB-Core
--- 'standalone' Standalone configuration 
Config.Framework = "standalone" | "esx" | 'qb'
```

```lua
-- Preload worlds
Config.LoadWorlds = 3016
```

**Note:** Apparently in FiveM the worlds are infinite (as far as the maximum value of integers allows),\
however, to use this system we limit the worlds to have more exhaustive control.

```lua
--- Use travel effect
--- Note: This effect is used when a player travels between worlds
Config.TravelEffect = {
    Enable = true,
    --WIP xSound = false, -- Require xSound
    NativeSound = true, -- Compatible with xSound too
    --WIP Particles = true,
}
```

```lua
-- You multiverse teleports
Config.Verse = {}
```

## Default Configuration

````lua
```lua
lib.locale()
Config = {}

--[[

           ____  _____        _____                 _                                  _       
     /\   |  _ \|  __ \      |  __ \               | |                                | |      
    /  \  | |_) | |__) |_____| |  | | _____   _____| | ___  _ __  _ __ ___   ___ _ __ | |_ ___ 
   / /\ \ |  _ <|  ___/______| |  | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __/ __|
  / ____ \| |_) | |          | |__| |  __/\ V /  __/ | (_) | |_) | | | | | |  __/ | | | |_\__ \
 /_/    \_\____/|_|          |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__|___/
                                                           | |                                 
                                                           |_|                                 

    Supported version Octuber 2023
    Support Discord: https://discord.gg/NQFSD6t9hQ

]]

-- Enable/Disable debug mode
Config.DebugMode = true

--- Current Supported options:
--- 'esx' ES Extended
--- 'qb'  QB-Core
--- 'standalone' Standalone configuration 
Config.Framework = "standalone"

-- Preload worlds
-- Note: Apparently in FiveM the worlds are infinite (as far as the maximum value of integers allows) 
--       however, to use this system we limit the worlds to have more exhaustive control.
Config.LoadWorlds = 3016


--- Use travel effect
--- Note: This effect is used when a player travels between worlds
Config.TravelEffect = {
    Enable = true,
    --WIP xSound = false, -- Require xSound
    NativeSound = true, -- Compatible with xSound too
    --WIP Particles = true,
}

Config.Verse = {
    {
        PointA = {
            Position = vector3(-394.3517, 1216.3078, 324.64175),
            Multiverse = 2,
            Marker = {
                type = 1,
                color = { r = 255, g = 0, b = 0, a = 200 }
            },
            DistanceView = 50
        },
        PointB = {
            Position = vector3(-399.313, 1198.8815, 324.64175),
            Multiverse = 0,
            Marker = {
                type = 1,
                color = { r = 255, g = 0, b = 0, a = 200 }
            },
            DistanceView = 50
        },
        Allow = {
            Vehicles = true
        },
    }
}
```

````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://abpstudios.gitbook.io/abp-docs/abp-multiverse/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
