Hello I tried to put image in UI but it did not show up! I think it is so big or the image format does not match with UI (the picture i put was .png) so is there a specific size or format that should be the image?
PHP: $api = $this->getServer()->getPluginManager()->getPlugin("FormAPI");if($api === null || $api->isDisabled()){ return;}$form = $api->createSimpleForm(function (Player $player, array $data){ $result = $data[0]; if($result === null){ return; } switch($result){ case 0: $player->sendMessage("Ok!"); return; case 1: $player->sendMessage("No"); return; }});$form->setTitle("Example Form");$form->setContent("Would you like to X?");$folder = $this->getDataFolder()."Image/";$form->addButton("Yes", 1, "http://tinypic.com/r/jsd7vt/9");$form->addButton("No");$form->sendToPlayer($player);