Описание
## Modpack Checker
A lightweight Fabric mod to verify that players use the correct modpack version on your server.
### Features
- Simple version-based client-server check (no modlist comparison)
- Automatic disconnect with helpful messages
- Easy-to-edit TOML config files for both client and server
- `/reload` support to apply changes without restarting
- Dev mode: use version `0.0.0` to disable checks during development
### How It Works
1. Server sends a version check during login
2. Client replies with the version from `modpack-checker-client.toml`
3. Server compares it to its expected version
4. If mismatched, the player is kicked with a custom message
### Configuration
#### **Server (`config/modpack-checker-server.toml`)**:
```toml
enable = true
expected_version = "1.0.0"
[messages]
no_mod = "Please install the Modpack: "
wrong_version = "Please install modpack version {version}: "
server_error = "Server configuration error. Please contact an administrator."
```
#### **Client (`config/modpack-checker-client.toml`)**:
```toml
version = "1.0.0"
```