跳到正文

WhitelistGate

作者:waterflane

A lightweight server-side whitelist for online and offline-mode Minecraft servers.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

WhitelistGate

WhitelistGate is a lightweight, server-side mod that adds an independent nickname-based whitelist without using or modifying Minecraft’s vanilla whitelist.json.

It is designed for server owners who want a separate, simple access list that works in both online and offline mode. Players do not need to install WhitelistGate on their clients, and the mod does not add a custom network handshake.

Features

  • Fully server-side: vanilla clients and clients without the mod can connect.
  • Works with both online-mode=true and online-mode=false.
  • Checks player nicknames case-insensitively.
  • Preserves vanilla bans, IP bans, player limits, and other connection checks.
  • Uses its own configuration file and never touches vanilla whitelist.json.
  • Saves command changes immediately.
  • No accounts, passwords, registration, database, GUI, or client-side installation.

Installation

  1. Install Forge on the server.
  2. Place the WhitelistGate JAR in the server’s mods folder.
  3. Start the server.
  4. Configure the whitelist with commands or edit config/whitelistgate/whitelist.json and run /whitelistgate reload.

Do not install WhitelistGate on player clients. It is intended to run only on the server.

Commands

All commands require permission level 3 and can be used by server operators or from the dedicated server console.

/whitelistgate enable
/whitelistgate disable
/whitelistgate add <nickname>
/whitelistgate remove <nickname>
/whitelistgate list
/whitelistgate reload

Enabling WhitelistGate does not kick players who are already connected. Disabling it immediately stops WhitelistGate from restricting new connections.

Offline-mode security warning

On an offline-mode server, players can choose any nickname, including a nickname belonging to another person. A nickname whitelist controls which names may connect, but it does not authenticate users or prove ownership of a Minecraft account.

WhitelistGate is licensed under the Apache License 2.0.

常见问题

WhitelistGate 支持哪些 Minecraft 版本?

WhitelistGate 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

WhitelistGate 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

waterflane 的其他作品

查看全部 →