Skip to content

[FEATURE] Add managed jukebox state and control API #221

Description

@ifBars

What would you like to see?

Add a managed wrapper for placed jukeboxes that exposes their current state and common controls.

Useful members would include the track list/current track, play state, volume, shuffle, repeat mode, and safe operations such as play/pause, next, previous, volume changes, and selecting a track. State-change notifications would be useful for custom UI.

Why would this help?

Mods that add music-related UI, venues, or gameplay events currently need to access the native Jukebox and network state directly. A supported wrapper would make the existing jukebox behavior reusable without custom reflection or runtime-specific code.

Extra Context (Optional)

Keep the first version limited to existing game tracks and native jukebox behavior. Custom audio registration and new networked music payloads can be separate follow-up work. Controls should respect the game's existing server/authority rules.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or request

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions