Packet settings

This commit is contained in:
Mateusz Słodkowicz 2025-07-25 17:19:57 +02:00
parent bb15fe18d9
commit 92c32bb210
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo
4 changed files with 58 additions and 1 deletions

34
config/connectivity.json Normal file
View File

@ -0,0 +1,34 @@
{
"disableLoginLimits": {
"desc:": "Should login packet size limits be disabled? Error:(IOException(\"Payload may not be larger than 1048576 bytes\")) default:true",
"disableLoginLimits": true
},
"disablePacketLimits": {
"desc:": "Should play packet size limits be disabled? Error:(Badly compressed packet) default:true",
"disablePacketLimits": true
},
"disableChatVerificationDisconnect": {
"desc:": "(Clientside) Disables players disconnecting on chat message verification problems,(enable debugPrintMessages to see the message causing issues). default:true",
"disableChatVerificationDisconnect": true
},
"debugPrintMessages": {
"desc:": "Enable addition debug logging for networking errors. default:false",
"debugPrintMessages": false
},
"logintimeout": {
"desc:": "Set the max login timeout in seconds. default = 120",
"logintimeout": 300
},
"disconnectTimeout": {
"desc:": "Set the ingame disconnect timeout for disconnecting players. Default = 60sec",
"disconnectTimeout": 300
},
"packetHistoryMinutes": {
"desc:": "Set the amount of minutes for which network packet history data is saved. Default = 5 minutes",
"packetHistoryMinutes": 10
},
"showFullResourceLocationException": {
"desc:": "Enable to see the full log output for all resource location exceptions. Default = false",
"showFullResourceLocationException": false
}
}

View File

@ -0,0 +1,15 @@
#Packet Fixer config file.
#Default values (minecraft default): nbtMaxSize 2097152, packetSize 1048576, decoderSize 8388608 and varInt21Size 3.
#Max values are 2147483647 for packetSize/decoderSize/varInt21 and 9223372036854775807 for nbtMaxSize.
#Fri Jul 25 17:15:41 CEST 2025
chunkPacketData=2097152
varLong=10
nbtMaxSize=2097152
allSizesUnlimited=true
forceUnlimitedNbtEnabled=false
decoderSize=8388608
packetSize=1048576
stringSize=32767
timeout=300
varInt21=3
varInt=5

View File

@ -82,6 +82,10 @@ hash = "25b2539bcd6545c4065e2dd3633e34da74bb7a43255f8821f68c012ddc22f140"
file = "config/cobblegenrandomizer-common.toml"
hash = "cc0769c94241a5edcebf1630f7e9527609f9d35b6443dd27f0f88de416a3989d"
[[files]]
file = "config/connectivity.json"
hash = "1f3d6b457c731602ed004220932563c436cfd51819e1c5d6ab9e360feefcc5a0"
[[files]]
file = "config/defaultoptions-common.toml"
hash = "fd893ef796d2930bd298466dfd6e3b2be963247954c25d4566626be43ad5f8a4"
@ -114,6 +118,10 @@ hash = "7fbda98638c481b1197c4691c9fda6a7fbe255c7f0e3bdac7dd4a98187e1a2b2"
file = "config/minemenu-common.toml"
hash = "49a9c8dd688b9b7d2dffc315e053551c3f8014b62da08c8dd1820f9840bb97b2"
[[files]]
file = "config/packetfixer.properties"
hash = "92268a61f11fe585180881fdc30f3eb06ac76840047d0d9473f09e619fd18799"
[[files]]
file = "config/parcool-client.toml"
hash = "cf0aef66c044396f248026b1799ebc57dcbd90e10d75292cb39421f280e550cc"

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "b594134e4c4c3653d59fea5bf67365268deb7fac73d6718231b66395df155c51"
hash = "96b518531c9342e10a54df2b12794a7522146f2d9f208f50eba8c8122d1535b1"
[versions]
forge = "47.4.4"