Skip to main content

Common Config

The SWEM Common Config can be opened with any text document editor (like Notepad), and can be found in the following places:

  • For Forge:
    • On Windows: [user]/AppData/Roaming/.minecraft/config/swem-common.toml
    • On Mac: ~/Library/Application Support/minecraft/config/swem-common.toml
  • For MultiMC: Click on your instance > "Config Folder" on the right sidebar > swem-common.toml
  • For CurseForge: Click on your modpack > three dots next to the "Play" button > "Open Folder" > "config" folder > swem-common.toml

If the config file isn't in the folder, then try restarting Minecraft to generate it.
If it's still not there, copy/paste the below into a .txt file, edit the config values as you wish, name it swem-common.toml, and put the .toml file into the folder. The server should read it upon next start-up.

Here is the full DEFAULT Config:

Full Default Config


[SWEMOreGen]
    #SWEMCobble ore vein count per chunk
    #Range: > 1
    SWEMCobbleVeinCount = 12
    #SWEMCobble ore minimum height
    #Range: > 1
    SWEMCobbleBottomHeight = 50
    #Cantazarite ore minimum height
    #Range: > 0
    CantazariteBottomHeight = 0
    #Amethyst ore maximum height
    #Range: > 1
    AmethystMaxHeight = 15
    #Cantazarite ore maximum height
    #Range: > 1
    CantazariteMaxHeight = 30
    #Enable SWEMCobble ore generation?
    EnableSWEMCobbleOre = false
    #Amethyst ore vein count per chunk
    #Range: > 1
    AmethystVeinCount = 2
    #Cantazarite ore vein count per chunk
    #Range: > 1
    CantazariteVeinCount = 6
    #Enable cantazarite ore generation?
    EnableCantazariteOre = false
    #Amethyst ore vein size
    #Range: > 1
    AmethystVeinSize = 8
    #Amethyst ore minimum height
    #Range: > 0
    AmethystBottomHeight = 0
    #Cantazarite ore vein size
    #Range: > 1
    CantazariteVeinSize = 4
    #SWEMCobble ore maximum height
    #Range: > 1
    SWEMCobbleMaxHeight = 128
    #Enable amethyst ore generation?
    EnableAmethystOre = false
    #SWEMCobble ore vein size
    #Range: > 1
    SWEMCobbleVeinSize = 7


If you notice errors in your world or changes you don't like but don't know how to undo the changes to config you made, shut down the server and replace the config with this default one and the config will be reset.


Want to make changes but the configs look scary? Lets break them down.

General
Config: Short for configuration, which means to change something to your preference. 
Default: Means the one that is preset. If at any time you need to reset, the default config is always okay to return to.
Lines: Configs are read by the computer in lines, like programming code. The lines staying the way they are is very important.
#: Means everything in that line of the config will not be read by the computer. Changes made here will effect nothing.

Terms
Spawn: To appear and exist within game.
Chunk: Minecraft is divided into 16x16 block 'chunk' that make it easier for the game to load in smaller pieces.
Vein: Ores spawn in groups, called veins.
Y Level: Y Level is a position of height, like up or down. Going up stairs increases Y Level and going down stairs decreases it.
Enable/Disable: To allow or not allow. Like Yes or No.

Remember that the primary rule for configs: Do not change ANY text that is not clearly written as a change like true/false, numbers, and lists. These changeable things will be clearly defined and look like test questions.

---

[SWEMOreGen]

---

	#SWEMCobble ore vein count per chunk
	#Range: > 1
    SWEMCobbleVeinCount = 12

This says: How many veins of SWEMCobble will spawn per chunk. It must be more than 1. Default is 12.

---

	#SWEMCobble ore minimum height
	#Range: > 1
	SWEMCobbleBottomHeight = 50

This says: What minimum Y Level SWEMCobble will spawn at. It must be more than 1. Default is 50.

---

	#Cantazarite ore minimum height
	#Range: > 0
	CantazariteBottomHeight = 0	

This says: What minimum Y Level Cantazarite Ore will spawn at. It must be more than 0. Default is 0.

---

	#Amethyst ore maximum height
	#Range: > 1
	AmethystMaxHeight = 15

This says: What minimum Y Level Amethyst Ore will spawn at. It must be more than 1. Default is 15.

---

	#Cantazarite ore maximum height
	#Range: > 1
	CantazariteMaxHeight = 30

This says: What maximum Y Level Amethyst Ore will spawn at. It must be more than 1. Default is 30.

---

	#Enable SWEMCobble ore generation?
	EnableSWEMCobbleOre = true

This says: Does SWEMCobble spawn at all? Must be True or False. Default is true. 
Turn this to False is you have SWLM at the same time as SWEM. It will not hurt if they are both on at the same time, but SWEMCobble produces SWEM versions of SWLM items that cannot be used to craft lighting blocks.

---

	#Amethyst ore vein count per chunk
	#Range: > 1
	AmethystVeinCount = 2

This says: How many veins of Amethyst Ore will spawn per chunk. It must be more than 1. Default is 2.

---

	#Cantazarite ore vein count per chunk
	#Range: > 1
	CantazariteVeinCount = 6

This says: How many veins of Cantazarite Ore will spawn per chunk. It must be more than 1. Default is 2.

---

	#Enable cantazarite ore generation?
	EnableCantazariteOre = true

This says: Does Cantazarite Ore spawn at all? Must be True or False. Default is True. 

---

	#Amethyst ore vein size
	#Range: > 1
	AmethystVeinSize = 8

This says: How much Amethyst Ore will spawn per vein. It must be more than 1. Default is 8.

---

	#Amethyst ore minimum height
	#Range: > 0
	AmethystBottomHeight = 0

This says: What minimum Y Level Amethyst Ore will spawn at. It must be more than 0. Default is 0.

---

	#Cantazarite ore vein size
	#Range: > 1
	CantazariteVeinSize = 4

This says: How much Cantazarite Ore will spawn per vein. It must be more than 1. Default is 4.

---

	#SWEMCobble ore maximum height
	#Range: > 1
	SWEMCobbleMaxHeight = 128

This says: What maximum Y Level SWEMCobble will spawn at. It must be more than 1. Default is 128.

---

	#Enable amethyst ore generation?
	EnableAmethystOre = true

This says: Does Amethyst Ore spawn at all? Must be True or False. Default is True. 

---

	#SWEMCobble ore vein size
	#Range: > 1
	SWEMCobbleVeinSize = 7

This says: How much SWEMCobble will spawn per vein. It must be more than 1. Default is 7.

---

That's all! The whole config cut into bite size chunks! Hope that helped!

---