WhitelistGate
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=trueandonline-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
- Install Forge on the server.
- Place the WhitelistGate JAR in the server’s
modsfolder. - Start the server.
- Configure the whitelist with commands or edit
config/whitelistgate/whitelist.jsonand 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 的其他作品
查看全部 →Disabler
A mod that allows you to block dimensions, items, and the spawning of mobs, structures, and biomes.
Disabler
A mod that allows you to block dimensions, items, and the spawning of mobs, structures, and biomes.
Copy Block ID
A minimal client-side NeoForge utility that lets you copy hovered item, fluid, block, items in JEI/REI, block and entity IDs in world with Ctrl+C.
WorldGen Editor
A Minecraft mod that allows you to control world generation directly in the game via a JSON file!
评论
登录后评论和评分