AntiNyan
Description
This plugin implements a very simple fix to protect servers against the Nyan client's "-crash tp" and "click tp" features. Users of the Nyan client attempting to use these exploits will be kicked from the server once the attempt is detected.
Currently this plugin counters v0.3 of Nyan (released approx. 17/03/2012).
In testing this mod there does not appear to be any adverse side-effects on normal teleportation or movement, however I am not able to guarantee that the mod will not produce any unexpected results. This mod is provided as-is, and I am not able to take responsibility for any failures or unexpected behaviour. This said, please do feel free to report bugs to me, or make requests for additional features. (I like to keep things sane and centralised, so please make comments/bug reports on dev.bukkit.org)
Changelog
1.0
Download v1.0 (latest release)
This plugin implements a very simple fix to protect servers against the Nyan client's "-crash tp" and "click tp" features. Users of the Nyan client attempting to use these exploits will be kicked from the server once the attempt is detected.
- The "-crash tp" command attempts to crash the server by overloading movements/exploiting the teleport functionality. Usage of this command on an unprotected server may produce out of memory errors or other behaviour.
- The click teleporting allows the client to click on a location to travel there.
Currently this plugin counters v0.3 of Nyan (released approx. 17/03/2012).
In testing this mod there does not appear to be any adverse side-effects on normal teleportation or movement, however I am not able to guarantee that the mod will not produce any unexpected results. This mod is provided as-is, and I am not able to take responsibility for any failures or unexpected behaviour. This said, please do feel free to report bugs to me, or make requests for additional features. (I like to keep things sane and centralised, so please make comments/bug reports on dev.bukkit.org)
Changelog
1.0
- Very simple protection against "click tping" and "-crash tp" exploits in the Nyan client.
Download v1.0 (latest release)
@joehot200
i got that as soon as i installed antinyan, and when i used /disable AntiNyan the errors stopped, (i have TogglePlugins) and (i think) the error finally went when i reloaded and removed the jar.
this is what i got from console and members saying things, as i havent bothered to downgrade to 1.3, and bukkit 1.4 will hopefully be out tomorrow anyways :)
i also think the plugin (or its effect on nocheat) is teleporting people into walls and suffocating them (even though i have suffocation damage OFF on my server!?)
edit: now i think of it it may tp them into the void too.
AHA! nocheat+ copatability problem!
70, 71.00, 2666.11 over a distance of 0.00 block(s). VL 6965. 03:11:08 [INFO] [NoCheatPlus] marcusb107 failed SurvivalFly: tried to move from 9903.53, 67.00, 10445.79 t o 9903.53, 67.00, 10445.79 over a distance of 0.00 block(s). VL 6565. 03:11:09 [INFO] [NoCheatPlus] FlameBeast failed SurvivalFly: tried to move from 14.00, 71.00, 2638.10 to 1 4.00, 71.00, 2638.25 over a distance of 0.02 block(s). VL 7319. 03:11:09 [WARNING] kingkeonsk86 moved too quickly! 0.0,28.51493181546985,-0.4483309400766302 (0.0, 28.5149 3181546985, 0.4483309400766302) 03:11:09 [WARNING] oldmanethan moved too quickly! 0.0,28.79808671384913,0.0 (0.0, 28.79808671384913, 0.0) 03:11:12 [INFO] [NoCheatPlus] oldmanethan failed SurvivalFly: tried to move from 14.00, 71.00, 2638.10 to 14.00, 71.00, 2638.25 over a distance of 0.02 block(s). VL 7814. 03:11:12 [INFO] ?builders r<jollydiger> marcus 03:11:12 [INFO] marcusb107 lost connection: disconnect.quitting 03:11:12 [INFO] Connection reset 03:11:13 [INFO] [NoCheatPlus] sonicboyfun failed SurvivalFly: tried to
3:12:01 [INFO] ?ac1 r<sonicboyfun> i keep die
.0) 03:11:49 [WARNING] dragao_extremo12 moved too quickly! 0.0,13.708390144283754,0.0 (0.0, 13.708390144283754 , 0.0) 03:11:50 [WARNING] marcusb107 moved too quickly! 0.0,41.85558683112154,0.0 (0.0, 41.85558683112154, 0.0) 03:11:50 [WARNING] dragao_extremo12 moved too quickly! 0.0,16.643012280521177,0.0 (0.0, 16.643012280521177 , 0.0) 03:11:50 [WARNING] dragao_extremo12 m
@Spitteh
hm, ok, i will try and do a little more looking into it myself.
@joehot200
Strange.
The way the mod is written means it should never have any effect whatsoever unless it is also kicking the player. By which I mean: it detects the attack attempt (which is a movement event), and then cancels the attempt and also kicks the player. What's more, in the code, it kicks the player /before/ canceling the event. What you're describing sounds like it is only canceling the event, which is peculiar to say the least.
Sadly I'm in Sweden from tomorrow until Monday, so I won't have much chance to investigate this (am also having some issues getting the latest version of nyan working on my PC - haha). I'll hopefully be able to resolve it for you soon, though.
Best!
@Spitteh
hm, ok. thx for PMing me. i went on, and EVERY player on the server said he couldent move, and everyone on skype said they couldent either.
i am using craftbukkit, (might that cause a problem? i dont think it affects movment) 1.3.1R1.2 (or is it R2.1, sry i am not very good with versions)
i saw no errors in the console, everyone simply couldent move.
@joehot200
Heya, sorry for the delay, haven't been checking in here lately much. What version of bukkit are you running? And do you know if this happens even with legit clients, or is it only with modified clients? The plugin is still running on fine on my server. I will try and do some testing and a bit of coding tonight and tomorrow, as this is badly in need of an update anyway. A new version might be rolling out soon. Thanks for the feedback! :)
update please? whenever people move, they are teleported into a wall. i disable the plugin and the problem dissapeares :/ help please?
i think this will probably stop more than just the nyan client as many clients work this way...
lets try this plugin XD