Skip to main content
The Custom Marker Definition allows you to create reusable marker templates. Define icon paths, colors, and behaviors once and reference them by ID in marker actions.

Configuration

markerId
String
required
Unique ID for this marker type.
displayName
String
default:"Custom Marker"
Name shown when hovering over the marker on the map.
iconPath
String
default:"minimap/marker.png"
Path to texture in resource pack.
color
Color
default:"#FFFFFF"
Tint color for the icon.
iconSize
Integer
default:"8"
Size of the marker in pixels/map units.
showLabel
Boolean
default:"true"
Whether to show the name label.
rotateWithMap
Boolean
default:"false"
If true, icon rotates with the map. If false, it stays upright (usually preferred for icons).
clampToEdge
Boolean
default:"true"
If true, marker sticks to the edge of the map when the target is out of range.
pulseAnimation
Boolean
default:"false"
Enable a pulsing size animation for visibility.

Usage

Reference this definition in a Minimap Marker Action using the customDefinition field.
config:
  type: custom_marker
  markerId: "quest_primary"
  iconPath: "minimap/quest_yellow.png"
  clampToEdge: true
  pulseAnimation: true