介绍
中文介绍正在准备中,下面暂时显示原文。
Features
- Easily allow, deny or require a set of mods on your server
- Show message to players if they are missing mods, or have denied ones
- Commands to see players and their mods
Installation
- Download the latest jar file
- Install RequiredMods to your server and clients
RequiredMods on the server will by default only check if clients has RequiredMods installed, but this can be configured to allow players without the mod too.
Configuration
The server configuration file can be found in config/requiredmods.json. The client does not have any configuration.
- enabled (boolean): Whether to enable the mod
- mode (ALLOW | DENY | STRICT): Check below for explanation
- allowMods (string[]): List of mods to check for in “ALLOW” mode
- denyMods (string[]): List of mods to check for in “DENY” mode
- requiredMods (string[]): List of mods to check for in “STRICT” mode
- allowExtraMods (boolean): Whether to allow players to have extra mods differing from the
requiredModslist when in STRICT mode - allowIncorrectMods (boolean): Whether to allow players to join even if they have incorrect mods (only recommended for testing)
- kickWithoutMod (boolean): Whether to kick players who does not have RequiredMods installed
Modes
RequiredMods can work in a couple different ways:
ALLOWmode: Uses theallowModslist to specify what mods players are allowed to have. Any mods outside this list will result in a failed check. Having less mods than the list is allowed.DENYmode: Uses thedenyModslist to specify what mods players are not allowed to have. Using any mods in this list will result in a failed check.STRICTmode (default): Uses therequiredModslist to specify what mods players must have installed. Not having all the mods in this list will result in a failed check. You can allow players to have any extra mods in their modpack withallowExtra
常见问题
RequiredMods 支持哪些 Minecraft 版本?
RequiredMods 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
RequiredMods 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分