[**SixL server API**](../../README.md)

***

[SixL server API](../../README.md) / [world](../README.md) / ConfigMp

# Interface: ConfigMp

The server's settings: `mp.config`, a read-only copy of the server config, filled before the packages load.

## Remarks

Only these keys exist. RAGE MP's other conf.json keys are not provided; `encryption` and `csharp` exist
at run time but are always false and meaningless in SixL, so they are not declared.

## Example

```ts
console.log(mp.config.name, mp.config.maxplayers);
```

## Properties

### announce

> **announce**: `boolean`

Whether the server announces itself to the server list.

#### Example

```ts
const listed = mp.config.announce;
```

***

### bind

> **bind**: `string`

The address reported as the server's bind address (informational: the server's own settings decide where it listens).

#### Example

```ts
const bind = mp.config.bind;
```

***

### gamemode

> **gamemode**: `string`

The game mode name.

#### Example

```ts
const mode = mp.config.gamemode;
```

***

### language

> **language**: `string`

The server's language (BCP 47).

#### Example

```ts
const language = mp.config.language;
```

***

### maxplayers

> **maxplayers**: `number`

The maximum number of players.

#### Example

```ts
const max = mp.config.maxplayers;
```

***

### name

> **name**: `string`

The server name.

#### Example

```ts
const name = mp.config.name;
```

***

### port

> **port**: `number`

The game port (UDP).

#### Example

```ts
const port = mp.config.port;
```

***

### url

> **url**: `string`

The server's website address.

#### Example

```ts
const url = mp.config.url;
```
