Перейти к содержимому
Mineforgian

Modpack Checker

A lightweight Fabric mod for Minecraft servers to verify that clients are using the correct modpack version.

Загрузки
4K
Подписчики
7
Обновлён
30 июня 2025 г.
Лицензия
Apache-2.0

Опубликован 30 июня 2025 г.

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):

enable = true
expected_version = "1.0.0"
[messages]
no_mod = "Please install the Modpack: <your-modpack-link>"
wrong_version = "Please install modpack version {version}: <your-modpack-link+version>"
server_error = "Server configuration error. Please contact an administrator." 

Client (config/modpack-checker-client.toml):

version = "1.0.0"

Ченджлог

0.1.2+1.20.xРелиз1.20.4, 1.20.5, 1.20.6 · 30 июня 2025 г.

Version number 0.0.0 for developing

Development Mode (0.0.0)

For development purposes, you can set the client version to "0.0.0". Clients with this version will always be allowed to join any server, regardless of the server's expected version. This is useful when developing modpacks or testing configurations.

0.1.2+1.21.xРелиз1.21.5, 1.21.6, 1.21.7 · 30 июня 2025 г.

Updated to 1.21.x and added modpack version 0.0.0. for development.

0.1.1Релиз1.20.1 · 30 июня 2025 г.
  1. Fixed the client not responding to the version request and makeing it imposible to join. #49d733f
  2. Only env-specific config is generated now. (client conf on client and server conf on server) #49d733f
  3. Added Apache-2.0 License #678fec9
0.1.0Релиз1.20.1 · 30 июня 2025 г.

Initial release.

License: ARR

Комментарии

Загружаем…