Player Send Packet Event?

Discussion in 'Plugin Development' started by thebigdolphin1, Mar 3, 2014.

Thread Status:
Not open for further replies.
  1. I'm trying to make my own reflection utility and I need a way to detect when a player sends a packet TO the server (Like.. whenever they click a block, close an inventory, chat.. but as a packet). I have a way to spawn it and whatever, just need the receiving part.

    I'm basically having a packet entity, and need to detect when a player right-clicks it without ProtocolLib :p

    Thanks
     
  2. thebigdolphin1 Even though I strongly suggest you to use protocol lib, as it may be unsafe to mess with the minecraft internals if you have no idea how it works but if you really don't want to depend on any libs, then here you go...
     
  3. Seems a lot more complicated than I thought, But I'll give it a try. Thanks! :D
     
Thread Status:
Not open for further replies.

Share This Page