Am I Lagging?
- I currently do not have the time to be working on this project, i will continue development when i have more time*
A small, lightweight ping system that shows players their ping in the player list (tab). You can, if you want to, make it so that if a player has a ping which is higher than the max ping you specify in the config, he will be kicked.
Installation
- Drop the .Jar file in your plugins folder.
- Start/Reload the server.
- Edit the generated config inside the newly made folder to your needs. (set ping limit to -1 to disable ping limit).
- Start/Reload the server again.
This plugin might not work if you already have another plugin using the player list
Permissions
As of v1.5, you can add a permission that will exclude a player from being kicked: AmILagging.exclude
Change Log
Version 1.6
- Much more stable now (should not break with every new bukkit release [thanks to FurmigaHumana :D])
- Much faster now, takes a lot less (already small) load of the server
Version 1.5
- Updated to 1.6.2
- Added exclude permission: AmILagging.exclude
- Added the option to add a timer to see if the player still lags after a set amount of time
- Clears the player list after disable
- Added reload command
Version 1.4
- Updated to 1.6.1
Version 1.3
- Fixed that nasty 0 ping bug! :)
- Works faster and in a more resource free way
- Updated to-do list :)
Version 1.2
- Set priority for the player list to be in this plugin's use
- Should now be absolutely conflict free (if you still are experiencing problems due to conflicting files, comment with your plugin list)
Version 1.1
- Added a few checks to make sure the plugin wont conflict with other plugins using the player list
- Made a fix for a nullpointer error, hoping it will fix null pointers for custom bukkit jars such as spigot and libigot
Version 1.0
- Plugin launch
To-do List
- Add Spout compatibility
- Make it play nice with other plugins using scoreboard
- Make it work with custom bukkit jars
Maybe a vip node that will exclude vips from kick? Tell me your thoughts about it :DMake it not interfere with other plugins that use the player list.
I don't like coffee that much, but id love a cup of chocolate milk :D
@iTzTito
Glad you like it! ^-^
Possibly the best plugin of the year, this incredible, maximum support you in your project. Years ago I search a plugin to do that GREAT !
@Bjarnootjuh
This plugin is Am I Lagging....
Plugin doesn't work with Am I Lagging? :(
@fungreenfox
I added something like that in the new update: kick if lagging after.
you can always set it to like 10 seconds so the connection could stabilize during the login
If its something you really need i can add it so it will skip the login, but right now i dont see how the current available option cant perform it
This plugin works great in 1.6.2,
However,
I had in the slot belowName the criteria Health
but its gone now :O
I tried to enable it again and it said; Set display objective in slot belowName to health
its still not there.
Is it me doing something wrong or does your plugin block it?
Thanks anyways.
@amitlin14
Yes, i'd really like a config option for
skipcheckat login: true
skipchecktime: 1
which will make anyone excempt for amount of skipchecktime.
Possibility to type 0.5 instead of 1 minute also. Will depend on how fast the plugin can kick.
updating it to 1.6.2, adding some features, expect an update soon :)
EDIT: get the new version! :D
Its not updated for 1.6.2, im getting this
21:18:27 [WARNING] [Am I Lagging] Task #53 for Am I Lagging v1.1 generated an exception
java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_6_R1/entity/CraftPlayer
at me.amitlin14.plugins.ping.Ping$1.run(Ping.java:63)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
I believe I get this error because of your plugin....
Any help here?
I tried this plugin out, but it didn't really work for me. I removed it from my plugins folder, but the player list still shows the column that this plugin added, it just displays zero for all players now.
How can I remove this field from the player list?
@amitlin14:
Sure I would like the feature :D
Thank You!
@danisblack9
ill add it if you'd like
I used the lates 1.6.1 and It does not appear anymore, I think it was becouse I deleted the broadcast line in the config.yml! My bad :D
So what do you think about the features...?
Thank You for your time! :D
@danisblack9
could you post the error log?
Can you please add this feature:
If a player has higher ping than maximum allowed he will be kicked only after 5sec if the ping does not change!
Could you also fix a bug:
Whenever the plugin kicks anyone for having high ping there is an error log that appears in my console!
Thank You for any response!
@fungreenfox
will do! ;D
Maybe a vip node that will exclude vips from kick? YES please.
@PorkyFish14
Yes i got there, but there isnt much to reload, does he mean the options from the config?
@amitlin14
I believe he means it'll reload the plugin.