# mcdr_announcements
**Repository Path**: dodo939/mcdr_announcements
## Basic Information
- **Project Name**: mcdr_announcements
- **Description**: A plugin running on MCDR to send announcements regularly
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-09-15
- **Last Updated**: 2023-09-15
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# mcdr_announcements
A plugin running on MCDR to send announcements regularly.
Run `pip install pyyaml` in cmd or powershell before loading this plugin.
### v1.2.0 update
+ Added support for Chinese, the plug-in will automatically select the display language based on the server language preference.
添加了对中文的支持,插件将根据服务端语言偏好自动选择显示语言。
+ The plug-in format is changed to `*.mcdr` packaging format, replacing the previous `*.py` single file format.
插件格式换用 `*.mcdr` 打包格式,取代之前的 `*.py` 单文件格式。
### v1.1.0 update
+ Now commands are allowed to configure instead of editing the yaml file.
`!!an`: Show this help message list
`!!an enable`: Enable the timed announcement
`!!an disable`: Disable the timed announcement
`!!an set `: Set the content of announcement
Notice: `\n` for next line and `&` for the color text. If you use Chinese in this command, please add `-Dfile.encoding=UTF-8` in your start command. Such as `java -Dfile.encoding=UTF-8 -jar server.jar nogui`
`!!an time `: Set the interval time (seconds/time)
+ The status is set to False by default now. Please enable it manually.
+ Only admin and owner can run commands.