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