type = fancymenu_layout

layout-meta {
  identifier = edit_server_screen
  render_custom_elements_behind_vanilla = true
  custom_menu_title = {"placeholder":"stringify","values":{"text":""}}
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 0
  width = 220
  height = 100
  y = 12
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  width = 225
  height = 118
  x = -112
  y = 26
  source = [source:local]/config/fancymenu/assets/bg/command1.png
  nine_slice_texture = true
  nine_slice_texture_border_x = 8
  nine_slice_texture_border_y = 20
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 0
  width = 225
  height = 14
  y = 4
  interactable = false
  source = ^^^%n%{"placeholder":"local","values":{"key":"addServer.title"}}%n%^^^
  source_mode = direct
  shadow = false
  base_color = #464546
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = 400322
  anchor_point = element
  anchor_point_element = 0
  width = 225
  height = 30
  y = 126
}

vanilla_button {
  instance_identifier = 400364
  anchor_point = element
  anchor_point_element = 400322
  width = 225
  height = 30
  y = 38
}

vanilla_button {
  instance_identifier = 400388
  anchor_point = element
  anchor_point_element = 0
  width = 5
  height = 5
  x = 213
  y = 7
  backgroundnormal = [source:local]/config/fancymenu/assets/icons/close.png
  backgroundhovered = [source:local]/config/fancymenu/assets/icons/close_highlighted.png
  label = 
}

vanilla_button {
  instance_identifier = 8975
  is_hidden = true
}