Advertisement
TJM4

Shop UI Example

May 16th, 2019
888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.70 KB | None | 0 0
  1. options:
  2.     world: world
  3.     tp_location_x: -761
  4.     tp_location_y: 87
  5.     tp_location_z: -1000
  6.     tp_location_pitch: 0
  7.     tp_location_yaw: 49
  8. item_options:
  9.     item_name_1:
  10.         display_name: '&cExit'
  11.         item_type: player_head
  12.         skull_url: beb588b21a6f98ad1ff4e085c552dcb050efc9cab427f46048f18fc803475f7
  13.         spawn_angle: -90
  14.         popout_distance: 0.5
  15.         spawn_distance_forward: 3.5
  16.         on_click:
  17.             actions:
  18.                 action1:
  19.                     action: close_ui
  20.     item_name_2:
  21.         display_name: '&aSell stone'
  22.         item_type: stone
  23.         spawn_angle: -45
  24.         on_click:
  25.             actions:
  26.                 action1:
  27.                     action: run_command
  28.                     executor: player
  29.                     command: sell stone 1
  30.     item_name_3:
  31.         display_name: '&aSell glass'
  32.         item_type: glass
  33.         spawn_angle: 0
  34.         on_click:
  35.             actions:
  36.                 action1:
  37.                     action: run_command
  38.                     executor: player
  39.                     command: sell glass 1
  40.     item_name_4:
  41.         display_name: '&aSell glowstone'
  42.         item_type: glowstone
  43.         spawn_angle: 45
  44.         on_click:
  45.             actions:
  46.                 action1:
  47.                     action: run_command
  48.                     executor: player
  49.                     command: sell glowstone 1
  50.     item_name_5:
  51.         display_name: '&aSell iron ore'
  52.         item_type: iron_ore
  53.         spawn_angle: 90
  54.         on_click:
  55.             actions:
  56.                 action1:
  57.                     action: run_command
  58.                     executor: player
  59.                     command: sell iron_ore 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement