Receiving Default Minecraft Packets w/o ProtocolLib

Discussion in 'Plugin Development' started by AstramG, Mar 31, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    AstramG

    Hello, I'm trying to basically do what is mentioned in the title. However, I don't see any methods for listening to packets such as the PlayerAnimation packet. If anyone could please teach me how to listen for packets being sent to the server and cancel them, that'd be amazing. Currently, I'm trying to remove the arm swinging animation from the server.
     
  2. Offline

    Codex Arcanum

    Any particular reason you're averse to using ProtocolLib?
     
  3. Offline

    AstramG

    Not really, I know it's simple to use. However, the server I'm trying to work on is trying to use as minimal plugins as possible. Please don't say "Just use ProtcolLib." (Even though I probably should), but I'm simply trying to figure out how to look for packets without it.
     
  4. Offline

    Codex Arcanum

    Well, even though it may make you hate me a little bit, I'm going to suggest using ProtocolLib. Instead of just using it in your plugin though, you could go check how it goes about intercepting the same packet you're interested in, since their source is up publicly here.
     
Thread Status:
Not open for further replies.

Share This Page