Commands
This plugin requires no permission configuration by default, server owners can use it out of the box (hot-loading the plugin may cause default permissions to be invalid)
For those who don't know the types mentioned below, please use tab completion for lower versions, and versions 1.12+ will provide automatic suggestions
Permissions and Commands
| Command | Permission | Function | Default |
|---|---|---|---|
/riceNotice reload | riceNotice.reload | Reload the plugin | op |
/riceNotice send [group] | riceNotice.send | Send a specific group immediately (2.1.0+) | op |
| None | rice.notice.bypass.[key] | Whether the notice corresponding to the key is visible to the player (1.0.2+) | None |
If you use a permission group plugin, simply grant
riceNotice.*to your admin group to get all command permissions above
[group]supports tab completion; the available groups are the keys undernoticein the configuration
Example: There is a notice group with key "yi" in the configuration
Players (non-OP) with the permission "rice.notice.bypass.yi" will not see the contents of this notice group
yaml
# Notice configuration (can be customized with unlimited multiple groups, randomly select one group)
notice:
# First group configuration
yi:
- "Content 1"
- "Content 2"
# Second group configuration
er:
- "Content 3"
- "Content 4"