Minecraft Custom Map Command Generator
Use this Custom Map Generator to quickly create /give filled_map commands in Minecraft Java Edition 1.20.5+. Define the map ID, view the zoom, add markers, write a custom name and lore with color and formatting (with a version button, just like the Give Generator), and lock the map so it does not update anymore. Ideal for treasure maps, map rooms, and servers.
Identification
Each map created in the world has a sequential ID. Use /data or /locate to find the desired ID.
Zoom (Scale)
Each level doubles the covered area and reduces detail per pixel. Zoom 0 = 128x128 blocks. Zoom 4 = 2048x2048 blocks.
/give command always references a map
that already exists with that scale, it is not possible to "force" zoom via a command.
Map Preview
Red dot = map center. Colored markers according to the chosen type.
Markers Optional
Fixed markers on the map. Position in blocks relative to the map center. The icon color in the preview changes according to the type.
Options
Generated Command
give @s filled_map[map_id=0] 1Do you want to create a cheap and lag-free Minecraft server?
I recommend Sparked Host: affordable plans, great performance, easy-to-use panel, and fast support.
🚀 Create server on Sparked HostHow to Use the Custom Map Command in Minecraft
The /give filled_map command gives a completed map that references an already existing map in the world (by ID). From 1.20.5 onwards, you can customize the item with components: custom name, fixed markers, and locking, directly in the command.
Basic format:
/give @s minecraft:filled_map[minecraft:map_id=0] 1
Command Examples
Map with gold and italic custom name
/give @s filled_map[map_id=0,custom_name={text:"Treasure Map",color:"gold",italic:true}] 1
Locked map (no longer updates)
/give @s filled_map[minecraft:map_id=0,minecraft:map_post_processing="lock"] 1
Map with custom marker (Red X)
/give @s filled_map[map_id=0,map_decorations={marker_1:{type:"target_x",x:120.0d,z:-40.0d,rotation:0.0f}}] 1
Frequently Asked Questions
How to give a custom map in Minecraft?
Use /give @s filled_map[minecraft:map_id=0] 1, adding components such as custom_name, map_decorations, and map_post_processing.
How to lock a map so it doesn't update anymore?
Add the minecraft:map_post_processing="lock" component, which has the same effect as locking it on a cartography table with a glass pane.
Is it possible to set the map zoom directly via /give?
No. The scale is part of the map's internal data and only changes by exploring the world or enlarging it on a cartography table. The /give command always references an already existing map.
How to add custom markers on the map?
Use the minecraft:map_decorations component, specifying the icon type and the X and Z coordinates of the marker.