Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

[1.20] SimpleBroadcast 0.2.0

Latest
Compare
Choose a tag to compare
@IMB11 IMB11 released this 07 Jun 18:36
· 1 commit to master since this release

A 1.20 port of the 0.2.0 release.

The 0.2.0 release adds message presets, laying down the groundwork for message pools and eventually scheduling.

Message Presets

Message presets are useful when you want to save broadcasts that you might use quite a bit in the future. Eg: "The server will be restarting in 5 minutes."

To create a message preset, you can use the following command:

  • /broadcast preset create <id> <type> [contents]

Example usage:

  • /broadcast preset create simplebroadcast:test minecraft:vanilla "Hello world!"
  • /broadcast preset create simplebroadcast:empty simplebroadcast:default

To broadcast a preset message simply call the following command:

  • /broadcast preset <id> - Broadcast a preset to the entire server.

You can modify and read preset configurations using the following commands:

  • /broadcast preset <id> location - Get the display location of the message preset.
  • /broadcast preset <id> location [actionbar/chat/title] - Set the location of the preset.
  • /broadcast preset <id> contents - Get the raw contents of the message preset. This will not format the contents.
  • /broadcast preset <id> contents <value> - Set the raw contents of the message preset.
  • /broadcast preset <id> type - Get the message type of the preset.
  • /broadcast preset <id> type <type> - Set the message type of the preset.
  • /broadcast preset <id> delete - Delete the message preset.

Full Changelog: 0.2.0+1.19.x...0.2.0+1.20
Full Documentation: https://docs.mineblock11.dev/