From da68e9ff83af0de24b63645cb22cc97d7b25343a Mon Sep 17 00:00:00 2001 From: Miroma <136986257+its-miroma@users.noreply.github.com> Date: Thu, 16 Jan 2025 17:09:28 +0100 Subject: [PATCH 1/4] rewrite(how-to/disable-mods): initial commit --- how-to/README.md | 6 ++ how-to/disable-mods/README.md | 16 ++++ how-to/disable-mods/curseforge-app.md | 20 +++++ how-to/disable-mods/modrinth-app.md | 16 ++++ how-to/disable-mods/multimc.md | 106 ++++++++++++++++++++++++++ how-to/disable-mods/prism-launcher.md | 17 +++++ how-to/disable-mods/vanilla.md | 21 +++++ 7 files changed, 202 insertions(+) create mode 100644 how-to/README.md create mode 100644 how-to/disable-mods/README.md create mode 100644 how-to/disable-mods/curseforge-app.md create mode 100644 how-to/disable-mods/modrinth-app.md create mode 100644 how-to/disable-mods/multimc.md create mode 100644 how-to/disable-mods/prism-launcher.md create mode 100644 how-to/disable-mods/vanilla.md diff --git a/how-to/README.md b/how-to/README.md new file mode 100644 index 00000000..efe376f9 --- /dev/null +++ b/how-to/README.md @@ -0,0 +1,6 @@ +--- +hidden: true +icon: arrow-progress +--- + +# How to... diff --git a/how-to/disable-mods/README.md b/how-to/disable-mods/README.md new file mode 100644 index 00000000..b2fee22f --- /dev/null +++ b/how-to/disable-mods/README.md @@ -0,0 +1,16 @@ +--- +hidden: true +icon: square-minus +--- + +# Disable Mods + +
Modrinth Appmodrinth-app.md
CurseForge Appcurseforge-app.md
Prism Launcherprism-launcher.md
Minecraft Launchervanilla.md
MultiMCmultimc.md
+ +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods rely on them. +{% endhint %} + +{% hint style="info" %} +You may be able to simply [toggle the mod through the Mod Menu](../../info/options/mod-menu.md). +{% endhint %} diff --git a/how-to/disable-mods/curseforge-app.md b/how-to/disable-mods/curseforge-app.md new file mode 100644 index 00000000..3214d749 --- /dev/null +++ b/how-to/disable-mods/curseforge-app.md @@ -0,0 +1,20 @@ +--- +hidden: true +--- + +# How to Disable Mods: CurseForge App + +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods need them. +{% endhint %} + +1. Open the **CurseForge App** +2. Select **Minecraft** from the grid or from the sidebar +3. In **My Modpacks**, click on **Fabulously Optimized** +4. Click on the **three dots** button +5. Click on **Profile Options** +6. Check the **Allow content management for this profile** checkbox +7. Click on **Done** +8. Find the mod you want to disable +9. Toggle the knob +10. If you want to re-enable the mod, toggle the knob again diff --git a/how-to/disable-mods/modrinth-app.md b/how-to/disable-mods/modrinth-app.md new file mode 100644 index 00000000..6a70f844 --- /dev/null +++ b/how-to/disable-mods/modrinth-app.md @@ -0,0 +1,16 @@ +--- +hidden: true +--- + +# How to Disable Mods: Modrinth App + +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods need them. +{% endhint %} + +1. Open the **Modrinth App** +2. Click on the **Library** +3. Click on **Fabulously Optimized** +4. Find the mod you want to disable +5. Toggle the knob +6. If you want to re-enable the mod, toggle the knob again diff --git a/how-to/disable-mods/multimc.md b/how-to/disable-mods/multimc.md new file mode 100644 index 00000000..5f6fe972 --- /dev/null +++ b/how-to/disable-mods/multimc.md @@ -0,0 +1,106 @@ +--- +hidden: true +--- + +# How to Disable Mods: MultiMC + +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods need them. +{% endhint %} + +Instructions vary depending on whether you had installed FO on MultiMC with the easier installation or with automatic updates. + + + +{% tabs %} +{% tab title="Windows" %} +{% hint style="info" %} +Tutorial by [Ultrasonic1209](https://github.com/Ultrasonic1209) based on [Remty5's workaround](https://github.com/Fabulously-Optimized/fabulously-optimized/issues/81). +{% endhint %} + +1. Open **MultiMC** +2. Right-click the FO instance +3. Click on the **Instance Folder** button +4. While holding Shift, right-click inside of the folder +5. Click on **Open in Terminal** or **Open with PowerShell** or similar +6. Run the following commands to download the scripts that will disable the mods: + + ```powershell + (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/pre-launch.ps1" -OutFile "pre-launch.ps1") + (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/post-exit.ps1" -OutFile "post-exit.ps1") + ``` + + This should download two files: `pre-launch.ps1` and `post-exit.ps1` +7. Open `pre-launch.ps1` in a text editor. You should find a list of mods starting on _line 4_ +8. Copy the name of the mod you want to disable +9. Paste the name of the mod in the line you found in _step 7_ +10. Disable more mods by adding them under _line 4_ with the same format +11. Go back to **MultiMC** +12. Click on the FO instance +13. Click on **Edit Instance** +14. Replace the pre-launch command with the following: + +```powershell +powershell -ExecutionPolicy Bypass -File ..\pre-launch.ps1 +``` + +15. Replace the post-exit command with the following: + +```powershell +powershell -ExecutionPolicy Bypass -File ..\pre-launch.ps1 +``` +{% endtab %} + +{% tab title="Linux and macOS" %} +{% hint style="info" %} +Tutorial by [RaptaG](https://github.com/RaptaG) based on [Remty5's workaround](https://github.com/Fabulously-Optimized/fabulously-optimized/issues/81). +{% endhint %} + +{% hint style="warning" %} +Not fully tested on macOS! +{% endhint %} + +1. Open **MultiMC** +2. Right-click the FO instance +3. Click on the **Instance Folder** button +4. Right-click inside of the folder +5. Click on **Open in Terminal** + * On macOS follow [instructions to get the Terminal there](https://petenetlive.com/KB/Article/0001060) +6. Install [jq](https://stedolan.github.io/jq/download), which will automatically adapt the script to your Minecraft version +7. Run the following commands to download the scripts that will disable the mods: + + ```sh + curl -Os 'https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/pre-launch.sh' | curl -Os 'https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/post-exit.sh' && chmod +x pre-launch.sh post-exit.sh + ``` + + This should download two files: `pre-launch.ps1` and `post-exit.ps1` +8. Open `pre-launch.ps1` in a text editor. You should find a list of mods starting on _line 6_ +9. Copy the name of the mod you want to disable +10. Paste the name of the mod in the line you found in _step 8_ +11. Disable more mods by adding them under _line 6_ with the same format +12. If you leave a line empty, delete the corresponding one starting on _line 28_ +13. If you need to disable more than 6 mods, add lines both under `mod5=` and `$mod5.jar\` +14. Go back to **MultiMC** +15. Click on the FO instance +16. Click on **Edit Instance** +17. Replace the pre-launch command with the following: + +```sh +../pre-launch.ps1 +``` + +18. Replace the post-exit command with the following: + +```sh +../pre-launch.ps1 +``` + +1. Open **MultiMC** +2. Select the FO instance +3. Click on the **Edit Instance** button +4. Click on **Loader mods** +5. Find the mod you want to disable +6. Uncheck the checkbox +7. If you want to re-enable the mod, then check the checkbox again +{% endtab %} +{% endtabs %} diff --git a/how-to/disable-mods/prism-launcher.md b/how-to/disable-mods/prism-launcher.md new file mode 100644 index 00000000..5206b3cb --- /dev/null +++ b/how-to/disable-mods/prism-launcher.md @@ -0,0 +1,17 @@ +--- +hidden: true +--- + +# How to Disable Mods: Prism Launcher + +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods need them. +{% endhint %} + +1. Open the **Prism Launcher** +2. Select the FO instance +3. Click on **Edit** +4. Click on **Mods** +5. Find the mod you want to disable +6. Uncheck the checkbox +7. If you want to re-enable the mod, check the checkbox again diff --git a/how-to/disable-mods/vanilla.md b/how-to/disable-mods/vanilla.md new file mode 100644 index 00000000..eab63e66 --- /dev/null +++ b/how-to/disable-mods/vanilla.md @@ -0,0 +1,21 @@ +--- +hidden: true +--- + +# How to Disable Mods: Minecraft Launcher + +{% hint style="danger" %} +Do NOT disable "API" or "library" mods, because the other mods need them. +{% endhint %} + +1. Open the **Minecraft Launcher** +2. Select the Fabric installation +3. Click on **Folder** button +4. Open the `mods/` folder +5. Find the mod you want to disable +6. Rename the mod from `mod-name.jar` to `mod-name.jar.disabled` +7. If you want to re-enable the mod, rename `mod-name.jar.disabled` to `mod-name.jar` + +{% hint style="info" %} +If you can't see the `.jar` extension in the file name, follow this [tutorial to show file extensions](https://thewindowsclub.com/show-file-extensions-in-windows). +{% endhint %} From 46dff4bca2e6cba27671099e70ff4a5995bad44b Mon Sep 17 00:00:00 2001 From: Miroma <136986257+its-miroma@users.noreply.github.com> Date: Fri, 17 Jan 2025 23:48:33 +0100 Subject: [PATCH 2/4] rewrite(how-to/disable-mods): fix url --- how-to/disable-mods/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/how-to/disable-mods/README.md b/how-to/disable-mods/README.md index b2fee22f..09a40362 100644 --- a/how-to/disable-mods/README.md +++ b/how-to/disable-mods/README.md @@ -12,5 +12,5 @@ Do NOT disable "API" or "library" mods, because the other mods rely on them. {% endhint %} {% hint style="info" %} -You may be able to simply [toggle the mod through the Mod Menu](../../info/options/mod-menu.md). +You may be able to simply [toggle the mod through the Mod Menu](../../info/resource-packs/#mod-menu-helper). {% endhint %} From 8279d4cb74b790ce1673a41ee50452014386a56c Mon Sep 17 00:00:00 2001 From: Miroma <136986257+its-miroma@users.noreply.github.com> Date: Sun, 19 Jan 2025 15:42:43 +0100 Subject: [PATCH 3/4] rewrite(how-to/disable-mods): fix headings --- how-to/disable-mods/curseforge-app.md | 2 +- how-to/disable-mods/modrinth-app.md | 2 +- how-to/disable-mods/multimc.md | 4 ++-- how-to/disable-mods/prism-launcher.md | 2 +- how-to/disable-mods/vanilla.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/how-to/disable-mods/curseforge-app.md b/how-to/disable-mods/curseforge-app.md index 3214d749..9a8f443e 100644 --- a/how-to/disable-mods/curseforge-app.md +++ b/how-to/disable-mods/curseforge-app.md @@ -2,7 +2,7 @@ hidden: true --- -# How to Disable Mods: CurseForge App +# CurseForge App {% hint style="danger" %} Do NOT disable "API" or "library" mods, because the other mods need them. diff --git a/how-to/disable-mods/modrinth-app.md b/how-to/disable-mods/modrinth-app.md index 6a70f844..776f3167 100644 --- a/how-to/disable-mods/modrinth-app.md +++ b/how-to/disable-mods/modrinth-app.md @@ -2,7 +2,7 @@ hidden: true --- -# How to Disable Mods: Modrinth App +# Modrinth App {% hint style="danger" %} Do NOT disable "API" or "library" mods, because the other mods need them. diff --git a/how-to/disable-mods/multimc.md b/how-to/disable-mods/multimc.md index 5f6fe972..f2798d16 100644 --- a/how-to/disable-mods/multimc.md +++ b/how-to/disable-mods/multimc.md @@ -2,7 +2,7 @@ hidden: true --- -# How to Disable Mods: MultiMC +# MultiMC {% hint style="danger" %} Do NOT disable "API" or "library" mods, because the other mods need them. @@ -101,6 +101,6 @@ Not fully tested on macOS! 4. Click on **Loader mods** 5. Find the mod you want to disable 6. Uncheck the checkbox -7. If you want to re-enable the mod, then check the checkbox again +7. If you want to re-enable the mod, check the checkbox again {% endtab %} {% endtabs %} diff --git a/how-to/disable-mods/prism-launcher.md b/how-to/disable-mods/prism-launcher.md index 5206b3cb..bd0b4004 100644 --- a/how-to/disable-mods/prism-launcher.md +++ b/how-to/disable-mods/prism-launcher.md @@ -2,7 +2,7 @@ hidden: true --- -# How to Disable Mods: Prism Launcher +# Prism Launcher {% hint style="danger" %} Do NOT disable "API" or "library" mods, because the other mods need them. diff --git a/how-to/disable-mods/vanilla.md b/how-to/disable-mods/vanilla.md index eab63e66..48f0faa5 100644 --- a/how-to/disable-mods/vanilla.md +++ b/how-to/disable-mods/vanilla.md @@ -2,7 +2,7 @@ hidden: true --- -# How to Disable Mods: Minecraft Launcher +# Minecraft Launcher {% hint style="danger" %} Do NOT disable "API" or "library" mods, because the other mods need them. From ffe652a54c379cabc7e6d1929645fe3099bfb5ef Mon Sep 17 00:00:00 2001 From: Miroma <136986257+its-miroma@users.noreply.github.com> Date: Sun, 1 Jun 2025 15:08:28 +0200 Subject: [PATCH 4/4] rewrite(how-to/disable-mods): `kbd` for UI buttons --- how-to/disable-mods/curseforge-app.md | 10 ++++---- how-to/disable-mods/modrinth-app.md | 4 +-- how-to/disable-mods/multimc.md | 36 +++++++++++---------------- how-to/disable-mods/prism-launcher.md | 6 ++--- how-to/disable-mods/vanilla.md | 2 +- 5 files changed, 25 insertions(+), 33 deletions(-) diff --git a/how-to/disable-mods/curseforge-app.md b/how-to/disable-mods/curseforge-app.md index 9a8f443e..b91e732f 100644 --- a/how-to/disable-mods/curseforge-app.md +++ b/how-to/disable-mods/curseforge-app.md @@ -10,11 +10,11 @@ Do NOT disable "API" or "library" mods, because the other mods need them. 1. Open the **CurseForge App** 2. Select **Minecraft** from the grid or from the sidebar -3. In **My Modpacks**, click on **Fabulously Optimized** -4. Click on the **three dots** button -5. Click on **Profile Options** -6. Check the **Allow content management for this profile** checkbox -7. Click on **Done** +3. In **My Modpacks**, click on **Fabulously Optimized** +4. Click on the **three dots** button +5. Click on **Profile Options** +6. Check the **Allow content management for this profile** checkbox +7. Click on **Done** 8. Find the mod you want to disable 9. Toggle the knob 10. If you want to re-enable the mod, toggle the knob again diff --git a/how-to/disable-mods/modrinth-app.md b/how-to/disable-mods/modrinth-app.md index 776f3167..d0a39366 100644 --- a/how-to/disable-mods/modrinth-app.md +++ b/how-to/disable-mods/modrinth-app.md @@ -9,8 +9,8 @@ Do NOT disable "API" or "library" mods, because the other mods need them. {% endhint %} 1. Open the **Modrinth App** -2. Click on the **Library** -3. Click on **Fabulously Optimized** +2. Click on the **Library** +3. Click on **Fabulously Optimized** 4. Find the mod you want to disable 5. Toggle the knob 6. If you want to re-enable the mod, toggle the knob again diff --git a/how-to/disable-mods/multimc.md b/how-to/disable-mods/multimc.md index f2798d16..900e083b 100644 --- a/how-to/disable-mods/multimc.md +++ b/how-to/disable-mods/multimc.md @@ -19,11 +19,11 @@ Tutorial by [Ultrasonic1209](https://github.com/Ultrasonic1209) based on [Remty5 {% endhint %} 1. Open **MultiMC** -2. Right-click the FO instance -3. Click on the **Instance Folder** button -4. While holding Shift, right-click inside of the folder -5. Click on **Open in Terminal** or **Open with PowerShell** or similar -6. Run the following commands to download the scripts that will disable the mods: +2. Right-click on **Fabulously Optimized** +3. Click on the **Instance Folder** button +4. While holding ⇧ Shift, right-click inside of the folder +5. Click on **Open in Terminal** or **Open with PowerShell** or similar +6. Run the following commands to download the scripts that will disable the mods: ```powershell (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/pre-launch.ps1" -OutFile "pre-launch.ps1") @@ -36,8 +36,8 @@ Tutorial by [Ultrasonic1209](https://github.com/Ultrasonic1209) based on [Remty5 9. Paste the name of the mod in the line you found in _step 7_ 10. Disable more mods by adding them under _line 4_ with the same format 11. Go back to **MultiMC** -12. Click on the FO instance -13. Click on **Edit Instance** +12. Click on **Fabulously Optimized** +13. Click on **Edit Instance** 14. Replace the pre-launch command with the following: ```powershell @@ -61,13 +61,13 @@ Not fully tested on macOS! {% endhint %} 1. Open **MultiMC** -2. Right-click the FO instance -3. Click on the **Instance Folder** button +2. Right-click on **Fabulously Optimized** +3. Click on the **Instance Folder** button 4. Right-click inside of the folder -5. Click on **Open in Terminal** +5. Click on **Open in Terminal** * On macOS follow [instructions to get the Terminal there](https://petenetlive.com/KB/Article/0001060) -6. Install [jq](https://stedolan.github.io/jq/download), which will automatically adapt the script to your Minecraft version -7. Run the following commands to download the scripts that will disable the mods: +6. Install [`jq`](https://stedolan.github.io/jq/download), which will automatically adapt the script to your Minecraft version +7. Run the following commands to download the scripts that will disable the mods: ```sh curl -Os 'https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/pre-launch.sh' | curl -Os 'https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/post-exit.sh' && chmod +x pre-launch.sh post-exit.sh @@ -81,8 +81,8 @@ Not fully tested on macOS! 12. If you leave a line empty, delete the corresponding one starting on _line 28_ 13. If you need to disable more than 6 mods, add lines both under `mod5=` and `$mod5.jar\` 14. Go back to **MultiMC** -15. Click on the FO instance -16. Click on **Edit Instance** +15. Click on **Fabulously Optimized** +16. Click on **Edit Instance** 17. Replace the pre-launch command with the following: ```sh @@ -94,13 +94,5 @@ Not fully tested on macOS! ```sh ../pre-launch.ps1 ``` - -1. Open **MultiMC** -2. Select the FO instance -3. Click on the **Edit Instance** button -4. Click on **Loader mods** -5. Find the mod you want to disable -6. Uncheck the checkbox -7. If you want to re-enable the mod, check the checkbox again {% endtab %} {% endtabs %} diff --git a/how-to/disable-mods/prism-launcher.md b/how-to/disable-mods/prism-launcher.md index bd0b4004..72b07ec6 100644 --- a/how-to/disable-mods/prism-launcher.md +++ b/how-to/disable-mods/prism-launcher.md @@ -9,9 +9,9 @@ Do NOT disable "API" or "library" mods, because the other mods need them. {% endhint %} 1. Open the **Prism Launcher** -2. Select the FO instance -3. Click on **Edit** -4. Click on **Mods** +2. Select **Fabulously Optimized** +3. Click on **Edit** +4. Click on **Mods** 5. Find the mod you want to disable 6. Uncheck the checkbox 7. If you want to re-enable the mod, check the checkbox again diff --git a/how-to/disable-mods/vanilla.md b/how-to/disable-mods/vanilla.md index 48f0faa5..03c0dd5c 100644 --- a/how-to/disable-mods/vanilla.md +++ b/how-to/disable-mods/vanilla.md @@ -10,7 +10,7 @@ Do NOT disable "API" or "library" mods, because the other mods need them. 1. Open the **Minecraft Launcher** 2. Select the Fabric installation -3. Click on **Folder** button +3. Click on **Folder** button 4. Open the `mods/` folder 5. Find the mod you want to disable 6. Rename the mod from `mod-name.jar` to `mod-name.jar.disabled`