Skip to content

Commit e65cfa3

Browse files
committed
rewrite(how-to/disable-mods): initial commit
1 parent c357d26 commit e65cfa3

File tree

7 files changed

+202
-0
lines changed

7 files changed

+202
-0
lines changed

how-to/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
hidden: true
3+
icon: arrow-progress
4+
---
5+
6+
# How to...

how-to/disable-mods/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
hidden: true
3+
icon: square-minus
4+
---
5+
6+
# Disable Mods
7+
8+
<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><strong>Modrinth App</strong></td><td><a href="modrinth-app.md">modrinth-app.md</a></td></tr><tr><td align="center"><strong>CurseForge App</strong></td><td><a href="curseforge-app.md">curseforge-app.md</a></td></tr><tr><td align="center"><strong>Prism Launcher</strong></td><td><a href="prism-launcher.md">prism-launcher.md</a></td></tr><tr><td align="center"><strong>Minecraft Launcher</strong></td><td><a href="vanilla.md">vanilla.md</a></td></tr><tr><td align="center"><strong>MultiMC</strong></td><td><a href="multimc.md">multimc.md</a></td></tr></tbody></table>
9+
10+
{% hint style="danger" %}
11+
Do NOT disable "API" or "library" mods, because the other mods rely on them.
12+
{% endhint %}
13+
14+
{% hint style="info" %}
15+
You may be able to simply [toggle the mod through the Mod Menu](../../info/options/mod-menu.md).
16+
{% endhint %}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
hidden: true
3+
---
4+
5+
# How to Disable Mods: CurseForge App
6+
7+
{% hint style="danger" %}
8+
Do NOT disable "API" or "library" mods, because the other mods need them.
9+
{% endhint %}
10+
11+
1. Open the **CurseForge App**
12+
2. Select **Minecraft** from the grid or from the sidebar
13+
3. In **My Modpacks**, click on **Fabulously Optimized**
14+
4. Click on the **three dots** button
15+
5. Click on **Profile Options**
16+
6. Check the **Allow content management for this profile** checkbox
17+
7. Click on **Done**
18+
8. Find the mod you want to disable
19+
9. Toggle the knob
20+
10. If you want to re-enable the mod, toggle the knob again
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
hidden: true
3+
---
4+
5+
# How to Disable Mods: Modrinth App
6+
7+
{% hint style="danger" %}
8+
Do NOT disable "API" or "library" mods, because the other mods need them.
9+
{% endhint %}
10+
11+
1. Open the **Modrinth App**
12+
2. Click on the **Library**
13+
3. Click on **Fabulously Optimized**
14+
4. Find the mod you want to disable
15+
5. Toggle the knob
16+
6. If you want to re-enable the mod, toggle the knob again

how-to/disable-mods/multimc.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
---
2+
hidden: true
3+
---
4+
5+
# How to Disable Mods: MultiMC
6+
7+
{% hint style="danger" %}
8+
Do NOT disable "API" or "library" mods, because the other mods need them.
9+
{% endhint %}
10+
11+
Instructions vary depending on whether you had installed FO on MultiMC with the easier installation or with automatic updates.
12+
13+
<!-- TODO: instructions for manual installation? -->
14+
15+
{% tabs %}
16+
{% tab title="Windows" %}
17+
{% hint style="info" %}
18+
Tutorial by [Ultrasonic1209](https://github.com/Ultrasonic1209) based on [Remty5's workaround](https://github.com/Fabulously-Optimized/fabulously-optimized/issues/81).
19+
{% endhint %}
20+
21+
1. Open **MultiMC**
22+
2. Right-click the FO instance
23+
3. Click on the **Instance Folder** button
24+
4. While holding Shift, right-click inside of the folder
25+
5. Click on **Open in Terminal** or **Open with PowerShell** or similar
26+
6. Run the following commands to download the scripts that will disable the mods:
27+
28+
```powershell
29+
(Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/pre-launch.ps1" -OutFile "pre-launch.ps1")
30+
(Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Fabulously-Optimized/fabulously-optimized/main/Packwiz/post-exit.ps1" -OutFile "post-exit.ps1")
31+
```
32+
33+
This should download two files: `pre-launch.ps1` and `post-exit.ps1`
34+
7. Open `pre-launch.ps1` in a text editor. You should find a list of mods starting on _line 4_
35+
8. Copy the name of the mod you want to disable
36+
9. Paste the name of the mod in the line you found in _step 7_
37+
10. Disable more mods by adding them under _line 4_ with the same format
38+
11. Go back to **MultiMC**
39+
12. Click on the FO instance
40+
13. Click on **Edit Instance**
41+
14. Replace the pre-launch command with the following:
42+
43+
```powershell
44+
powershell -ExecutionPolicy Bypass -File ..\pre-launch.ps1
45+
```
46+
47+
15. Replace the post-exit command with the following:
48+
49+
```powershell
50+
powershell -ExecutionPolicy Bypass -File ..\pre-launch.ps1
51+
```
52+
{% endtab %}
53+
54+
{% tab title="Linux and macOS" %}
55+
{% hint style="info" %}
56+
Tutorial by [RaptaG](https://github.com/RaptaG) based on [Remty5's workaround](https://github.com/Fabulously-Optimized/fabulously-optimized/issues/81).
57+
{% endhint %}
58+
59+
{% hint style="warning" %}
60+
Not fully tested on macOS!
61+
{% endhint %}
62+
63+
1. Open **MultiMC**
64+
2. Right-click the FO instance
65+
3. Click on the **Instance Folder** button
66+
4. Right-click inside of the folder
67+
5. Click on **Open in Terminal**
68+
* On macOS follow [instructions to get the Terminal there](https://petenetlive.com/KB/Article/0001060)
69+
6. Install [jq](https://stedolan.github.io/jq/download), which will automatically adapt the script to your Minecraft version
70+
7. Run the following commands to download the scripts that will disable the mods:
71+
72+
```sh
73+
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
74+
```
75+
76+
This should download two files: `pre-launch.ps1` and `post-exit.ps1`
77+
8. Open `pre-launch.ps1` in a text editor. You should find a list of mods starting on _line 6_
78+
9. Copy the name of the mod you want to disable
79+
10. Paste the name of the mod in the line you found in _step 8_
80+
11. Disable more mods by adding them under _line 6_ with the same format
81+
12. If you leave a line empty, delete the corresponding one starting on _line 28_
82+
13. If you need to disable more than 6 mods, add lines both under `mod5=` and `$mod5.jar\`
83+
14. Go back to **MultiMC**
84+
15. Click on the FO instance
85+
16. Click on **Edit Instance**
86+
17. Replace the pre-launch command with the following:
87+
88+
```sh
89+
../pre-launch.ps1
90+
```
91+
92+
18. Replace the post-exit command with the following:
93+
94+
```sh
95+
../pre-launch.ps1
96+
```
97+
98+
1. Open **MultiMC**
99+
2. Select the FO instance
100+
3. Click on the **Edit Instance** button
101+
4. Click on **Loader mods**
102+
5. Find the mod you want to disable
103+
6. Uncheck the checkbox
104+
7. If you want to re-enable the mod, then check the checkbox again
105+
{% endtab %}
106+
{% endtabs %}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
hidden: true
3+
---
4+
5+
# How to Disable Mods: Prism Launcher
6+
7+
{% hint style="danger" %}
8+
Do NOT disable "API" or "library" mods, because the other mods need them.
9+
{% endhint %}
10+
11+
1. Open the **Prism Launcher**
12+
2. Select the FO instance
13+
3. Click on **Edit**
14+
4. Click on **Mods**
15+
5. Find the mod you want to disable
16+
6. Uncheck the checkbox
17+
7. If you want to re-enable the mod, check the checkbox again

how-to/disable-mods/vanilla.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
hidden: true
3+
---
4+
5+
# How to Disable Mods: Minecraft Launcher
6+
7+
{% hint style="danger" %}
8+
Do NOT disable "API" or "library" mods, because the other mods need them.
9+
{% endhint %}
10+
11+
1. Open the **Minecraft Launcher**
12+
2. Select the Fabric installation
13+
3. Click on **Folder** button
14+
4. Open the `mods/` folder
15+
5. Find the mod you want to disable
16+
6. Rename the mod from `mod-name.jar` to `mod-name.jar.disabled`
17+
7. If you want to re-enable the mod, rename `mod-name.jar.disabled` to `mod-name.jar`
18+
19+
{% hint style="info" %}
20+
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).
21+
{% endhint %}

0 commit comments

Comments
 (0)