using form API, the images only load if i open another app on on pc and then switch back to mc; using "url"
I am too... I added custom image files with custom names to the textures/items folder and just specified the file path.
1. Copy your images to folder texture/items in texturepack 2. Set images paths (image files without extensions) PHP: $form = new SimpleForm(function (Player $player, $data) use ($config, $plugin) { $result = $data; if($result === null){ // Closed form without submitting return; } // SOME ACTIONS});$form->setTitle('DIALOG TITLE');$form->setContent('DIALOG CONTENT TEXT');$form->addButton('First Image', Form::IMAGE_TYPE_PATH, 'textures/items/av1');$form->addButton('Seconf Image', Form::IMAGE_TYPE_PATH, 'textures/items/av2');...$player->sendForm($form); P.S. I create small texturepack with only my images...