* Fixed command /pingalert ping <player>
* Now you can reload server with this plugin
* Fixed small problem on load configuration in spigot version
+ Added permission pingalert.kickbypass to bypasskick
+ Added version controller
* Fixed ping medie * Code updated * Fixed staff warn + Added staff warn on/off * Fixed/Added message on invalid argument (help command) + Added new argument in command /alertping (staffwarn). This is used to activate / deactivate the warnings + Add delay between warning and warning of players. Thanks @OlivoCapo for the idea.
*Fixed disabled the command ''/ping'' in Bungee version
*Changed config type, Now it is separated by sections
*Now the teleport limit will not appear in the Bungee version config
*Fixed the command ''/alertping'' in Bungee version
+Added bypass on change server an on join in Bungee versión
~~~IMPORTANT ~~~ Im going to chance how the ping works, instead of directly use your actual ping i would use an average of your ping so it won't warn you unless your average ping is high, this way if your ping suddenly goes up for a second it won't warn you, an example of this is when you teleport: Chunks updates might lag you and even get you kicked because of the high ping, so with this new system that would be fixed.
* Fixed warns you always bad ping (Spigot version), thank @jeeperscreeper77 by report + Added join message in config
Code (Text):
# if you do not want to use %no-use% places, the plugin detects it and not send message to enter
join-message: '&cThis server have ping protection, if you pass &4%maxping% &cbe kicked'
+ Added warning messages to the console + Added bypass with a permission "pingalert.staff" + Added time to warn (I once used 5 sec) * Fixed null permission of /ping <player> (BungeeCord version) * Fixed the message that alerts you to get the maximum ping before kick (BungeeCord version) * Fixed the white line when not warned the staff (BungeeCord version) * I added in the config by default ping kick in 2000, because many users reach 1500.
Code (Text):
'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)'
+Added option to watch the ping of other players (also on the console)
+ Added permission for view ping a other player (pingalert.pingothers) + Added message in config
Code (Text):
pingother-command: '&7Ping of %player% is: &a%ping% ms'
+ Added command for test a plugin (set your ping in 50, 1000 or max ping)
1000ping:
- '&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----'
500ping:
- '&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----'
+ Send message on kick another player (permission: ping.admin)
Code (Text):
admin.sendMessage(color("&cAlertPing&7: &8The player &e" + p.getName() + " &8he has been ejected to reach &4" + plugin.getConfig().getInt("max-ping") + " &cping"));