Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published last year
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


