DialogRules is a Paper plugin using the new Dialog feature introduced in Minecraft 1.21.6/7 to display Server rules.
This plugin uses the experimental Dialog API of Paper 1.21.7, meaning there can be breaking changes in the future without notice.
The plugin also only works for Paper builds 17 and newer for 1.21.7 due to the Dialog API not being implemented in older versions!
You can let the plugin perform specific actions when a Player either accepts or declines the Rules. These actions are: Performing a command as the server, disconnecting the player from the server or do nothing.
The plugin provides two commands to use:
/dialogrules help|reloadShows available sub-commands or reloads the config.yml.
Alias is /dr
/rulesDisplays the configured Rules as a Notice Dialog, allowing a player to look at the rules, without having to accept them again.