Grasscutter-MeaMailPlus/README.md
2022-05-03 05:14:22 +08:00

50 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# MeaNotice - Grasscutter Regular Notice Plugin
MeaNotice is a plugin of [Grasscutter](https://github.com/Grasscutters/Grasscutter), you can use this plugin to publish notifications in-game regularly.
English | [简体中文](./README.zh-CN.md)
## Setup
### Install
1. [Download Plugin Jar](https://github.com/Coooookies/MeaNotice/releases).
2. Put plugins into `plugins` folder of your grasscutter server.
3. Start your server, then the plugin will create `MeaNotice` folder in your server folder root.
```
Root
│ lib
│ keys
│ resources
│ plugins
│ ...
└───MeaNotice
└───config.json
```
### Config
```json
{
"interval": 30000,
"notices": [
"Welcome to this server! If you want to learn how to use commands, please type /help in chatroom.",
"Hey! Do you need help? Add UID1 as a friend, the admin will help you."
]
}
```
```
explain:
interval: Required, indicates the interval time. (millisecond)
notices: Array string, include the contents of the notice.
```
### Command & Permission
Command:
```
/meanotice reload
Reload the config of the plugin.
```
Permission:
```
mea.notice | Control plugin functions
```
# MeaMailPlus