This plugin prom pts players with poor connection to revise their WiFi if there is a problema
Commands: - /pingalert staffwarn
-is used to activate / deactivate the warnings. - /ping <player>
- see your ping or another player Permission: - pingalert.ping
- pingalert.pingothers
-to view the ping of other players - pingalert.staff
-to receive kick messages - pingalert.kickbypass
- bypass on kick
Config:
Code (Text):
Messages:
playerisnotonline: '&4{player} &cis not online'
join-message: '&cThis server have ping protection, if you pass &4%maxping% &cbe kicked' # if you do not want to use %no-use% places, the plugin detects it and not send message to enter
no-permissions: '&4No permissions'
ping-command: '&7Your ping is: &a%ping% ms'
pingother-command: '&7Ping of %player% is: &a%ping% ms'
Functioning:
time-to-check: 5 #In minecraft tick (1 seg = 20 ticks)
enable-ping-command: true
maxradiusteleport: 20 # If you have Spigot version
Warns:
'2000':
Kick: true
KickMessage: '&c&lAlertPing%nextline% %nextline% &4You pass 2000 ping, please check your connection!'
InformStaff: true
InformMessage: '&eThe player &6%player% &eexceeded the ping 2000 and will be kicked &7(&c%ping%&7)'
'1500':
InformStaff: true
InformConsole: true
InformMessage: '&eThe player &6%player% &eexceeded the ping 1500 &7(&c%ping%&7)'
MessageDelay: 5
Message:
- '&7&m-------&4&l ALERT &7&m-------'
- '&cYour ping exceeds &a1500 ms'
- '&cPlease check your internet connection!'
- '&cWe informed the staff about your bad connection'
- '&7&m-----&e Ping: &a%ping% ms &7&m----'
'1000':
InformConsole: true
InformMessage: '&eThe player &6%player% &eexceeded the ping 1000 &7(&c%ping%&7)'
MessageDelay: 10
Message:
- '&7&m-------&4&l ALERT &7&m-------'
- '&cYour ping exceeds &a1000 ms'
- '&cPlease check your internet connection!'
- '&7&m-----&e Ping: &a%ping% ms &7&m----'
'500':
MessageDelay: 20
Message:
- '&7&m-------&4&l ATTENTION &7&m-------'
- '&cYour ping exceeds &a500 ms'
- '&cPlease check your internet connection!'
- '&7&m-----&e Ping: &a%ping% ms &7&m----'
Important: This plugin can work both BungeeCord as Spigot