{"id":99703,"date":"2026-06-05T20:32:32","date_gmt":"2026-06-05T17:32:32","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/"},"modified":"2026-06-05T20:32:32","modified_gmt":"2026-06-05T17:32:32","slug":"mcsudo","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/","title":{"rendered":"mcsudo"},"content":{"rendered":"<p>## Sudo<br \/>\nThis module adds some commonly used Linux commands to the game, including `sudo`, `echo`, `cat`, and `export`.<\/p>\n<p>Some Linux mechanisms have also been added, such as the `home` folder and the `.bashrc` file.<\/p>\n<p>## Instructions<br \/>\n### Parameters<br \/>\nSome commands support parameters, you can use `_` plus parameters.<br \/>\n### Variables<br \/>\nSome commands also support the use of variables. You can use variables in the form of `${variable name}`. For how to set variables, please see [export](#export).<\/p>\n<p>#### Dynamic variables<br \/>\nDynamic variables are recalculated on every execution, here are all dynamic variables:<br \/>\n&#8211; `home`: the current user\u2019s home folder<br \/>\n&#8211; `uuid`: uuid of the current user<br \/>\n&#8211; `player`: the username of the current user<br \/>\n&#8211; `exp`: the current user\u2019s experience value<br \/>\n&#8211; `level`: the level of the current user<br \/>\n&#8211; `health`: current user\u2019s health<br \/>\n&#8211; `max_health`: the current user\u2019s maximum health<br \/>\n&#8211; `world`: current world name<br \/>\n&#8211; `location`: current location (format is x.y.z)<br \/>\n&#8211; `server`: current server name<br \/>\n&#8211; `motd`: motd of the current server<br \/>\n&#8211; `time`: current time (Unix timestamp)<br \/>\n### Order<br \/>\n#### echo<br \/>\nusage:<br \/>\n&#8220;`<br \/>\n\/echo <content> # Output content<br \/>\n&#8220;`<br \/>\n#### cat<br \/>\nusage:<br \/>\n&#8220;`<br \/>\n\/cat <file path> # Output file content<br \/>\n&#8220;`<br \/>\n#### write<br \/>\nusage:<br \/>\n&#8220;`<br \/>\n\/write <file path> <content> #Write file content, which will overwrite the original content.<br \/>\n&#8220;`<br \/>\n#### export<br \/>\nusage:<br \/>\n&#8220;`<br \/>\n\/export <variable name> <variable value> #Set variables<br \/>\n\/export public_<variable name> <variable value> # Set public variables, sudo permissions are required<br \/>\n&#8220;`<br \/>\n#### apt<br \/>\nInstall mods from Modrinth.<\/p>\n<p>usage:<br \/>\n&#8220;`<br \/>\n\/apt install <slug> <version> # Install module<br \/>\n\/apt search <slug> # Search module<br \/>\n&#8220;`<\/p>\n<p>image of apt command:<br \/>\n![0.jpg](https:\/\/cdn.modrinth.com\/data\/Rxx9HSbF\/images\/208a3fcad2e9904d5b619a4e4a911eb7a00821e5.png)<br \/>\n#### bash<br \/>\nCall the system to execute bash commands (only supports Linux).<\/p>\n<p>usage:<br \/>\n&#8220;`<br \/>\n\/bash <command><br \/>\n&#8220;`<br \/>\n**WARNNING:THIS COMMAND IS DANGEROUS. IT MAYBE DAMAGE YOUR SYSTEM.**<br \/>\n#### neofetch<br \/>\nYou know the command.<\/p>\n<p>### Special files<br \/>\n#### .bashrc<br \/>\nThis file executes the commands inside when the player logs in. The commands are separated by `;` and there is no `\/` before the command.<\/p>\n<p>The file is located in `home\/<player name>\/.bashrc`. Players can modify this file without sudo permissions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add Linux commands to Minecraft.<\/p>\n","protected":false},"featured_media":99704,"template":"","meta":{"_minecraft_slug":"mcsudo","_minecraft_project_id":"Rxx9HSbF","_minecraft_author":"CrystalNeko","_minecraft_license":"GPL-3.0-only","_minecraft_downloads":2295,"_minecraft_follows":10,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"mcsudo.zip","_minecraft_size_bytes":259416,"_minecraft_version_count":4,"_minecraft_updated_at":"2026-05-15T21:44:08.486845Z","_minecraft_date_created":"2024-04-21T05:56:29.801972Z","_minecraft_date_modified":"2024-11-06T14:16:25.617089Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/mcsudo","_minecraft_icon_attachment_id":99704,"_minecraft_imported_at":"2026-06-05T17:32:33+00:00","_minecraft_import_hash":"958098bf9101a692c011c6df28e5dc54","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,98,92],"mod_loader":[99,100],"minecraft_version":[59,36,60,93,94,101,102,62,37,73,74],"class_list":["post-99703","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-2","minecraft_version-1-21-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>mcsudo - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"mcsudo - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Add Linux commands to Minecraft.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/\",\"name\":\"mcsudo - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png\",\"datePublished\":\"2026-06-05T17:32:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png\",\"width\":150,\"height\":107},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mcsudo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"mcsudo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"mcsudo - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/","og_locale":"en_US","og_type":"article","og_title":"mcsudo - Minecraft","og_description":"Add Linux commands to Minecraft.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/","name":"mcsudo - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png","datePublished":"2026-06-05T17:32:32+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mcsudo-icon-d49c82292c7f5b192001278623d9859d477ed68f.png","width":150,"height":107},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mcsudo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"mcsudo"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/99703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/99704"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=99703"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=99703"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=99703"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=99703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}