Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
MC2CMD is a lightweight Minecraft CMD execution mod. Version: error. Compatible with Minecraft: 1.20.1. Loader: Fabric. Size: 0.1MB. Languages supported: 10 mainstream languages. Introduction: MC2CMD is an extremely lightweight Fabric mod that allows you to execute Windows CMD commands directly within the game without having to exit Minecraft. It supports both normal and administrator permissions. The mod is less than 0.1MB in size, has zero loading delay, and can coexist with over 100 mods without conflicts, making it perfectly compatible with large-scale integration packages. Core Features: Dual command system: normal and administrator permissions. 10 language adaptations: prompts automatically switch according to the system language. Extremely lightweight: core code is streamlined, does not occupy memory, and does not affect frame rate. Safe escape: automatically processes special characters to prevent command execution errors. High compatibility: perfectly compatible with the Fabric ecosystem and various integration packages. Supported languages: Simplified Chinese (zh_cn), English (en_us), German (de_de), French (fr_fr), Japanese (ja_jp), Spanish (es_es), Korean (ko_kr), Portuguese (Brazil) (pt_br), Russian (ru_ru), Italian (it_it). Command Usage: Prerequisites: Requires game level 4 permission (server must be an administrator, and in single-player mode, cheats must be enabled). Normal permission: plaintext /cmd <your CMD command>. Example: /cmd dir (view directory), /cmd notepad (open Notepad). Administrator permission: plaintext /cmdadmin <your CMD command>. Example: /cmdadmin chkdsk (disk check). White list usage instructions (to prevent malicious commands): To prevent dangerous commands from being abused, this mod supports manual configuration of a command white list. Users need to enable and edit it themselves.
To enable the whitelist, in SysCmd.java, find: Java Run private static final boolean WHITELIST_ENABLED = false; and change false to true to enable the whitelist.
To add commands to the whitelist, find the command whitelist configuration: Java Run String[] safeCommands = {"dir", "echo", "cls", "date", "time", "whoami", "hostname"}; and add the commands you want to allow within the curly braces.
Recommended safe commands: echo, cls, date, time, whoami, hostname, ipconfig, ping.
Do not add the following commands to the whitelist: del, rm, erase, rd, net user, taskkill, reg, or any system tampering or deletion commands.
Installation method: Install Fabric Loader โฅ0.15.0 and Fabric API. Place mc2cmd-1.10.0.jar in the mods folder. Start the game and the mod will load automatically.
Notes: Only compatible with Windows systems. Linux/Mac are not supported. Administrator commands will trigger the system UAC window, which requires manual confirmation. Be cautious when executing high-risk commands to avoid data loss. This mod is for educational and personal use only. It does not work on servers.
Prohibited uses: Stealing files, damaging the system, formatting the hard drive, creating viruses, backdoors, or malicious programs, controlling others' computers without permission, or any illegal or rule-breaking behavior. I am not responsible for any serious consequences resulting from unauthorized or illegal use.
Developer: Yang Chenshuo (ๆจๆจ็ก)
License: MIT License
This mod may trigger the system UAC prompt when executing administrator commands, which requires manual confirmation. Be careful when running high-risk commands to avoid data loss. This mod is for educational and personal use only. It does not work on servers. Any illegal or abusive behavior, including stealing files, damaging the system, formatting the hard drive, creating viruses, backdoors, or malicious programs, or controlling others' computers without permission, is strictly prohibited. I am not responsible for any consequences resulting from unauthorized or illegal use.


