Simple plugin that checks for players with high ping, you're able to edit the maximum allowed ping, kick timer & messages in the config.yml file. The permission strings in the config is completely dynamic so you can name your permissions whatever you want aswell.
For Support:
https://discord.gg/etcroot
Config:
Code (YAML):
# Max ping allowed
# Set to -1 to disable the plugin completely
max-ping
: 500
# This permission lets you bypass being kicked if your ping is too high/low
bypass-kick-perm
:
"pk.bypass.kick"
# Given to staff who will see when a player recieves a warning or gets kicked for high ping.
# THIS FEATURE IS NOT YET AVAILABLE, WILL BE THERE IN 2.1
notify-perm
:
"pk.notify"
# Time in ticks
# Lowest value allowed is 10
# 300 = 5 minutes
timer
: 300
# If you want it to only warn and not kick.
only-warn
: false
# VARIABLES
# Only work for the warning & only-warning message
# %time% = displays time left
# %max_ping% = displays maximum allowed ping
only-warning
:
"&cYour ping is higher than allowed, your experience will significantly decrease."
# This will completely ignore the timer
kick-instantly
: false
# All messages prefix except for debug mode.
prefix
:
"&6Warning &7> &r"
# VARIABLES
# Only work for the warning & only-warning message
# %time% = displays time left
# %max_ping% = displays maximum allowed ping
warning
:
"&cYour ping is higher than maximum allowed, if it doesn't go lower within &6%time% seconds &cyou will get kicked."
# The message displayed when kicked.
kick-reason
:
"&cYou have been kicked due to high ping."
# Do not use this in production or when non staff are online.
debug
: false
# Chat will get spammed with timer and other useful information
debug-spam
: true
# This permission will be required to recieve debug messages in chat.
recieve-debug-perm
:
"pk.recieve.debug"
# Debug mode prefix
debug-prefix
:
"&cDEBUG &7> &r"