PingReply
Hey guys
I'm working on a Plugin which is better than Ping-Pong. It works with miliseconds! This plugin is very lightweight! The final reply will give you : Your Ping is: *ms
Installation
- Download a version (Latest version is recommended)
- Install PingReply.jar to your plugins folder
- Run/Restart your Server.
- Enjoy!
Commands:
- /ping
- /ping <Playername>
- /pingreload
Permissions:
- "tschagg.ping"
- "tschagg.ping.other"
- "tschagg.ping.reload"
Im planing to add many more Features to this in the Future!
Note: It overrides the /ping from other Plugins.
Works great now.
This plugin could be used to detect if people are hacking right? Like if they are lagging hardcore there ping will be .7+ right?
@user_83
thank you so much!
Started using your plugin, works great and all my players love it. Just wanted to let you know thanks! and keep up the great work! :D
@Zachary_DuBois
i dont get the sense of an autokick for a high lag.... so, no. i made this plugin only for checking pings, no for other actions,
sry
@tschagg
What about my other suggestions.
Updated to 1.4.7, awaiting approval.
@The_Loyal_One
this is only for 1.4.6-R0.3 !
i'll release the 1.4.7 soon, but atm its not compartible with that.
@The_Loyal_One
For the mean time use "/ping1" instead.
Use "return true;" instead of defining a boolean, succeed.
Instead of println use logger.
And why pre-process the command?
Ello, I tried executing /ping in game, and it doesn't work. Nothing pops up. I checked server.log and this came up:
2013-01-24 11:21:28 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to PingReply v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:972) at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853) at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: org.bukkit.command.CommandException: Unhandled exception executing command 'ping1' in plugin PingReply v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514) at org.bukkit.craftbukkit.v1_4_R1.entity.CraftPlayer.performCommand(CraftPlayer.java:238) at com.tschagg.PingReply.tschaggplugin_listener.onPlayerCommandPreprocess(tschaggplugin_listener.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_4_6/entity/CraftPlayer at com.tschagg.PingReply.tschaggplugin_main.getPing(tschaggplugin_main.java:73) at com.tschagg.PingReply.tschaggplugin_main.onCommand(tschaggplugin_main.java:36) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 25 more Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_4_6.entity.CraftPlayer at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 28 more
Any idea of what this error is? Also, It says PingReply v. 1.0 even though I have 1.1 installed (Double-Checked)
@JoLong
I updated it to 1.1 , fixed all bugs :-) and added /ping <player> awaiting approval ...
in 1.0 there was a bug when you dont have permissions it give you /ping1 back. its all fixed in 1.1, take a look in some hours :-)
only question, why this plugins is called pingdelay and in the download list is called pingreply ? anc the plugins: i do /ping he respond: /ping1 i do /ping1 he respond: /ping1
how work?
Plugin Amazing !
@Zachary_DuBois
i'll update to that when the rec. verison is out :)
Suggestions: Update to 1.4.7 . You should add a feature that kicks the user if there ping is above a set value. Like lets say I had a ping of 1598 and in the config I set the minimum ping as 750. I would be kicked because I would have lag. A ping of 1000+ on a game is terrible lag.
Other than that keep up the good work :P
just keep it simple also "Your Ping is: X" is just fine, don't need ugly red [Ping] next to neon green.
@michidk
good idea, i'll do it in the next version :-)
Hi, please add that i can see the ping from a user with: /ping <username>
@user_83
this plugin override the /ping from essentials
How would one go about disabling the /ping from essentials? Or would this plugin override that command?