https://github.com/CzechPMDevs/ImageOnMap/tree/main#API If you look here, this plugin supports api 4.0.0 and has a api for putting images on maps. Example usage PHP: $api = \czechpmdevs\imageonmap\ImageOnMap::getInstance();$id = $api->getImageFromFile( file: "path/to/image.png", xChunkCount: 1, yChunkCount: 1, xOffset: 0, yOffset: 0);$map = (FilledMap::get())->setMapId($id);$player->getInventory()->addItem($map);