ModsFinder

Python MC Mod

by Antara89

Python MC is a server-side Fabric mod for Minecraft 1.21.1 that lets server owners add simple Python scripts for automation, player messages and command-driven behavior.

FabricClient and serverCreative Commons Attribution 4.01.21.1

What it does

Scripts are written in Python, placed in a server config folder and loaded when the server starts. The mod starts a local Python 3.8+ script host by itself, and scripts react to server lifecycle ticks, player connections and other events. Changes take effect after a reload from the in-game server console, so the mod can be changed without recompiling it.

Scripts can pull in the bundled API to write to the log, announce messages to everyone, send private messages and run server commands. On first launch a starter example script is written, so owners have a working file to edit. Python must be reachable as python3 or python on the PATH, or its location must be set in an environment variable before Minecraft starts.

Installation needs Fabric API. Python MC runs on client and server, but only the server needs it for scripting; players may join without installing it unless a modpack setup requires matching mod lists. The files cover 1.21.1 only, the latest Fabric file is 1.0.0 released on 2026-05-06, and the mod is released under the Creative Commons Attribution 4.0 license, which does not make it open source.

Key features

  1. Python scripting for Fabric servers

    Server owners write Python files that run on the server machine with the same permissions as the Minecraft server process.

  2. Event-driven scripts

    Functions in a script are called when matching server events occur, such as ticks, player joins and command execution.

  3. Bundled API

    The included API gives scripts access to logging, broadcasts, private messages and the ability to execute server commands.

  4. Admin commands

    Commands show status, reload scripts, restart, trigger custom events and run quick Python snippets, with permission level 4 required.

Compatibility

Latest build for each game version and loader.

1.21.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

Minescript Addons is a client-side only Fabric mod for 1.21.5 – 1.21.11, released under the MIT License and open source. DFScript is also client-side only and open source, under the GNU Lesser General Public License v3.0 only, for 1.19 – 1.20.4. Python MC instead runs on the server for 1.21.1, under the Creative Commons Attribution 4.0 license, which does not make it open source.

ModLoadersGame versionsEnvironmentUpdated
Python MC ModFabric1.21.1Client and server2026-05-06
Minescript AddonsFabric1.21.5 – 1.21.11Client-side only2026-07-19
DFScriptFabric1.19 – 1.20.4Client-side only2024-05-21

Questions

Does Python MC need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside Python MC on the Fabric loader.

Do players need to install Python MC?

Only the server needs it for scripting. Clients connecting to the server do not need the mod unless a modpack setup requires matching mod lists.

How are scripts reloaded after editing?

After a script is edited, it is reloaded from the in-game server console, and the change applies without restarting the server.

In the catalog

Python MC Mod is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from Antara89

All projects

Similar mods

What the author says

PythonMC is a server-side Fabric mod that adds lightweight Python scripting to Minecraft 1.21.1. It lets server owners write simple Python scripts for common automation, player messages, server events, and command-driven behavior without recompiling the mod.
Antara89, on the Modrinth page

Official listing

Owner
Antara89
Published
2026-05-06
Updated on Modrinth
2026-05-06
Facts verified
2026-10-15

Tags