This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
[1.19.X] SimpleBroadcast 0.2.0
This 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.