Back to mods
FairPlay project artwork

Modrinth · Minecraft mod

FairPlay

Validates the client mod list to keep gameplay fair

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which FairPlay release should I use?

Updated 2 months ago
Latest stable file 1.1.0+26.1
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

FairPlay 1.1.0+26.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is FairPlay required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does FairPlay 1.1.0+26.1 need?

1.1.0+26.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add FairPlay without breaking your instance.

Built for FairPlay 1.1.0+26.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0+26.1. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0+26.1. It opens that exact file at the source.

About this project

What does FairPlay add?

FairPlay

Validates the client mod list to keep gameplay fair. FairPlay is designed for server administrators and players who want to ensure clients are running a legitimate, unmodified game environment.

Features

  • Client Mod List: Lists active client mods if the client has the mod installed
  • Mod Blacklist: Configurable blacklist of prohibited mods
  • Auto-kick: Optionally automatically kick players using blacklisted mods or does not have FairPlay installed
  • Time Flexibility: Adjustable timeframe for mod validation during server join

Commands

  • /fairplay: Check if the mod is installed on the server
  • /fairplay reload: Reloads the mod configuration from JSON file
  • /fairplay modlist <player_username>: View the active client mods of a player (requires the player to have the mod installed)

Configuration

FairPlay is configured via fairplay.json in the server config directory. The file is regular JSON, so list values are saved as arrays and the current schema looks like this:

{
  "configVersion": 2,
  "enabled": true,
  "requiredEnforcementMode": "OFF",
  "whitelistPlayers": ["never_a_cheater"],
  "blacklistPlayers": ["history_of_cheating"],
  "handshakeWindowMS": 3000,
  "modEnforcementMode": "BLACKLIST",
  "modWhitelist": [],
  "modBlacklist": ["meteor-client"]
}

Config Options

  • configVersion: Internal schema version used for migration
  • enabled: Master enable/disable switch for FairPlay
  • requiredEnforcementMode: Controls whether the FairPlay mod itself is required on clients
    • OFF: never require the mod
    • ALL: require the mod from everyone
    • WHITELIST: require the mod from everyone except whitelisted players
    • BLACKLIST: require the mod from only blacklisted players
  • whitelistPlayers: Players exempted from requiredEnforcementMode = WHITELIST
  • blacklistPlayers: Players forced into requiredEnforcementMode = BLACKLIST
  • handshakeWindowMS: Time window, in milliseconds, for the client/server mod handshake
  • modEnforcementMode: Controls which client mods are allowed
    • OFF: do not check client mods
    • WHITELIST: only allow mods listed in modWhitelist
    • BLACKLIST: block mods listed in modBlacklist
  • modWhitelist: Allowed client mod IDs when modEnforcementMode = WHITELIST
  • modBlacklist: Blocked client mod IDs when modEnforcementMode = BLACKLIST

Dependencies

Requires Fabric API

Credits

P3nguinMinecraft

Project description from Modrinth.

Pick your setup

FairPlay by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

FairPlay versions and loaders

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.