Skip to content

Commit 6074ec8

Browse files
Update packet limiter override (#626)
Co-authored-by: Strokkur424 <[email protected]>
1 parent 46e9848 commit 6074ec8

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

src/config/paper/paper-global.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,25 @@ packet-limiter:
350350
The message players are kicked with for sending too many packets.
351351
Formatted using [MiniMessage](https://docs.advntr.dev/minimessage/).
352352
overrides:
353-
default: ServerboundPlaceRecipePacket
354-
description: >-
355-
Override the global configuration for any individual named packet. You can
356-
find the names of every packet as they are displayed on timings. For more
357-
experienced users, packets named here use Mojang mappings regardless of
358-
the server.
353+
header:
354+
message: >-
355+
Override the **action**, **interval**, and **max-packet-rate** configuration for any individual serverbound packet. You can
356+
find the identifiers for packets on the [wiki](https://minecraft.wiki/w/Java_Edition_protocol/Packets).
357+
minecraft:place_recipe:
358+
action:
359+
default: KICK
360+
description: >-
361+
The action to take once the limit has been violated. Possible values are
362+
DROP which will ignore packets over the limit, and KICK which will kick
363+
players for exceeding the limit
364+
interval:
365+
vanilla: "0.000001"
366+
default: "7.0"
367+
description: The interval, in seconds, for which max-packet-rate should apply
368+
max-packet-rate:
369+
vanilla: "999999.0"
370+
default: "500.0"
371+
description: The number of packets allowed per player within the interval
359372
player-auto-save:
360373
max-per-tick:
361374
default: "-1"

0 commit comments

Comments
 (0)