HomeJavaModsMineCker
MineCker

About MineCker 关于MineCker

中文 (zh-cn)

概述

本模组为 Minecraft Java 版(NeoForge 加载器、Spigot 服务端、Paper服务端、Purpur服务端)提供了一种在游戏内直接执行 Docker 命令的方式。服务端 OP 只需在聊天栏输入以 !docker 开头的消息,即可将后续参数传递给系统的 Docker CLI 并执行,执行结果(标准输出和错误输出)会实时返回给玩家。

功能特性

使用方法

  1. 确保服务端的 docker 命令可用(在命令行执行 docker ps 能正常返回)。
  2. 将模组放入 mods 文件夹,启动服务端。
  3. 以 OP 身份进入游戏,在聊天栏输入:!docker ps,即可列出所有运行中的容器。
  4. 支持任何 Docker 子命令,例如:

安全提示

环境要求

文件自动生成

模组在服务端首次加载时,会在服务端根目录下创建 LocalDockerAPI 文件夹(可用于存放脚本或配置),不干扰原有文件。

开源与许可

本模组采用 [MIT 许可证]。Docker 商标归 Docker, Inc. 所有,模组使用其 Logo 遵循 Docker 媒体资源使用条款

其他

由 DeepSeek 协助开发,使用 MCreator 开发。 如果你想要在你的模组中使用这个库,非常简单,只需要发送一个消息"!docker (命令)"就可以了!


English (en-uk)

Overview

This mod allows Minecraft Java Edition (NeoForge/Spigot/Paper/Purpur) server operators to execute Docker commands directly from in-game chat. By typing a message starting with !docker, the rest of the message is passed to the system’s Docker CLI, and the output (both stdout and stderr) is sent back to the player.

Features

Usage

  1. Ensure docker ps works from the server’s command line.
  2. Place the mod in the mods folder and start the server.
  3. Join as an OP and type in chat:!docker ps,this will list all running containers.
  4. Any Docker subcommand works, for example:

Security Notice

Requirements

Auto‑created Folder

On the first server start, the mod creates a LocalDockerAPI folder in the server root directory (can be used for scripts or configurations).

License & Trademarks

This mod is licensed under the [MIT License]. Docker is a trademark of Docker, Inc. The use of the Docker logo in compliance with Docker’s media resources guidelines

Other

DeepSeek help me create this mod.Made by MCreator. If you want to use this lib for you mod, it's very easy, you just need to send a message "!docker (command)"!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more