This plugin introduces a simple command to render images onto maps in your Minecraft world!
/map
Simply provide the intended width and height of the output, followed by the url to the image that you want to be rendered.
For example, /map 2 3 will render the image onto 6 maps that can then be placed in a 2x3 grid of item frames to complete the image.
I know there are many plugins that do similar things to this however I always prefer to use my own plugins on my Minecraft server (so I can have complete control and understanding of what's happening below the surface) hence I made this.
Also, it probably works on some older version of the game, I only specify the versions that I've tested it on.
Permission Nodes:
imagemaprenderer.map
description: allows player to run the /map command default: true
imagemaprenderer.itemFrames
description: allows player to receive Item Frames when they render map(s) default: true
imagemaprenderer.glowItemFrames
description: allows player to receive Glow Item Frames when they render map(s) default: true
All Versions
+ Add Version- 'images' folder is now reliably created (again)
- no longer throws rendering errors upon creating new map
- Fixed some bugs:**
image folder is now reliably created
data.yml is now only deleted if all image files have been updated successfully
3 years ago when i initially wrote this plugin, I had no sense of what good code was whatsoever
This overhaul is to remedy that, here are some things that are new:
- no more data.yml**
Thank you to SlyCedix for pointing this out to me_
- optimized image storage**
Many things have changed on the backend and hopefully it should lead to a more optimized experience overall (at least a little bit)
You can now specify in the command whether or not you want to receive Item Frames (or Glow Item Frames) along with your maps.
This can be disabled in the config (for specifically Item Frames or Glow Item Frames) and access can also be limited through permissions (also on a per Frame type basis.)
These are the useless things I do when I get too much time to myself..
Permission Nodes:
> imagemaprenderer.map
>> description: allows player to run the /map command
>> default: true
> imagemaprenderer.itemFrames
>> description: allows player to receive Item Frames when they render map(s)
>> default: true
> imagemaprenderer.glowItemFrames
>> description: allows player to receive Glow Item Frames when they render map(s)
>> default: true
Cool new feature.. you no longer have to decompile, change the code, do it wrong, ask ChatGPT to do it for you, then recompile the plugin to edit who can perform the map command.
Using a permission manager plugin or smth (idfk how it works I'm not a good server host), you can change who has permission to the /map command.
ig this means at some point I need documentation but for right now, the node is right here:
> imagemaprenderer.map
>> description: allows player to run the /map command
>> default: true
- every developer ever when changing the entire underlying framework
jkjk, actual bug fixes
- You now do **not** break everything when running the "map" command from a console<br>
- When rendering an image onto a grid of more than 1 map, it will only send the confirmation message once (instead of per every map rendered)
Of course if you find any bugs and/or want something added, let me know and I'll try