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
Sorry for the late response everyone! ill try answering all your questions now :)
@wiedzmin137 This shows the *real* ping of what is recorded in craftbukkit. I do none of the ping management, all i do is extract the ping data from craftbukkit itself, *although*, the ping itself IS a bit higher than what should be the actual ping, because the client has no pinging abilities, the client itself doesn't ping the server, the server pings the client, and measures the ping.
Its like this: server >> client >> server
what it should be like to be accurate: client >> server
So you see, the server pings the client, and waits till it receives a response, but because it sends it, and receives it, it takes more time. In other games that show your ping, the client pings the server, there is no initial "server ping to client" so that is why the ping is lower, the "sending" ping of the server doesn't exist.
Hope that answered your question.
@penorzilla
I'll take a look into it, never really handled with spout before.
@fungreenfox
the node will do what?
@Arrxzon
When it kicked them, did it show them their ping? if so, i can know if showing 0 as ping because of other plugins, and that the source of the problem isn't Am I Lagging measuring the ping incorrectly. Thanks.
@fungreenfox
I really have no idea what is causing it. Could you try the plugin on a pluginless server first, so ill know if the cause are other plugins, or the machine (a home computer, vps, dedicated server, etc)
Hello. I would like to know if this plugin shows a real ping and what units is expressed. Can you tell me that? I ask for that beacouse my players have ping about 200-500, in my opionion it's "a litte bit" bigger than normal
This doesn't work with Spoutcraft Clients, so possibly add functionality with Spout? Thanks
We need an exempt permission node for VIP's.
@rfsantos1996
I am going to try out your plugin! Hopefully it turns out good
i hope you get the 0 ping problem fixed on player list I like this plugin and is help full to players that complain about lag so they can see themselves It does work as it has kicked 2 players for high ping
until there is an update, i will wait to install this again
@amitlin14
What is a VPS? virtual private server?
Then yes. Im hosting mcraft.dk from my home. Server went online May 2011.
So, this is a few years running MC, starting at 1.5.3 (some old version series, or something x.4.3 i guess, its so long ago),
and today we should have a new MC version update, i have been told by the players, but it will be next week according to the news.
well, the new version of "am i lagging", is still showing a zero after setting ess. to false
@amitlin14
VPS, but for this tests i'm using my own PC first. Testing with the new version, if you want, I can add you in Skype
@EDIT: Now it appears ok with scoreboards, but when I "tab" it shows 0 as ping :/ @EDIT2: oh, it was for the other guy, sorry lol
@fungreenfox
Are you using a vps as your host? also, try using the new version, or set the value to false in the essentials config. Tell me if it is working again.
@fungreenfox
But it stays in "zero" ping, thats a bug
@rfsantos1996
essentials change-playerlist: true
CraftBukkit version git-Bukkit-1.5.2-R0.1-8-g40bfbe4-b2787jnks (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
http://mcraft.dk/downloads/image/2013-06-27_14.05.23.png
@fungreenfox Could you possibly send me a picture of what is happening?
@rfsantos1996
Im working on a solution, but im starting to think that its due to bukkit limitations regarding scoreboards.
EDIT: uploaded a new version. check out the file page till it gets approved.
@fungreenfox
You dont see this insues? Are you using craftbukkit, spigot or Libigot? And what is your Essentials' tab-name config (false?)?
@rfsantos1996
Then i have no chance of seing that in use, because i have
GroupManager, WorldEdit, Buycraft, Vault, LogBlock, WorldGuard, StatusSign, ProtocolLib, GriefPrevention, mcMMO, MobArena, Essentials, Orebfuscator, EssentialsSpawn, VanishNoPacket, CompatNoCheatPlus, EssentialsChat, NoCheatPlus
Anyway its not a problem, i have this plugin for the ping kick feature, to sort out those who make the connection bad for other players.
@fungreenfox
Look at my comment (OBS: BUKKIT STAFF DONT APROVED IT YET)
Yeah, any plugin with Scoreboard or Essentials' tab config will conflit
@amitlin14
Thank you very much for a fast response. Yes, the name +0 is the tabulator hit, and showing a name and a zero AND the green bar which seems to change according to their ping. So i think something is taking over at that little icon there. It always says zero in ping.
Ill check the new jar, its the same download link?
@amitlin14
Yeah, v1.1 right? (here) (PLEASE ANYONE, DONT REPORT ME BY POSTING A NON-APROVED LINK)
But I removed all my plugins and it worked... I think its incompatibility with some plugin
Also, can I add you on Skype? I will try to help (;
@rfsantos1996
Did you make sure to download the new one from the files page? we dont want you using the same file twice :)
@amitlin14
Testing.. (;
EDIT: No errors, but ping is now ALWAYS zero :/ (even with a friend that is in another contry)
@fungreenfox
When you say name+"0", do you mean amitlin140, or that the ping is always 0? Also, Am I Lagging doesn't interfere with kicks or anything, the only thing it does is go through the list of online players and show their pings, if the player is kicked, it means he is no longer online, thus it wont interfere with him.
I uploaded a new jar, you should try it and tell me if you experience any more problems, perhaps the problem was that serubans conflicts with the playerlist, rather than the online players.
@rfsantos1996 Uploaded a new jar, tell me if you still experience problems.
The jar is still waiting to be approved