From affd9c0351d268c1090d5fc1e20156684caf4fe6 Mon Sep 17 00:00:00 2001 From: Roman Zhuravlev Date: Mon, 25 Aug 2025 17:05:31 +0500 Subject: [PATCH] Update examples for new .mcarc format --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af5a7cc..b5a14c3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ view the output with GNU Screen and run commands. ## Usage ```bash -mca [OPTION]... [MCA_NAME|MCA_JAR|MCA_DIR] [INPUT]... +mca [OPTION]... [NAME|JAR|MDIR] [INPUT]... ``` ## MCA examples @@ -17,23 +17,26 @@ mkdir -p ~/mca/myserver cd ~/mca/myserver # This link is taken from https://www.minecraft.net/en-us/download/server wget https://piston-data.mojang.com/v1/objects/e6ec2f64e6080b9b5d9b471b291c33cc7f509733/server.jar -echo 'MAX_MEMORY=2048M' >> ./.mcarc +echo 'max_memory 2048M' >> ./.mcarc mca ``` ### Running `paper` server with Aikar flags ```bash -echo 'PLATFORM=paper' >> ./.mcarc +echo 'platform paper' >> ./.mcarc mca ``` ### Running `velocity` server with Aikar flags ```bash -echo 'PLATFORM=velocity' >> ./.mcarc +echo 'platform velocity' >> ./.mcarc mca ``` -Also, the platform can be determined automatically based on the `.jar` name. For example, the file name is `paper-1.21.5.jar`, since it starts with `paper`, the platform will be `paper` and there is no need to manually specify it in the `PLATFORM` variable. +Also, the platform can be determined automatically based on the `.jar` name. +For example, the file name is `paper-1.21.5.jar`, since it starts with `paper`, +the platform will be `paper` and there is no need to manually specify it in +the `PLATFORM` variable. ## Installation