Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable intervals for broadcasts #14

Open
TBG1000 opened this issue Jul 6, 2022 · 0 comments
Open

Configurable intervals for broadcasts #14

TBG1000 opened this issue Jul 6, 2022 · 0 comments

Comments

@TBG1000
Copy link
Member

TBG1000 commented Jul 6, 2022

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:

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

No branches or pull requests

1 participant