Skip to content

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 ​

CommandPermissionFunctionDefault
/riceNotice reloadriceNotice.reloadReload the pluginop
/riceNotice send [group]riceNotice.sendSend a specific group immediately (2.1.0+)op
Nonerice.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 under notice in 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"