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

give player block

Comments in 'Plugin Development' started by CrossfireServer, Nov 22, 2014.

  1. CrossfireServer
    Offline

    CrossfireServer New Member

    Joined:
    Oct 3, 2014
    Posts:
    15
    Minecraft User:
    crossfire123
    Give a player block
    Timing ?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    PHP:
    $player->getInventory()->addItem(new ItemBlock(Block::get($id), $damage$count));
    Last edited by a moderator: Nov 23, 2014

Share This Page

Advertisement