Sends randomly configured chat messages every X amount of seconds

Supported Games
GameServerKingsGameServerKings

Auto Broadcast sends a randomly configured chat messages every X amount of seconds based on configuration.

Permissions

  • autobroadcast.broadcast -- Allows player to broadcast a message manually

Commands

  • broadcast <lang key> -- Broadcast a message using a lang key to all connected players

Configuration

{
  "Broadcast Interval (Seconds)": 300,
  "Randomize Messages (true/false)": false
}

Localization

New messages can be added to the AutoBroadcast.json file under the lang/en directory. Add as many messages as you'd like, just make sure to follow the example format and JSON formatting. If you are having issues, I'd recommend checking your changes with a JSON validator such as www.jsonlint.com.

{
  "ExampleMessage": "This is an example. Change it, remove it, translate it, whatever!",
  "AnotherExample": "This is another example, notice the comma at the end of the line above..."
}

MIT License, with distribution exclusivity for uMod.org


Copyright (c) 2020 Wulf


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.