How to Edit Mod Configuration Files


Configuration files are files that allow the owner of a Minecraft server to edit certain features and settings that a mod allows being changed.
Let's use simple examples to make it easy to understand. In the following steps, we will use two of the best-known modpacks today, Pixelmon Reforged and Pixelmon Generations.
📁 How to Edit Mod Configuration Files via the Multicraft Panel 📁
Let's say that you're looking to change the Pixelmon Reforged legendary Pokémon's spawn chance through the Multicraft panel. To do that, you will have to:
- Log in to your Multicraft panel here and stop your server.

- Click on
Files, then onConfig Files.

- Click on
Mod Configs.
⚠ **NOTE **⚠: Some mods will generate a folder where the config files will be put. Here you will see all folders containing config files for mods and all other standalone config files for mods.

- We're looking to edit Pixelmon options, so click on the
pixelmonfolder.

- Choose the mod file or folder you want to edit and click on it. In this example, we want to edit Pixelmon's spawn rates, so we must open the
spawning.ymlfile.
⚠ **NOTE **⚠: You can see the actual path of each file or folder listed.

- As we are looking to edit the spawn rate, we must find the
legendary-spawn-chance:option and edit it with our desired value, then click onSave.

Once discovered, we must edit exactly as in the default configuration!
- What exactly does this mean?
Since it is a configuration file, we must follow the "format rules" so that nothing unwanted happens the moment the server starts up.
Here is our guide explaining how to properly edit a configuration file depending on its type.
Let's look at an example below:
As we wanted to edit the legendary-spawn-chance: to 0.6, we should use the following edit:
If the default file uses:
legendary-spawn-chance: 0.30000001192092896
When editing, we must use:
legendary-spawn-chance: 0.6
Examples of common errors:
❌ legendary-spawn-chance: 0.6,
❌ legendary-spawn-chance: ;0.6
❌ legendary-spawn-chance:0.6
❌ legendary-spawn-chance:0.6
✅ legendary-spawn-chance: 0.6
```
No matter how small the error is, even if a space or character is added or removed by mistake, it might cause your server to crash!
---
7. Go back to your server control panel (Multicraft) and start your server.

In a few words, changing your server settings is easy and simple! Just be careful when editing the files correctly!
Whenever you need help, you can always find out more about a mod's settings on the same page where you can download it.
---
# 📝 How to Edit Mod Configuration Files Manually 📝
Let's say that you're looking to change Pixelmon Generations spawn rates manually. To do that, you will have to:
1. Log in to your Multicraft panel [here](https://mc.ggservers.com/site/login) and stop your server.

---
2. Click on `Files` and then on `FTP File Access`. It's where you'll find all of your server's files.
||| [Here](https://help.ggservers.com/en-us/article/how-to-access-your-minecraft-server-files-via-ftp-18ealdp/) you can find our guide providing more information about connecting through FTP to your Minecraft server.

---
3. Use your Multicraft credentials to log in.

---
4. Open your `config` folder by clicking it.
|| ⚠ **NOTE **⚠: Keep in mind that for Forge versions higher than 1.13, configuration files for specific mods may be located in the folder called `serverconfig` in your world folder. For example, the Simple Voice Chat mod will generate its config file there.

---
5. Choose the mod file you want to edit, right-click it, and then click on `Edit`. In this example, we're looking to edit Pixelmon's configuration file, so we must edit the `pixelmon.hocon` file.
|| ⚠ NOTE ⚠: This must vary depending on which mod file you're looking to edit. Some mods will generate a folder in the `config` directory where the config files will be put.

---
6. As we are looking to edit the spawn rate, we must find the `spawnRate` option and edit it with our desired value, then click on `Save`.

Once discovered, we must edit exactly as in the default configuration!
* **What exactly does this mean?**
Since it is a configuration file, we must follow the "format rules" so that nothing unwanted happens the moment the server starts up.
||| [Here](https://help.ggservers.com/en-us/article/how-to-properly-edit-a-server-config-file-depending-on-its-type-gcnl58/) is our guide explaining how to properly edit a configuration file depending on its type.
Let's look at an example below:
As we wanted to edit `SpawnRate` to `2`, we should use the following edit:
```
If the default file uses:
spawnRate=1
When editing, we must use:
spawnRate=2
Examples of common errors:
❌ spawnRate= 2,
❌ spawnRate= ;2
❌ spawnRate= 02:
❌ spawnRate=2
✅ spawnRate=2
```
No matter how small the error is, even if a space or character is added or removed by mistake, it might cause your server to crash!
---
7. Go back to your server control panel (Multicraft) and start your server.

In a few words, changing your server settings is easy and simple! Just be careful when editing the files correctly!
Whenever you need help, you can always find out more about a mod's settings on the same page where you can download it.
---
| If you find any issues editing your server mod's configuration files, contact us on live chat or via the [ticket system](https://help.ggservers.com/en-us/article/how-to-open-a-support-ticket-qjzuyd/).
---
# ❕Useful Links❕
- [How to Edit Your Server Configuration Files](https://help.ggservers.com/en-us/article/how-to-edit-your-server-configuration-files-gcnl58/)
- [How to Install Mods on Your Server](https://help.ggservers.com/en-us/article/how-to-install-mods-on-your-server-1bauy2t/)
- [How to Install Mods Into Your Client](https://help.ggservers.com/en-us/article/how-to-install-mods-into-your-client-1t47nya/)
Updated on: 05/23/2023
Thank you!