Affixes Configuration - TheIllusiveC4/Champions GitHub Wiki

Overview

The champions-affixes.toml file is generated automatically when loading up a world with Champions for the first time. It is located in the serverconfig folder of your world save folder. This page will provide detailed explanations about the properties of the toml objects.

TOML Fields

Identifier

identifier = "<string>"

The identifier field holds the unique name for the affix to be associated with the object. In most cases, this will be the name of the affix in all lower-case letters.

This is a required field.

Enabled

enabled = <true/false>

The enabled field controls whether the affix is enabled or not. When set to false, no Champions will spawn with this affix.

Mob List

mobList = [<string list of names>]

The mobList field holds a list of entity names, given in modid:name format, to be used with the mob permissions field.

Mob Permissions

mobPermissions = "BLACKLIST/WHITELIST"

Determines whether the mob list field represents a blacklist or a whitelist.

Tier

minTier = <integer> maxTier = <integer>

The minTier and maxTier fields hold integer numbers. This number determines the tier requirement for the champion to spawn with this affix. If the champion does not meet this requirement, this affix will effectively be disabled for it.

Example

[[affixes]]
  identifier = "dampening"
  enabled = true
  minTier = 3
  mobList = ["minecraft:ghast"]
  mobPermission = "WHITELIST"

From this configuration, the Dampening affix will appear only on Ghasts that are tier 3 or above.

⚠️ **GitHub.com Fallback** ⚠️