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

How to send a UpdateBlock packet to clients?

Comments in 'Plugin Development' started by xFlare, Aug 29, 2015.

  1. xFlare
    Offline

    xFlare Active Member Plugin Developer

    Joined:
    Sep 28, 2014
    Posts:
    199
    Plugins:
    1
    Minecraft User:
    xFlare
    Let's say a player places / breaks a block. How can I send a block update packet so everyone can see what *that* player has placed / broke. (I know PocketMine does this, but I'm using a custom version that does not.)
  2. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    What do you mean by custom version? Like a modified version of PocketMine?
  3. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Use PocketMine code from github
  4. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    TheWhoops likes this.
  5. xFlare
    Offline

    xFlare Active Member Plugin Developer

    Joined:
    Sep 28, 2014
    Posts:
    199
    Plugins:
    1
    Minecraft User:
    xFlare
    That's not simple when your using a version of pocketmine that was made half a year ago with its protocol updated for 0.12.
  6. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    And why are you using it?
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Steadfast
    Take a look at Level->sendBlocks I guess.
    Are you assuming people are stupid, or are you just trolling? This is simply too obvious and vague.
    xFlare and PixelGuy75 like this.

Share This Page

Advertisement