Hello everyone im kingbudderjr and I come from mcpe mods! Ive created the crazycraft mod for mcpe! But now ive started making plugins! So ive got some questions for you! 1st Since there is the possiblity to make a function when a player touch a block is there the possibility to set a certain ID for that bl8ck? Since when ive tried first everything I touch sended me the message ive configured! 2nd For those one that know ModPe there is a function called "addItemInventory" but for plugins is there something like that? And how do you use it? If someone will help me I would be very thankful to him!
addItemInventory: $player->addItem($id, $meta) (old API) $player->getInventory()->something() (new API) Player.getEntity: $this->api->player->get($name) (old API) $this->getServer()->getPlayer($name) (new API)