PHP: public function onEnable(){ $this->getServer()->getPluginManager()->registerEvents($this, $this); $i = Item::get(Item::CHAINMAIL_HELMET); $helmet = new ShapedRecipe(["AAA","A A"," "],["A"=>Item::get(Item::EMERALD)],[$i]); $helmet->registerToCraftingManager($this->getServer()->getCraftingManager());