

$dialog show @s {\
  "type": "minecraft:multi_action",\
  "title": "",\
  "inputs": [],\
  "pause": false, \
  "after_action": "wait_for_response", \
  "columns": 2,\
  "body": {\
    "type": "minecraft:plain_message",\
    "contents": {\
      "text": "Overly-Realistic Settings"\
    }\
  },\
  "exit_action": {\
    "label": {\
      "text": "Back"\
    },\
    "tooltip": [\
      {\
        "text":""\
      },\
      {\
        "text": "\u0040",\
        "font": "overlyrealistic:icons",\
        "shadow_color": 0\
      },\
      {\
        "text": " Click to return!",\
        "color": "#27c200"\
      }\
    ],\
    "action": {\
      "type": "minecraft:run_command",\
      "command": "/trigger OverlyRealistic.Player.OrTriggers set 100076"\
    }\
  },\
  "actions": [\
    {\
      "label": {\
        "text": "Normal Respawning ",\
        "extra": [\
          {\
            "text": "$(setting_ui_opt_13_symbol)",\
            "color": "$(setting_ui_opt_13_color)" }\
        ]\
      },\
      "tooltip": {\
        "text": "DESCRIPTION:\n\n",\
        "extra": [\
          {\
            "text": "When enabled, Overly-Realistic's respawning & death systems are removed. When dying, instead of getting downed and becoming a ghost, players will simply respawn at the world's spawn or at their beds, if they have clicked any ever since the setting has been enabled!\n\n[Default: Disabled ❌]",\
            "color": "#ffd747",\
            "bold": false\
          }\
        ],\
        "color": "#ffbb29",\
        "bold": true\
      },\
      "action": {\
        "type": "minecraft:run_command",\
        "command": "/trigger OverlyRealistic.Player.OrTriggers set 13"\
      }\
    },\
    {\
      "label": {\
        "text": "Restorable Deaths ",\
        "extra": [\
          {\
            "text": "$(setting_ui_opt_14_symbol)",\
            "color": "$(setting_ui_opt_14_color)" }\
        ]\
      },\
      "tooltip": {\
        "text": "DESCRIPTION:\n\n",\
        "extra": [\
          {\
            "text": "When enabled, the game will store the inventory held by the latest player who has died once they get killed!\n\nYou can use the command ' /function debug:retrieve ' to replace your inventory with the stored one!\n\n[Default: Disabled ❌]",\
            "color": "#ffd747",\
            "bold": false\
          }\
        ],\
        "color": "#ffbb29",\
        "bold": true\
      },\
      "action": {\
        "type": "minecraft:run_command",\
        "command": "/trigger OverlyRealistic.Player.OrTriggers set 14"\
      }\
    },\
    {\
      "label": {\
        "text": "Respawn Countdown ",\
        "extra": [\
          {\
            "text": "$(setting_ui_opt_16_symbol)",\
            "color": "$(setting_ui_opt_16_color)" }\
        ]\
      },\
      "tooltip": {\
        "text": "DESCRIPTION:\n\n",\
        "extra": [\
          {\
            "text": "When enabled, ghosts will be respawned after a certain amount of time!\n\nNOTE: The amount of time that players spend as a ghost currently can't be conventionally changed, this will be changed in a future update!\n\n[Default: Disabled ❌]",\
            "color": "#ffd747",\
            "bold": false\
          }\
        ],\
        "color": "#ffbb29",\
        "bold": true\
      },\
      "action": {\
        "type": "minecraft:run_command",\
        "command": "/trigger OverlyRealistic.Player.OrTriggers set 16"\
      }\
    },\
    {\
      "label": {\
        "text": "Randomized Respawn ",\
        "extra": [\
          {\
            "text": "$(setting_ui_opt_17_symbol)",\
            "color": "$(setting_ui_opt_17_color)" }\
        ]\
      },\
      "tooltip": {\
        "text": "DESCRIPTION:\n\n",\
        "extra": [\
          {\
            "text": "When enabled, players will respawn in a randomized location in the world, instead of near spawn or at a bed!\n\nNOTE: This setting requires the player to be able to respawn naturally, meaning either the 'Natural Respawning' or the 'Respawn Cooldown' must be enabled!\n\n[Default: Disabled ❌]",\
            "color": "#ffd747",\
            "bold": false\
          }\
        ],\
        "color": "#ffbb29",\
        "bold": true\
      },\
      "action": {\
        "type": "minecraft:run_command",\
        "command": "/trigger OverlyRealistic.Player.OrTriggers set 17"\
      }\
    },\
    {\
      "label": {\
        "text": "Player Corpses ",\
        "extra": [\
          {\
            "text": "$(setting_ui_opt_21_symbol)",\
            "color": "$(setting_ui_opt_21_color)" }\
        ]\
      },\
      "tooltip": {\
        "text": "DESCRIPTION:\n\n",\
        "extra": [\
          {\
            "text": "When enabled, players will create corpses at the location of their deaths. Player corpses will hold the dead players' inventories and despawn after 10 minutes (if they are within loaded chunks)\n\n[Default: Enabled ✔]",\
            "color": "#ffd747",\
            "bold": false\
          }\
        ],\
        "color": "#ffbb29",\
        "bold": true\
      },\
      "action": {\
        "type": "minecraft:run_command",\
        "command": "/trigger OverlyRealistic.Player.OrTriggers set 21"\
      }\
    }\
  ]\
}
