Server crashes when I try to blacklist regen:ender_hurt
dgdoane opened this issue ยท 2 comments
Im using an aternos server and this is the part of the crash log thats causing the issue.
The dungeons mod part has been fixed btw
[23Mar2022 19:40:11.737] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:extrapart, use EntityAttributeCreationEvent instead.
435 | [23Mar2022 19:40:11.738] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:sandcloud, use EntityAttributeCreationEvent instead.
436 | [23Mar2022 19:40:11.738] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:traveler, use EntityAttributeCreationEvent instead.
437 | [23Mar2022 19:40:11.738] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:anthermite, use EntityAttributeCreationEvent instead.
438 | [23Mar2022 19:40:11.739] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:mimic, use EntityAttributeCreationEvent instead.
439 | [23Mar2022 19:40:11.739] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:piranha, use EntityAttributeCreationEvent instead.
440 | [23Mar2022 19:40:11.740] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:rogue, use EntityAttributeCreationEvent instead.
441 | [23Mar2022 19:40:11.740] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:slimond, use EntityAttributeCreationEvent instead.
442 | [23Mar2022 19:40:11.743] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:haunter, use EntityAttributeCreationEvent instead.
443 | [23Mar2022 19:40:11.744] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:lordskeleton, use EntityAttributeCreationEvent instead.
444 | [23Mar2022 19:40:11.744] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:deadhound, use EntityAttributeCreationEvent instead.
445 | [23Mar2022 19:40:11.747] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:crow, use EntityAttributeCreationEvent instead.
446 | [23Mar2022 19:40:11.748] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:notehead, use EntityAttributeCreationEvent instead.
447 | [23Mar2022 19:40:11.748] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:winterhunter, use EntityAttributeCreationEvent instead.
448 | [23Mar2022 19:40:11.749] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:pice, use EntityAttributeCreationEvent instead.
449 | [23Mar2022 19:40:11.749] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:leech, use EntityAttributeCreationEvent instead.
450 | [23Mar2022 19:40:11.749] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:pitcher, use EntityAttributeCreationEvent instead.
451 | [23Mar2022 19:40:11.750] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:whirlwind, use EntityAttributeCreationEvent instead.
452 | [23Mar2022 19:40:11.750] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:crawler, use EntityAttributeCreationEvent instead.
453 | [23Mar2022 19:40:11.750] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:deserted, use EntityAttributeCreationEvent instead.
454 | [23Mar2022 19:40:11.751] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:ironslime, use EntityAttributeCreationEvent instead.
455 | [23Mar2022 19:40:11.752] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:king, use EntityAttributeCreationEvent instead.
456 | [23Mar2022 19:40:11.753] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:kraken, use EntityAttributeCreationEvent instead.
457 | [23Mar2022 19:40:11.753] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:sun, use EntityAttributeCreationEvent instead.
458 | [23Mar2022 19:40:11.754] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:voidmaster, use EntityAttributeCreationEvent instead.
459 | [23Mar2022 19:40:11.754] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:guard, use EntityAttributeCreationEvent instead.
460 | [23Mar2022 19:40:11.754] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:scientist, use EntityAttributeCreationEvent instead.
461 | [23Mar2022 19:40:11.754] [main/WARN] [net.minecraftforge.common.ForgeHooks/]: Called deprecated GlobalEntityTypeAttributes#put for dungeonsmod:slimewolf, use EntityAttributeCreationEvent instead.
462 | [23Mar2022 19:40:11.827] [main/INFO] [com.dainxt.dungeonsmod.DungeonsMod/]: Register Point of Interest public static net.minecraft.village.PointOfInterestType net.minecraft.village.PointOfInterestType.func_221052_a(net.minecraft.village.PointOfInterestType)
463 | [23Mar2022 19:40:11.982] [main/WARN] [net.minecraft.network.datasync.EntityDataManager/]: defineId called for: class com.github.alexthe666.iceandfire.entity.EntityHippogryph from class com.github.alexthe666.iceandfire.entity.EntityPixie
464 | [23Mar2022 19:40:12.084] [main/WARN] [net.minecraft.network.datasync.EntityDataManager/]: defineId called for: class com.github.alexthe666.iceandfire.entity.EntityDreadThrall from class com.github.alexthe666.iceandfire.entity.EntityDreadKnight
465 | [23Mar2022 19:40:12.088] [main/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Loading configs type COMMON
466 | [23Mar2022 19:40:12.089] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for /server/config/gottschcore-common.toml
467 | [23Mar2022 19:40:12.089] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file /server/config/gottschcore-common.toml
468 | [23Mar2022 19:40:12.090] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file /server/config/gottschcore-common.toml for changes
469 | [23Mar2022 19:40:12.093] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file gottschcore-common.toml changed, sending notifies
470 | [23Mar2022 19:40:12.094] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for /server/config/forge-common.toml
471 | [23Mar2022 19:40:12.094] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file /server/config/forge-common.toml
472 | [23Mar2022 19:40:12.094] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file /server/config/forge-common.toml for changes
473 | [23Mar2022 19:40:12.095] [main/DEBUG] [net.minecraftforge.common.ForgeConfig/FORGEMOD]: Loaded forge config file forge-common.toml
474 | [23Mar2022 19:40:12.096] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for /server/config/cosmeticarmorreworked-common.toml
475 | [23Mar2022 19:40:12.096] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file gottschcore-common.toml changed, sending notifies
476 | [23Mar2022 19:40:12.096] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file /server/config/cosmeticarmorreworked-common.toml
477 | [23Mar2022 19:40:12.096] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file /server/config/cosmeticarmorreworked-common.toml for changes
478 | [23Mar2022 19:40:12.097] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file cosmeticarmorreworked-common.toml changed, sending notifies
479 | [23Mar2022 19:40:12.097] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for /server/config/dungeonsmod-common.toml
480 | [23Mar2022 19:40:12.098] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file cosmeticarmorreworked-common.toml changed, sending notifies
481 | [23Mar2022 19:40:12.100] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file /server/config/dungeonsmod-common.toml
482 | [23Mar2022 19:40:12.100] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file /server/config/dungeonsmod-common.toml for changes
483 | [23Mar2022 19:40:12.105] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file dungeonsmod-common.toml changed, sending notifies
484 | [23Mar2022 19:40:12.115] [main/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for /server/config/regen-common.toml
485 | [23Mar2022 19:40:12.118] [Thread-4/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file dungeonsmod-common.toml changed, sending notifies
486 | [23Mar2022 19:40:12.116] [main/FATAL] [net.minecraft.server.Main/]: Failed to start the minecraft server
487 | net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException: Failed loading config file regen-common.toml of type COMMON for modid regen
488 | at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:61) ~[forge:?]
489 | at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[forge:?]
490 | at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[forge:?]
491 | at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_312]
492 | at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2064) ~[?:1.8.0_312]
493 | at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[forge:?]
494 | at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:209) ~[forge:?]
495 | at net.minecraftforge.fml.server.ServerModLoader.load(ServerModLoader.java:45) ~[forge:?]
496 | at net.minecraft.server.Main.main(Main.java:95) ~[?:?]
497 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_312]
498 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_312]
499 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_312]
500 | at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_312]
501 | at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forge.jar:36.2]
502 | at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?]
503 | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?]
504 | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?]
505 | at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?]
506 | at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?]
507 | at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forge.jar:?]
508 | at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forge.jar:?]
509 | at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forge.jar:?]
510 | Caused by: com.electronwill.nightconfig.core.io.ParsingException: Invalid value: regen:enderhurt
511 | at com.electronwill.nightconfig.toml.ValueParser.parseNumber(ValueParser.java:101) ~[toml-3.6.3.jar:?]
512 | at com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:63) ~[toml-3.6.3.jar:?]
513 | at com.electronwill.nightconfig.toml.ArrayParser.parse(ArrayParser.java:31) ~[toml-3.6.3.jar:?]
514 | at com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:32) ~[toml-3.6.3.jar:?]
515 | at com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:68) ~[toml-3.6.3.jar:?]
516 | at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:57) ~[toml-3.6.3.jar:?]
517 | at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:101) ~[toml-3.6.3.jar:?]
518 | at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:88) ~[toml-3.6.3.jar:?]
519 | at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?]
520 | at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?]
521 | at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?]
522 | at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?]
523 | at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?]
524 | at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?]
525 | at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:57) ~[forge:?]
526 | ... 21 more
Here's the config
#General Regeneration Settings
[common]
#The maximum regeneration capacity. This affects the durability of a Fob Watch and the amount of regenerations in a full cycle. Use 0 for infinite regenerations.
#Range: > 0
regenCapacity = 12
#Toggle whether fob watches generate in some chest loot tables
genFobLoot = false
#Update Checker?
updateChecker = true
#Players are immune to fire damage while regenerating
fireImmunity = true
#If this is false you won't lose your regenerations if you get killed during regeneration
loseRegensOnDeath = false
#Spawn fire during fiery regeneration
fieryRegen = true
#Sends a message to chat to say that a player is regenerating, and the reason for it
sendRegenDeathMessages = true
#This is where the regeneration skin folder will be generated, the default is './', the path MUST NOT end in /
skinDir = "."
#Toggle whether mobs have regenerations. In most cases, requires a game restart.
mobsHaveRegens = true
#Mid Regen Settings
[common."While Regenerating"]
#Toggle whether the server allows for players to fly upwards during certain Regeneration transitions
upwardsMotion = true
#Toggle which traits are disabled
disabledTraits = [regen:ender_hurt]
#Players can be knocked back when too close to a regeneration
regenerationKnocksbackPlayers = true
#The amount of knockback every mob inside of the knock back radius gets
regenerativeKnockback = 2.5
#Range wherein every mob is knocked back upon regeneration
#Range: > 0
regenerativeKnockbackRange = 7
#Upon regeneration every mob inside of this radius is immediately killed. Keep in mind that you should round up to accommodate for mobs that aren't standing in the center of a block
#Range: > 0
regenKillRange = 4
#Toggle whether traits are enabled
traitsEnabled = true
#Post Regen Settings
[common."Post Regeneration"]
#Amount of seconds the post-regeneration effect lasts
#Range: > 0
postRegenDuration = 360
#Regenerate Oxygen
resetOxygen = true
#The amount of absorption hearts you get when regenerating
#Range: > 0
absorbtionLevel = 10
#List of potion effects the player can endure during post regeneration
postRegenPotions = ["minecraft:weakness", "minecraft:mining_fatigue", "minecraft:resistance", "minecraft:health_boost", "minecraft:hunger", "minecraft:water_breathing", "minecraft:haste", "minecraft:nausea"]
#The level of the regeneration status effect granted after you regenerate
#Range: > 0
postRegenLevel = 4
#Regenerate hunger bars
resetHunger = true
#Grace Settings
[common."Grace Stage"]
#Interval (in seconds) at which your hands start to glow
#Range: > 0
handGlowInterval = 120
#The time in seconds before your grace period enters a critical phase
gracePhaseLength = 900
#Chance that a player in critical phase gets damaged at a given tick. Higher number means more damage.
#Range: > 0
criticalDamageChance = 1
#Amount of time (in seconds) you have when your hands start glowing before you start to regenerate
#Range: > 0
handTriggerDelay = 10
#The time in seconds you can stay in the critical phase without dying
criticalPhaseLength = 60
After fixing your broken changes to the config file, this seems to run the file, I have attached a corrected version.
Please let me know if this resolves the issue, if it does not please add steps on how to reproduce this issue,
#General Regeneration Settings
[common]
#The maximum regeneration capacity. This affects the durability of a Fob Watch and the amount of regenerations in a full cycle. Use 0 for infinite regenerations.
#Range: > 0
regenCapacity = 12
#Toggle whether fob watches generate in some chest loot tables
genFobLoot = true
#Players are immune to fire damage while regenerating
fireImmunity = true
#Update Checker?
updateChecker = true
#If this is false you won't lose your regenerations if you get killed during regeneration
loseRegensOnDeath = false
#Spawn fire during fiery regeneration
fieryRegen = true
#Sends a message to chat to say that a player is regenerating, and the reason for it
sendRegenDeathMessages = true
#This is where the regeneration skin folder will be generated, the default is './', the path MUST NOT end in /
skinDir = "."
#Toggle whether mobs have regenerations. In most cases, requires a game restart.
mobsHaveRegens = true
#Mid Regen Settings
[common."While Regenerating"]
#Toggle whether the server allows for players to fly upwards during certain Regeneration transitions
upwardsMotion = true
#Toggle which traits are disabled
disabledTraits = []
#Players can be knocked back when too close to a regeneration
regenerationKnocksbackPlayers = true
#The amount of knockback every mob inside of the knock back radius gets
regenerativeKnockback = 2.5
#Range wherein every mob is knocked back upon regeneration
#Range: > 0
regenerativeKnockbackRange = 7
#Upon regeneration every mob inside of this radius is immediately killed. Keep in mind that you should round up to accommodate for mobs that aren't standing in the center of a block
#Range: > 0
regenKillRange = 4
#Toggle whether traits are enabled
traitsEnabled = true
#Post Regen Settings
[common."Post Regeneration"]
#Amount of seconds the post-regeneration effect lasts
#Range: > 0
postRegenDuration = 360
#Regenerate Oxygen
resetOxygen = true
#The amount of absorption hearts you get when regenerating
#Range: > 0
absorbtionLevel = 10
#List of potion effects the player can endure during post regeneration
postRegenPotions = ["minecraft:weakness", "minecraft:mining_fatigue", "minecraft:resistance", "minecraft:health_boost", "minecraft:hunger", "minecraft:water_breathing", "minecraft:haste", "minecraft:nausea"]
#The level of the regeneration status effect granted after you regenerate
#Range: > 0
postRegenLevel = 4
#Regenerate hunger bars
resetHunger = true
#Grace Settings
[common."Grace Stage"]
#Interval (in seconds) at which your hands start to glow
#Range: > 0
handGlowInterval = 120
#The time in seconds before your grace period enters a critical phase
gracePhaseLength = 900
#Chance that a player in critical phase gets damaged at a given tick. Higher number means more damage.
#Range: > 0
criticalDamageChance = 1
#Amount of time (in seconds) you have when your hands start glowing before you start to regenerate
#Range: > 0
handTriggerDelay = 10
#The time in seconds you can stay in the critical phase without dying
criticalPhaseLength = 60