Wulf
Ping checking on command and automatic kicking of players with high pings

Supported Games

Ping provides automatic kicking of players with high pings and ping checking on command. This plugin will allow you to only keep players on your server with lower pings, hopefully preventing "laggy" players that make gameplay frustrating for some.

Permissions

  • ping.bypass -- Excludes player from having their ping checked
  • ping.check -- Allows player to check other player pings

Commands

  • ping or pong -- Check own connection ping
  • ping <name or id> -- Check connection ping of another player

Configuration

{
  "High Ping Kick (true/false)": true,
  "High Ping Limit (Milliseconds)": 200,
  "Kick Grace Period (Seconds)": 30,
  "Kick Notice Messages (true/false)": true,
  "Repeat Checking (true/false)": true,
  "Warn Before Kicking (true/false)": true
}

Localization

{
  "KickWarning": "You will be kicked in {0} seconds if your ping is not lowered",
  "NotAllowed": "You are not allowed to use the '{0}' command",
  "PingTooHigh": "Ping is too high: {0}ms",
  "PlayerKicked": "{0} kicked for high ping ({1}ms)",
  "PlayerNotFound": "Player '{0}' was not found",
  "PlayerPing": "{0} has a ping of {1}ms",
  "YourPing": "You have a ping of {0}ms"
}

MIT License, with distribution exclusivity for uMod.org


Copyright (c) 2020 Wulf


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.