Add some more detail to the config

This commit is contained in:
Myles 2016-06-29 16:38:38 +01:00
parent 85e416171c
commit fbc298bc30

View File

@ -17,23 +17,24 @@ send-supported-versions: false
# GLOBAL PACKET LIMITER # # GLOBAL PACKET LIMITER #
#----------------------------------------------------------# #----------------------------------------------------------#
# #
# Anti-Cheat, Packets Per Second (PPS) limiter #
# Packets Per Second (PPS) limiter (Use -1 on max-pps and tracking-period to disable)
# Clients by default send around 20-90 packets per second. # Clients by default send around 20-90 packets per second.
#
# What is the maximum per second a client can send (Use %pps to display their pps) # What is the maximum per second a client can send (Use %pps to display their pps)
# Use -1 to disable. # Use -1 to disable.
max-pps: 600 max-pps: 600
max-pps-kick-msg: "You are sending too many packets!" max-pps-kick-msg: "You are sending too many packets!"
#
# We can also kick them if over a period they send over a threshold a certain amount of times. # We can also kick them if over a period they send over a threshold a certain amount of times.
#
# Period to track (in seconds) # Period to track (in seconds)
# Use -1 to disable. # Use -1 to disable.
tracking-period: 6 tracking-period: 6
# How many packets per second counts as a warning # How many packets per second counts as a warning
tracking-warning-pps: 120 tracking-warning-pps: 120
# How many warnings over the interval can we have # How many warnings over the interval can we have
# This can never be higher than "tracking-interval" # This can never be higher than "tracking-period"
tracking-max-warnings: 4 tracking-max-warnings: 4
tracking-max-kick-msg: "You are sending too many packets, :(" tracking-max-kick-msg: "You are sending too many packets, :("
# #