Skip to content

Automatically kicks players with a too high average ping. Folia-fork.

License

Notifications You must be signed in to change notification settings

ColdTearsYY/PingKick-folia

 
 

Repository files navigation

PingKick

Automatically kicks player with a high ping. Supports Paper and Folia (1.21+).

Commands

  • /pingkick info - Returns info about the current config
  • /pingkick max <ping> - Sets the max ping in milliseconds
  • /pingkick command <command> - Sets the command used when a player goes over that limit. Will replace {name}, {ip}, {uuid}, {ping}, {max} with their respective values when executed
  • /pingkick period <period> - Amount of ticks between each ping check (20 ticks are 1 second)
  • /pingkick duration <seconds> - Sets the duration in seconds the ping has to be above the limit before the command is executed

Permissions

  • pingkick.info - /pingkick info
  • pingkick.max - /pingkick max <ping>
  • pingkick.command - /pingkick command <command>
  • pingkick.period - /pingkick period <period>
  • pingkick.duration - /pingkick duration <seconds>
  • pingkick.bypass - Bypass the ping restriction

PingKick (中文说明)

自动踢出高延迟(Ping)玩家。支持 PaperFolia (1.21+)。

命令

  • /pingkick info - 查看当前配置信息
  • /pingkick max <ping> - 设置最大允许的 Ping 值(毫秒)
  • /pingkick command <command> - 设置超过限制时执行的命令。支持变量 {name}, {ip}, {uuid}, {ping}, {max}
  • /pingkick period <period> - 每次检查的间隔时间(Tick,20 ticks = 1秒)
  • /pingkick duration <seconds> - 设置 Ping 值必须持续超过限制多少秒才会执行命令(防止瞬间波动误判)

权限

  • pingkick.info - 使用 /pingkick info
  • pingkick.max - 使用 /pingkick max
  • pingkick.command - 使用 /pingkick command
  • pingkick.period - 使用 /pingkick period
  • pingkick.duration - 使用 /pingkick duration
  • pingkick.bypass - 绕过 Ping 限制(管理员权限)

Special thanks to @etcroot for letting me continue his project

About

Automatically kicks players with a too high average ping. Folia-fork.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%