Skip to content

Configurable intervals for broadcasts #14

@TBG1000

Description

@TBG1000

Issue:

Automatic broadcasts using Mars use a fixed, global unmodifiable one minute interval.

Background:

Broadcasts in TGM allowed server administrator to at least configure a desired global interval for any loaded broadcasts. This interval could be changed at any time from the server panel.

Currently, with Mars, only the following properties are available: name, message, permission, newline. Broadcasts are also managed from the backend (API) by manipulating the broadcasts.yml file.

Desired solution:

Server owners should have the ability to configure a default global interval for all broadcasts, as well as an individual interval property for each broadcast.

Example config:

global-interval: 60 # One minute
broadcasts:
- name: vip
  message: This is a VIP broadcast!
  permission: broadcasts.vip
  interval: 30 # Broadcasted every 30 seconds, overrides global setting
  newline: false

Affected areas / files:

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