LOOHP / ImageFrame

Put images on maps and walls!
https://www.spigotmc.org/resources/106031/
GNU General Public License v3.0
50 stars 14 forks source link

[Suggestion] Allow refreshing from console #78

Closed Daelin-Campleman closed 3 weeks ago

Daelin-Campleman commented 1 month ago

I'm not sure if there's a specific reason why this isn't allowed, but it would really help if images could be refreshed from the console. I'm using this plugin to display an image that's generated on a server and is updated on certain events through API calls in a custom plugin. When the calls are made and the image is updated I would like to be able to refresh the image but I can't see a way of doing this as only the player can refresh an image in game.

LOOHP commented 1 month ago

If you are doing refreshes through API calls, you could just hook into ImageFrame. Otherwise, I believe you can refresh images through the console like this /if refresh LOOHP:image.