# Explaining bEnableModCheck

## What does `bEnableModCheck` do?

The `bEnableModCheck` parameter allows you to enable or disable the option of enforcing a mod policy.

If you **enable** `bEnableModCheck`, everyone who connects to your server will go through the following process:

1. Player A connects to your server, which has modcheck enabled.
2. Your server will examine Player A's `loadorder.txt` file.
3. If the `loadorder.txt` file on the server matches, Player A will now join your server.
4. If the `loadorder.txt` file does not match the one on the server, Player A will be denied access to the server.

If you **disable** `bEnableModCheck`, everyone who connects to your server will go through the following process:

1. Player A connects to your server, which has modcheck disabled.
2. Your server will not examine Player A's `loadorder.txt` file.
3. Even if you use different mods, the player will be allowed to join.

The reason for enabling this is to increase the chances of having a more stable gaming session and/or playthrough.

It is not necessary to use if you and your friends are not using mods (or if you are only using `Address Library for SKSE`).

## Oh, I want that! I want my server to kick players that don't use the mods that I chose.

Alright. We'll need your `loadorder.txt` for this. If you host on a Linux server, but play Skyrim on a Windows PC, you can use [this page](/tilted-online/guides/server-guide/windows-setup/regular-setup/explaining-benablemodcheck.md#oh-i-want-that-i-want-my-server-to-kick-players-that-doesnt-use-the-mods-that-i-choose) to get your `loadorder.txt` from MO2 or VMM and then use that.

1. Put your `loadorder.txt` in the `/opt/docker/skyrimserver/Data` directory.
2. Edit your `STServer.ini` using `nano`, e.g. `nano /opt/docker/skyrimserver/config/STServer.ini`
3. Find `bEnableModCheck` and set it to `true`.
4. Close and save the file by pressing `CTRL-X` and then `Y` and then `Enter`.

#### Onwards to the next step!


---

# 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://wiki.tiltedphoques.com/tilted-online/guides/server-guide/linux-setup/explaining-benablemodcheck.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.
