Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send message with packet?

Comments in 'Plugin Development' started by xBeastMode, Apr 1, 2016.

  1. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    What is the correct way to send a message as a player with packets?
    applqpak likes this.
  2. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    What function?
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Never mind, I didn't see "as a player".

    Look at NailedKeyboard code. https://github.com/PEMapModder/Smal...modder/nailedkeyboard/NailedKeyboard.php#L123

    Referring to IRC logs: https://botbot.me/freenode/pocketmine/2014-10-04/?msg=22862333&page=1
    Also read the conversation for the 2 hours after the linked message. With reference to my NailedKeyboard code, you would understand what I'm trying to do.

Share This Page

Advertisement