Skip to content

Mirror v1.1.1 — Comprehensive property support + handout fix#2279

Open
KenanMillet wants to merge 4 commits into
Roll20:masterfrom
KenanMillet:Mirror-v1.1.1
Open

Mirror v1.1.1 — Comprehensive property support + handout fix#2279
KenanMillet wants to merge 4 commits into
Roll20:masterfrom
KenanMillet:Mirror-v1.1.1

Conversation

@KenanMillet

@KenanMillet KenanMillet commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Changes

Comprehensive ALL_PROPS update

Mirror now knows about all documented graphic properties from the Roll20 API:

  • Bars: bar4, bar_link (1-4), bar_location, compact_bar, bar_num_permission (1-4)
  • Visibility/permissions: showplayers_* and playersedit_* for bars, name, auras
  • Tooltip: tooltip, show_tooltip
  • UDL emission: directional bright/dim light (center, total), dim_light_opacity, lightColor
  • UDL vision: field of vision limits, night vision limits, night_vision_effect, light_sensitivity_multiplier
  • Foreground layer: fadeOnOverlap, fadeOpacity, renderAsScenery
  • Other: isdrawing, lockMovement, disableSnapping, disableTokenMenu, aura1/2_options, adv_fow_view_distance

New property groups

  • sight — vision properties only (split from light)
  • name — name + nameplate visibility/edit permissions
  • tooltip — tooltip + show_tooltip

Updated groups

  • light — now emission only (no longer includes vision)
  • bars — now includes links, location, compact_bar, visibility, permissions
  • auras — now includes options, showplayers, playersedit

Bug fix

  • Handout journals created by !mirror gen-dev-docs no longer give access to all players

Why

The previous ALL_PROPS only covered ~25 properties. Mirror.align() and links using the all group couldn't sync properties Mirror didn't know about (e.g. nameplate visibility, bar links, tooltips). This was causing incomplete syncs for scripts relying on Mirror's align API.

The light/sight split allows consumers (like Gaslight) to --exclude sight without losing light emission sync.

- Added: bar4, bar_link, bar_location, compact_bar, bar_num_permission
- Added: showplayers_*, playersedit_* for bars/name/auras
- Added: tooltip, show_tooltip, isdrawing
- Added: UDL directional light, dim_light_opacity, lightColor
- Added: UDL vision (field of vision/night vision limits)
- Added: lockMovement, disableSnapping, disableTokenMenu
- Added: foreground layer (fadeOnOverlap, fadeOpacity, renderAsScenery)
- Added: aura1_options, aura2_options
- Added: adv_fow_view_distance, night_vision_effect, light_sensitivity_multiplier
- Split 'light' group into 'light' (emission) and 'sight' (vision)
- New groups: name, tooltip, sight
@KenanMillet KenanMillet changed the title Mirror v1.1.1 Mirror v1.1.1 — Comprehensive property support + handout fix Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant