From e64a1e5ced33eccb234203ac0b2e76fb91ef37c8 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 23 Jun 2025 22:36:55 +0200 Subject: [PATCH] fancydialogs: Remove old dialog examples --- .../dialog-exmaples/dialog-list.json | 42 ------------------ .../dialog-exmaples/multi-action.json | 42 ------------------ .../fancydialogs/dialog-exmaples/notice.json | 24 ----------- .../dialog-exmaples/simple-input-form.json | 43 ------------------- 4 files changed, 151 deletions(-) delete mode 100644 plugins/fancydialogs/dialog-exmaples/dialog-list.json delete mode 100644 plugins/fancydialogs/dialog-exmaples/multi-action.json delete mode 100644 plugins/fancydialogs/dialog-exmaples/notice.json delete mode 100644 plugins/fancydialogs/dialog-exmaples/simple-input-form.json diff --git a/plugins/fancydialogs/dialog-exmaples/dialog-list.json b/plugins/fancydialogs/dialog-exmaples/dialog-list.json deleted file mode 100644 index 41162e42..00000000 --- a/plugins/fancydialogs/dialog-exmaples/dialog-list.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "type": "dialog_list", - "title": "Dialog List Dialog", - "body": [ - { - "type": "plain_message", - "contents": "Welcome to the server! Please read the rules carefully.", - "width": 200 - }, - { - "type": "plain_message", - "contents": "The rules are: blah blah blah.", - "width": 400 - } - ], - "dialogs": [ - { - "type": "notice", - "title": "Rules", - "external_title": "Go to rules dialog", - "body": [ - { - "type": "plain_message", - "contents": "Some important information 1.", - "width": 200 - } - ] - }, - { - "type": "notice", - "title": "Notice Dialog 2", - "external_title": "Go to dialog 2", - "body": [ - { - "type": "plain_message", - "contents": "ome important information 2.", - "width": 200 - } - ] - } - ] -} \ No newline at end of file diff --git a/plugins/fancydialogs/dialog-exmaples/multi-action.json b/plugins/fancydialogs/dialog-exmaples/multi-action.json deleted file mode 100644 index 5bdfab7b..00000000 --- a/plugins/fancydialogs/dialog-exmaples/multi-action.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "type": "multi_action", - "title": "Multi Action Dialog", - "body": [ - { - "type": "plain_message", - "contents": "Welcome to the server! Please read the rules carefully.", - "width": 200 - }, - { - "type": "plain_message", - "contents": "The rules are: blah blah blah.", - "width": 400 - } - ], - "actions": [ - { - "label": "Action 1", - "id":"whatever", - "on_submit": { - "type": "command_template", - "template": "tellraw @a '$(example) $(extra1) $(extra2)'" - } - }, - { - "label": "Action 2", - "id":"whatever2", - "on_submit": { - "type": "command_template", - "template": "tellraw @a '$(example) $(extra1) $(extra2)'" - } - }, - { - "label": "Action 3", - "id":"whatever3", - "on_submit": { - "type": "command_template", - "template": "tellraw @a '$(example) $(extra1) $(extra2)'" - } - } - ] -} \ No newline at end of file diff --git a/plugins/fancydialogs/dialog-exmaples/notice.json b/plugins/fancydialogs/dialog-exmaples/notice.json deleted file mode 100644 index fcdebcf4..00000000 --- a/plugins/fancydialogs/dialog-exmaples/notice.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "type": "notice", - "title": "Notice Dialog", - "body": [ - { - "type": "plain_message", - "contents": "Welcome to the server! Please read the rules carefully.", - "width": 200 - }, - { - "type": "plain_message", - "contents": "The rules are: blah blah blah.", - "width": 400 - } - ], - "action": { - "label": "Understood!", - "id":"whatever", - "on_submit": { - "type": "command_template", - "template": "tellraw @a '$(example) $(extra1) $(extra2)'" - } - } -} \ No newline at end of file diff --git a/plugins/fancydialogs/dialog-exmaples/simple-input-form.json b/plugins/fancydialogs/dialog-exmaples/simple-input-form.json deleted file mode 100644 index ab39f30f..00000000 --- a/plugins/fancydialogs/dialog-exmaples/simple-input-form.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "type": "simple_input_form", - "title": "Simple Input Form Dialog", - "inputs": [ - { - "type":"text", - "label": "Text input", - "key": "key1" - }, - { - "type":"boolean", - "label": "Checkbox", - "key": "key2" - }, - { - "type": "number_range", - "label": "Number Range", - "start": 50.0, - "end": 420.0, - "steps": 5, - "initial": 200.0, - "key": "key2" - }, - { - "type": "single_option", - "label": "Single Option", - "options": [ - {"id": "opt1", "display": "Option 1", "initial": true}, - {"id": "opt1", "display": "Option 2"}, - {"id": "opt1", "display": "Option 3"} - ], - "key": "key3" - } - ], - "action": { - "label": "Create!", - "id":"whatever", - "on_submit": { - "type": "command_template", - "template": "tellraw @a '$(example) $(extra1) $(extra2)'" - } - } -} \ No newline at end of file