Skip to content

feat: [Module] Add support to modify map rotation from Lua plugins #44

@harrisonhoward

Description

@harrisonhoward

Description

The ability to control the map rotation via Lua plugins. What the outcome of this would be able to allow plugin authors to control what the next map in the rotation would be, in addition to exposing commands or HTTP endpoints to skip maps, and/or add maps to the rotation.

Requirements

  • Add a map to the current rotation
  • Clear the map rotation
  • Get the next map in the rotation
  • Remove next map in the rotation

Optionals (Nice to have)

  • Get the current map rotation list
  • Get available maps by mode
  • This would make it easy to create auto-shufflers. Effectively refreshing the map rotation after the rotation has completed.

Additional Context

I personally find this most useful to be able to shuffle the map rotation without needing to restart the server. Map rotation can get stale when the maps remain in the same order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions