| 1 | # The main configuration file for ServerCore.
|
| 2 | # Most of these settings can be reloaded without restarting using /servercore reload.
|
| 3 |
|
| 4 | # Most miscellaneous feature toggles.
|
| 5 | features:
|
| 6 | # Reverts enderpearl behavior to pre-1.21.2. The following will change when this setting is enabled:
|
| 7 | # ► Enderpearls will no longer load chunks around them.
|
| 8 | # ► Enderpearls will load / unload with chunks again instead of with their owner joining / leaving the game.
|
| 9 | # Note: Toggling this setting may cause some old enderpearls from before the toggle to be lost.
|
| 10 | prevent-enderpearl-chunkloading: false
|
| 11 | # Whether the chunk-tick-distance dynamic setting should affect random ticks.
|
| 12 | # Enabling this will stop chunks from performing random ticks when they are outside of this distance from any player.
|
| 13 | # That includes chunks loaded by enderpearls or portals, breaking vanilla behavior.
|
| 14 | chunk-tick-distance-affects-random-ticks: false
|
| 15 | # Prevents lagspikes caused by players moving into unloaded chunks.
|
| 16 | prevent-moving-into-unloaded-chunks: true
|
| 17 | # The amount of seconds between auto-saves when /save-on is active.
|
| 18 | autosave-interval-seconds: 300
|
| 19 | # The fraction that decides the chance of experience orbs being able to merge with each other. (1 = 100%, 40 = 2.5%)
|
| 20 | # Note that just like in vanilla, experience orbs will still need to be of the same size to actually merge.
|
| 21 | xp-merge-fraction: 40
|
| 22 | # The radius in blocks that experience orbs will merge at.
|
| 23 | xp-merge-radius: 0.5
|
| 24 | # The radius in blocks that items will merge at.
|
| 25 | item-merge-radius: 0.5
|
| 26 | lobotomize-villagers:
|
| 27 | # Makes villagers tick less often if they are stuck in a 1x1 space.
|
| 28 | enabled: true
|
| 29 | # Decides the interval in between villager ticks when lobotomized.
|
| 30 | tick-interval: 100
|
| 31 |
|
| 32 |
|
| 33 | # Automatically modifies dynamic settings based on the server performance.
|
| 34 | dynamic:
|
| 35 | # Enables dynamic performance checks.
|
| 36 | enabled: true
|
| 37 | # The average MSPT to target.
|
| 38 | target-mspt: 50
|
| 39 | # The default values for dynamic settings.
|
| 40 | # If left unspecified, the maximum value will be used.
|
| 41 | # Note: adding view / simulation distance here will override their value in server.properties.
|
| 42 | default-values:
|
| 43 | MOBCAP_PERCENTAGE: 100
|
| 44 | CHUNK_TICK_DISTANCE: 10
|
| 45 |
|
| 46 | # The settings that will be decreased when the server is overloaded, in the specified order.
|
| 47 | # You can remove settings from the list that you don't want to be dynamically adjusted.
|
| 48 | # ► max = The maximum value the server will increase the setting to.
|
| 49 | # ► min = The minimum value the server will decrease the setting to.
|
| 50 | # ► increment = The amount the setting will be increased or decreased by.
|
| 51 | # ► interval = The amount of seconds between each check to increase or decrease.
|
| 52 | dynamic-settings:
|
| 53 | - setting: 'CHUNK_TICK_DISTANCE'
|
| 54 | max: 10
|
| 55 | min: 7
|
| 56 | increment: 1
|
| 57 | interval: 60
|
| 58 |
|
| 59 | - setting: 'MOBCAP_PERCENTAGE'
|
| 60 | max: 100
|
| 61 | min: 80
|
| 62 | increment: 10
|
| 63 | interval: 60
|
| 64 |
|
| 65 | - setting: 'SIMULATION_DISTANCE'
|
| 66 | max: 10
|
| 67 | min: 8
|
| 68 | increment: 1
|
| 69 | interval: 60
|
| 70 |
|
| 71 | - setting: 'CHUNK_TICK_DISTANCE'
|
| 72 | max: 8
|
| 73 | min: 5
|
| 74 | increment: 1
|
| 75 | interval: 60
|
| 76 |
|
| 77 | - setting: 'MOBCAP_PERCENTAGE'
|
| 78 | max: 80
|
| 79 | min: 50
|
| 80 | increment: 10
|
| 81 | interval: 60
|
| 82 |
|
| 83 | - setting: 'SIMULATION_DISTANCE'
|
| 84 | max: 8
|
| 85 | min: 5
|
| 86 | increment: 1
|
| 87 | interval: 60
|
| 88 |
|
| 89 | - setting: 'VIEW_DISTANCE'
|
| 90 | max: 8
|
| 91 | min: 6
|
| 92 | increment: 1
|
| 93 | interval: 300
|
| 94 |
|
| 95 |
|
| 96 | # A special mobcap that only affects the breeding of animals and villagers.
|
| 97 | breeding-cap:
|
| 98 | # Enables breeding caps.
|
| 99 | enabled: true
|
| 100 | # The breeding cap for villagers.
|
| 101 | # ► limit = The limit of mobs of the same type within range. Setting this to negative will disable the breeding cap.
|
| 102 | # ► range = The range it will check for entities of the same type.
|
| 103 | # ► unlimited-height = Whether to ignore the vertical distance when checking for entities of the same type.
|
| 104 | villagers:
|
| 105 | limit: 18
|
| 106 | range: 64
|
| 107 | unlimited-height: false
|
| 108 |
|
| 109 | # The breeding cap for animals.
|
| 110 | # Note that this cap only checks for animals of the same type.
|
| 111 | # If the limit is 32 you can still breed 32 cows and 32 pigs next to each other.
|
| 112 | animals:
|
| 113 | limit: 32
|
| 114 | range: 32
|
| 115 | unlimited-height: false
|
| 116 |
|
| 117 |
|
| 118 | # Gives more control over mob spawning.
|
| 119 | mob-spawning:
|
| 120 | # Mobcap settings for zombie reinforcements.
|
| 121 | # ► enforce-mobcap = Whether to enforce mobcaps for this type of mobspawning.
|
| 122 | # ► additional-capacity = Additional capacity for this specific mobcap. Decides how much it can spawn over the regular mobcap.
|
| 123 | # It is recommended to allow them to spawn a bit over the regular mobcap as they would otherwise never get a chance to spawn.
|
| 124 | zombie-reinforcements:
|
| 125 | enforce-mobcap: false
|
| 126 | additional-capacity: 32
|
| 127 |
|
| 128 | # Mobcap settings for zombified piglin spawning from nether portal random ticks.
|
| 129 | nether-portal-randomticks:
|
| 130 | enforce-mobcap: false
|
| 131 | additional-capacity: 32
|
| 132 |
|
| 133 | # Mobcap settings for mobs spawned from monster spawners.
|
| 134 | monster-spawners:
|
| 135 | enforce-mobcap: false
|
| 136 | additional-capacity: 32
|
| 137 |
|
| 138 | # Mobcap settings for silverfish spawned from the infested potion effect.
|
| 139 | infested:
|
| 140 | enforce-mobcap: false
|
| 141 | additional-capacity: 32
|
| 142 |
|
| 143 | # A list of mob categories with their respective mobcap and spawn interval.
|
| 144 | # ► category = The vanilla spawn category.
|
| 145 | # ► mobcap = The maximum amount of entities in the same category that can spawn near a player.
|
| 146 | # ► spawn-interval = The interval between spawn attempts in ticks. Higher values mean less frequent spawn attempts.
|
| 147 | categories:
|
| 148 | - category: 'MONSTER'
|
| 149 | mobcap: 70
|
| 150 | spawn-interval: 10
|
| 151 |
|
| 152 | - category: 'CREATURE'
|
| 153 | mobcap: 10
|
| 154 | spawn-interval: 400
|
| 155 |
|
| 156 | - category: 'AMBIENT'
|
| 157 | mobcap: 15
|
| 158 | spawn-interval: 1
|
| 159 |
|
| 160 | - category: 'AXOLOTLS'
|
| 161 | mobcap: 5
|
| 162 | spawn-interval: 1
|
| 163 |
|
| 164 | - category: 'UNDERGROUND_WATER_CREATURE'
|
| 165 | mobcap: 5
|
| 166 | spawn-interval: 1
|
| 167 |
|
| 168 | - category: 'WATER_CREATURE'
|
| 169 | mobcap: 5
|
| 170 | spawn-interval: 1
|
| 171 |
|
| 172 | - category: 'WATER_AMBIENT'
|
| 173 | mobcap: 20
|
| 174 | spawn-interval: 1
|
| 175 |
|
| 176 |
|
| 177 | # Settings for commands and their formatting.
|
| 178 | commands:
|
| 179 | # Enables the /servercore status command.
|
| 180 | status-enabled: true
|
| 181 | # Enables the /mobcaps command.
|
| 182 | mobcaps-enabled: true
|
| 183 | colors:
|
| 184 | # The colors used in command feedback. You can use hex codes or minecraft legacy color names.
|
| 185 | # The primary color is the most used color in command feedback.
|
| 186 | primary: 'dark_aqua'
|
| 187 | # The secondary color is used for highlighting important information, like values.
|
| 188 | secondary: 'green'
|
| 189 | # The tertiary color is mostly used for text in titles.
|
| 190 | tertiary: 'aqua'
|
| 191 |
|
| 192 |
|
| 193 | # Activation range can drastically reduce the amount of lag caused by ticking entities.
|
| 194 | # It does this by cleverly skipping certain entity ticks based on the distance to players and other factors, like immunity checks.
|
| 195 | # Immunity checks determine whether an entity should be ticked even when it's outside the activation range, like for example when it is falling or takes damage.
|
| 196 | # Note: while this is a very powerful feature, it can still slow down mobfarms and break very specific technical contraptions.
|
| 197 | activation-range:
|
| 198 | # Enables activation range.
|
| 199 | enabled: true
|
| 200 | # Briefly ticks entities newly added to the world for 10 seconds (includes both spawning and loading).
|
| 201 | # This gives them a chance to properly immunize when they are spawned if they should be. Can be helpful for mobfarms.
|
| 202 | tick-new-entities: true
|
| 203 | # Enables vertical range checks. By default, activation ranges only work horizontally.
|
| 204 | # This can greatly improve performance on taller worlds, but might break a few very specific ai-based mobfarms.
|
| 205 | use-vertical-range: false
|
| 206 | # Skips 1/4th of entity ticks whilst not immune.
|
| 207 | # This affects entities that are within the activation range, but not immune (for example by falling or being in water).
|
| 208 | skip-non-immune: true
|
| 209 | # Allows villagers to tick regardless of the activation range when panicking.
|
| 210 | villager-tick-panic: true
|
| 211 | # The time in seconds that a villager needs to be inactive for before obtaining work immunity (if it has work tasks).
|
| 212 | villager-work-immunity-after: 20
|
| 213 | # The amount of ticks an inactive villager will wake up for when it has work immunity.
|
| 214 | villager-work-immunity-for: 20
|
| 215 | # A list of entity types that should be excluded from activation range checks.
|
| 216 | excluded-entity-types:
|
| 217 | - 'minecraft:warden'
|
| 218 | - 'minecraft:hopper_minecart'
|
| 219 | - 'minecraft:ghast'
|
| 220 | # The activation type that will get assigned to any entity that doesn't have a custom activation type.
|
| 221 | # ► activation-range = The range an entity is required to be in from a player to be activated.
|
| 222 | # ► tick-interval = The interval between 'active' ticks whilst the entity is inactive. Negative values will disable these active ticks.
|
| 223 | # ► wakeup-interval = The interval between inactive entity wakeups in seconds.
|
| 224 | # ► extra-height-up = Allows entities to be ticked when far above the player when vertical range is in use.
|
| 225 | # ► extra-height-down = Allows entities to be ticked when far below the player when vertical range is in use.
|
| 226 | default-activation-type:
|
| 227 | activation-range: 64
|
| 228 | tick-interval: 20
|
| 229 | wakeup-interval: -1
|
| 230 | extra-height-up: false
|
| 231 | extra-height-down: false
|
| 232 |
|
| 233 | # A list of custom activation types.
|
| 234 | # ► name = The name of the activation type.
|
| 235 | # ► entity-matcher = A list of conditions to filter entities. Only one of these conditions needs to be met for an entity to match.
|
| 236 | # ► If an entity matches multiple activation types, the one highest in the list will be used. The conditions accept the following formats:
|
| 237 | # - Entity type matching | Uses the entity type's identifier. | 'minecraft:zombie' matches zombies, but for example not husks or drowned.
|
| 238 | # - Typeof class matching | Uses the 'typeof:' prefix. | 'typeof:monster' matches all monsters.
|
| 239 | # ► Available typeof classes: mob, monster, raider, neutral, ambient, animal, water_animal, flying_animal, villager, projectile.
|
| 240 | custom-activation-types:
|
| 241 | - name: 'raider'
|
| 242 | activation-range: 64
|
| 243 | tick-interval: 20
|
| 244 | wakeup-interval: 20
|
| 245 | extra-height-up: false
|
| 246 | extra-height-down: false
|
| 247 | entity-matcher:
|
| 248 | - 'typeof:raider'
|
| 249 |
|
| 250 | - name: 'water'
|
| 251 | activation-range: 24
|
| 252 | tick-interval: 20
|
| 253 | wakeup-interval: 20
|
| 254 | extra-height-up: true
|
| 255 | extra-height-down: true
|
| 256 | entity-matcher:
|
| 257 | - 'typeof:water_animal'
|
| 258 |
|
| 259 | - name: 'villager'
|
| 260 | activation-range: 64
|
| 261 | tick-interval: 20
|
| 262 | wakeup-interval: 20
|
| 263 | extra-height-up: false
|
| 264 | extra-height-down: false
|
| 265 | entity-matcher:
|
| 266 | - 'typeof:villager'
|
| 267 |
|
| 268 | - name: 'animal'
|
| 269 | activation-range: 16
|
| 270 | tick-interval: 20
|
| 271 | wakeup-interval: 60
|
| 272 | extra-height-up: false
|
| 273 | extra-height-down: false
|
| 274 | entity-matcher:
|
| 275 | - 'typeof:animal'
|
| 276 | - 'typeof:ambient'
|