Example Configuration (config.yml):
yaml
menu_change_time: "00:00" # Time for menu change
menu_change_interval: 60 # Interval in minutes for menu change (0 - to disable timer)
menus:
- quests1
- quests2
- quests3
commands:
quests: "dm open %menu%" # Command to open a random menu
placeholder:
style: "&aTime until menu update: %time_until_reset%"
name: "time_until_reset"
Commands:
- /quests — Opens a random menu from the list specified in the configuration.
- /mu reload — Reloads the plugin's configuration (available only to users with the menu.up permission).
Permissions:
- menu.up — Allows execution of the /mu reload command to reload the plugin's configuration.
- quests.use — Allows players to use the /quests command to open a random menu.