fancydialogs: Add open_random_dialog action

This commit is contained in:
Oliver
2025-06-28 19:01:01 +02:00
parent fa90dde62f
commit f08fa67a84
5 changed files with 49 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ order: 1
# FancyDialogs v0.x.x
## v0.0.9 [!badge variant="info" text="2025-06-28"]
- Added `open_random_dialog` action to open a random dialog from a list
## v0.0.8 [!badge variant="info" text="2025-06-28"]
- Fixed permission for dialog command

View File

@@ -127,4 +127,5 @@ Available actions include:
- `console_command`: Executes a command as the console (set `data` to the command)
- `player_command`: Executes a command as the player (set `data` to the command)
- `open_dialog`: Opens another dialog (set `data` to the ID of the dialog to open)
- `open_random_dialog`: Opens another dialog (set `data` to a list of dialog IDs separated by commas: 'dialog1,dialog2,dialog3')
- `send_to_server`: Sends the player to another server (requires BungeeCord or Velocity) (set `data` to the server name)