Packet settings

This commit is contained in:
2025-07-25 17:19:57 +02:00
parent bb15fe18d9
commit 92c32bb210
4 changed files with 58 additions and 1 deletions
+34
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
}
}
+15
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