From 22d56d89954724812802dbb74798ccfbf4257806 Mon Sep 17 00:00:00 2001 From: materus Date: Sun, 31 May 2026 07:17:55 +0200 Subject: [PATCH] Update --- config/incapacitated.json | 2 +- config/soundattract/server-rules.toml | 50 +++++++++++++++++++++++++++ index.toml | 11 +++++- mods/tt20.pw.toml | 13 +++++++ pack.toml | 2 +- 5 files changed, 75 insertions(+), 3 deletions(-) create mode 100644 config/soundattract/server-rules.toml create mode 100644 mods/tt20.pw.toml diff --git a/config/incapacitated.json b/config/incapacitated.json index d38ea23..fb27125 100644 --- a/config/incapacitated.json +++ b/config/incapacitated.json @@ -4,7 +4,7 @@ "canBreakOrInteractWithBlocks": false, "canJumpWhileDown": false, "hunter": 2, - "slow": true, + "slow": false, "weakened": true, "regenerating": true, "unlimitedDowns": false, diff --git a/config/soundattract/server-rules.toml b/config/soundattract/server-rules.toml new file mode 100644 index 0000000..e2a2235 --- /dev/null +++ b/config/soundattract/server-rules.toml @@ -0,0 +1,50 @@ +[rendering] + #If true, mob/player armor, held items, and Sound Attract camo layers are hidden while the entity has invisibility. + #If false, those layers render normally through invisibility. + #Server-authoritative: connected clients use this value regardless of their local setting. + hideWornGearWhileInvisible = false + +[player_action_sounds] + #Enable/disable virtual sound generation from player movements. + #Read on the client before sending footstep messages; server-authoritative so admins control it. + enablePlayerActionSounds = true + #Base detection ranges for player actions. Format: 'ACTION;range' + playerActionRanges = ["CRAWLING;3", "SNEAKING;5", "WALKING;10", "SPRINTING;16", "SPRINT_JUMPING;20"] + #Weights for player action sounds. Format: 'ACTION;weight' + playerActionWeights = ["CRAWLING;1.0", "SNEAKING;1.0", "WALKING;1.0", "SPRINTING;1.0", "SPRINT_JUMPING;1.0"] + #Radius within which to check for players to generate sounds. + # Default: 24.0 + # Range: 0.0 ~ 512.0 + playerActionCheckRadius = 24.0 + +[integrations] + #Enable Point Blank gun integration. + enablePointBlankIntegration = true + #Enable Tacz gun integration. + enableTaczIntegration = true + #Enable Simple Voice Chat integration. + enableVoiceChatIntegration = true + +[safety] + #Caps the final resolved range (blocks) for any wire-received sound. + #Applies after server-side resolution; server-local gun/vanilla sounds are unaffected. + # Default: 256.0 + # Range: 1.0 ~ 256.0 + maxClientSoundRange = 256.0 + +[voice_chat] + #Base range used when the speaker is whispering. + # Default: 16 + # Range: 1 ~ 64 + voiceChatWhisperRange = 16 + #Base range used for normal speaking. + # Default: 32 + # Range: 1 ~ 128 + voiceChatNormalRange = 32 + #Weight assigned to the generated voice chat sound event. + # Default: 9.0 + # Range: 0.0 ~ 10.0 + voiceChatWeight = 9.0 + #Normalized dB thresholds to range multipliers. Format: 'threshold:multiplier'. + #Threshold is based on current peak volume level (usually 0-127). + voiceChatDbThresholdMap = ["110:2.0", "90:1.8", "75:1.5", "50:1.0", "30:0.7", "10:0.3", "0:0.05"] diff --git a/index.toml b/index.toml index 2da1a46..d725779 100644 --- a/index.toml +++ b/index.toml @@ -142,7 +142,7 @@ hash = "05986306107e1558daf007a853a1d9fa3d2a54692315c969214e2567ffa0aa64" [[files]] file = "config/incapacitated.json" -hash = "172f7e9aa89d0c2acd0a53d7aa7ca40af603d49b490366fb313bfa19c0cb392b" +hash = "b965faded097b0bc9cdb0fb1619e6bc7b0106972d6a595ff23061f70cfe3ac5e" [[files]] file = "config/item_obliterator.json5" @@ -216,6 +216,10 @@ hash = "02871946348159aaa1d5f1cdf904cb144986b75fdd4d342f96a9c9e3e1398a88" file = "config/sophisticatedstorage-server.toml" hash = "f5d035139186e131823dddb8a0f29ea17e7170fcd48592af10f7e68139e07e68" +[[files]] +file = "config/soundattract/server-rules.toml" +hash = "cdd66b617f8b6858919ca64d84ae845427c6ba295f150a447c0cd0914566ebf5" + [[files]] file = "config/starterkit.json5" hash = "253c6b56f5b9f631c431ea189775fdea0d9ff3c040bd7397bac650a8a510bcc8" @@ -2530,6 +2534,11 @@ file = "mods/true-darkness-refabricated.pw.toml" hash = "5791335057aee4d1ccc65994d1aae3b9227394df4f896b72b91f393c687a6304" metafile = true +[[files]] +file = "mods/tt20.pw.toml" +hash = "ad3356f18bc95881483998ac4b7f07dd7f87c9688514274a1c4e74e8f756a358" +metafile = true + [[files]] file = "mods/turtle-charging-station.pw.toml" hash = "cc4f4a7698d1f40e2c6278436402dcb553ada9a568f8d7faa5de7be8c698b92a" diff --git a/mods/tt20.pw.toml b/mods/tt20.pw.toml new file mode 100644 index 0000000..80387a3 --- /dev/null +++ b/mods/tt20.pw.toml @@ -0,0 +1,13 @@ +name = "TT20 (TPS Fixer)" +filename = "tt20-0.8.3+mc1.21.1-neoforge.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/YS3ZignI/versions/6qauLY5E/tt20-0.8.3%2Bmc1.21.1-neoforge.jar" +hash-format = "sha512" +hash = "7f4115470d002392b03ca5a7595b8526f1a70a851fc24d492905a36a87d92bba561040c24e0482ac3f7c28cc7546681f975335a83f57ae098e0b152f166a204b" + +[update] +[update.modrinth] +mod-id = "YS3ZignI" +version = "6qauLY5E" diff --git a/pack.toml b/pack.toml index 10d8a5f..012f5f6 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "9bfd79bc6c86cf89d47e13f65a1600c9a80f2bbff61745849155fa5ccb6d19ad" +hash = "596a722cd306ed0dea63341348c678b0c64e8160d77bdd69a13675f908e58e37" [versions] minecraft = "1.21.1"