Skip to main content

Server Config

   UP TO DATE FOR LITE RELEASE VERSION 1.21.1-1.1.0 AND ABOVE    
    UNDER CONSTRUCTION - INFORMATION MAY BE INCOMPLETE    

Introduction

 Multiplayer: Configuration files on servers override any "client-side" (player) or pack settings while you play on that server.

Server configuration files tweak settings that apply to ALL worlds created for the current mod pack.

 MULTIMC  Right click pack icon → Config Folder → swem-server.toml
 CURSEFORGE  Right click pack icon → Open Folderconfig → swem-server.toml
 FORGE (WINDOWS)   [user]/AppData/Roaming/.minecraft/config/swem-server.toml
 FORGE (MAC)  ~/Library/Application Support/minecraft/config/swem-server.toml

Prior to 1.21.1 server config files are located under savesworldname → serverconfigswem-server.toml


World Override 1.21+

It is possible to override default server configurations to set custom configuration for specific worlds. 
Paste a copy of the swem-server file into savesworldname → serverconfig. Edit. Save. Relaunch.


Important

Configuration files have a specific format, and allow you to change limited values. Inputting invalid information or adjusting the file format can invalidate configuration file loading, world loading or result in game crashes.

It is important to read the file carefully and only change supported values.

  • # is a comment to provide information on the feature and valid range or options
  • Range means values must be within a set limit Example: 0-100
  • Default is the setting used when the file is first generated and may be noted for reference

If you suspect your config file is corrupted or invalid, delete it and reload the game to regenerate the file.


Default Configuration

This is the default configuration file, containing 12 adjustable settings. 

Default - 1.21.1-1.1.1
#|| How much to heal the player wearing Netherite+ Riding Boots as a percentage of damage dealt.
# Default: 0.05
# Range: 0.01 ~ 1.0
lifesteal = 0.05

# || =========== [Horse Care] =========== ||
[horse_care]
	# || Specify how many minutes the Health Booster lasts for?
	# || We recommend '600' ~(30mc days) for singleplayer, and '10,000' ~(504mc days / 7irl days) for multiplayer.
	# Default: 600
	# Range: > 1
	healthBoosterTime = 600

# || =========== [Horse Experience Levels] =========== ||
[horse_experience_levels]
	# || Amount of XP required to max a horse's Speed stat.
	# || We recommend '13500' for singleplayer, and '100000' for multiplayer.
	# Default: 13500
	# Range: > 1
	maxSpeedXP = 13500
	# || Amount of XP required to max a horse's Jump stat.
	# || We recommend '13500' for singleplayer, and '100000' for multiplayer.
	# Default: 13500
	# Range: > 1
	maxJumpXP = 13500
	# || Amount of XP required to max a horse's Health  stat.
	# || We recommend '13500' for singleplayer, and '100000' for multiplayer.
	# Default: 13500
	# Range: > 1
	maxHealthXP = 13500
	# || Amount of XP required to max a horse's Affinity stat.
	# || We recommend '17000' for singleplayer, and '50000' for multiplayer.
	# Default: 17000
	# Range: > 1
	maxAffinityXP = 17000

# || =========== [Server Admin] =========== ||
[server_admin]
	# || Enable Coat Cycling (via lapis lazuli and redstone)?
	# || Do not enable if the server is multiplayer and has an economy.
	allowCoatCycling = true
	# || Can Secret Coats be obtained via Secret Items? (Default = True = Yes)
	# || Do not enable if the server is multiplayer and has an economy.
	allowSecretCoats = true
	# || Should the perks provided by the Amethyst Armor (excluding Amethyst Riding Boots) be disabled?
	disableAmethystPerks = false
	# || Should the rider be teleported with the horse if the horse should fall into the void whilst the horse is wearing Amethyst Tier Armor.
	voidTP = true
	# || Enable SWEM's built-in permission node system for controlling player use of commands.
	# || This is recommended for servers ONLY.
	enableKeyPermission = false
	# || What horses should spawn? Vanilla horses only, SWEM horses only, or Both?
	#Allowed Values: VANILLA_ONLY, SWEM_ONLY, BOTH
	horseSpawn = "BOTH"
	# || Should winged horse fly without requirement of Amethyst Horse Armor?
	wingedHorseFly = true

Adjustable Values

Lifesteal
lifesteal = 0.05

This accepts decimal numbers from 0.01-1.0. Default is 0.05 - 5% damage is healed by Netherite+ riding boots. 1.0 = 100%

Health Booster
	healthBoosterTime = 600

This accepts whole numbers over 1. Default is 600 BOOSTER EFFECT  lasts 600 mins (approx. 30MC days) while loaded.

Skill Experience
	maxSpeedXP = 13500
	maxJumpXP = 13500
	maxHealthXP = 13500
	maxAffinityXP = 17000

This accepts whole numbers (integers) over 1. Default is 13500 experience for maximum skill level, or 17000 for affinity.

Multiplayer: Values are aimed at Singleplayer and it is common for Equestrian servers to set upwards of 50-100,000+

Coat Cycling
	allowCoatCycling = true

This accepts true or false. Default is true and permits coat cycling (change) owned horses using lapis and redstone.

Secret Coats
	allowSecretCoats = true

This accepts true or false. Default is true and permits secret coats methods to obtained special coats in survival.

Void TP
	voidTP = true

This accepts true or false. Default is true - teleport horse/rider to spawn if falling into the void with Amethyst horse armor.

Key Permissions (Multiplayer)
	enableKeyPermission = false

This accepts true or false. Default is false - commands and functions are not restricted to only players with "key" perms.

Spawning
	horseSpawn = "BOTH"

This accepts BOTH or VANILLA_ONLY or SWEM_ONLY. Default is BOTH - lite and vanilla horses spawn naturally in the overworld.

Winged Flight
	wingedHorseFly = true

This accepts true or false. Default is true - winged default and custom coats (must be set in JSON) can fly without armor.


Additional

Configurations are occasionally modified. This is usually harmless, but you may need to regenerate the file or reset any custom values.

Multiplayer: Check or reset configuration files when updating mods to ensure important settings are unaffected!


Known Issues

You can report any mod issues to our bugs forum on Discord - please check for duplicate reports first! 


Changelog

View Changes

This is not a complete list of changes or features. It is a log of wiki-related version information and may be outdated.

MC Version Release Notes
1.20.1 1.1.1 Page established - Information prior to 1.1.1 is not specifically included but is likely the same.