Kloudy

static-gui-page-example

Jun 12th, 2016
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.08 KB | None | 0 0
  1. static-gui-page-example:
  2.   components:
  3.     static-gui-image:
  4.       type: image
  5.       image-src: static-gui.gif
  6.       width: 65
  7.       height: 15
  8.       position:
  9.         x: 0
  10.         y: 0.9
  11.  
  12.     pastebin-link:
  13.       type: item
  14.       execute-command-as-console: true
  15.       onclick: "tellraw %player_name% {\"text\":\"\",\"extra\":[{\"text\":\"Click Here: \",\"color\":\"bold\"},{\"text\":\"Static GUI Page Example Config on Pastebin\",\"color\":\"underline\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://pastebin.com/UhFbgiBu\"}}]}"
  16.       item-id: NETHER_STAR
  17.       label: Static GUI Page Example Config
  18.       onclick-sound: UI_BUTTON_CLICK                     #1.8 and 1.9 Sounds are listed on the plugin page
  19.       position:
  20.         x: -0.8
  21.         y: 0.2
  22.       rotation:
  23.         x: 0
  24.         y: 90
  25.         z: 0
  26.  
  27.     back-btn:
  28.       type: button
  29.       mini: true
  30.       symmetrical: true
  31.       onclick-sound: UI_BUTTON_CLICK
  32.       position:
  33.         x: 0
  34.         y: -0.4
  35.       label: Back
  36.       symmetrical: true   ####THIS SHOULD ONLY BE TRUE FOR SYMMETRICAL IMAGES. IT INCORRECTLY RENDERS THE IMAGES OTHERWISE####
  37.       icon: back.png
  38.       onclick: hg back
  39.  
  40.     example-text:
  41.       type: label
  42.       text:
  43.        - "&e&l☼&r &lThis is an example of a static GUI display"
  44.         - "&e&l☼&r &lIt does not follow the player like personal GUIs"
  45.         - "&e&l☼&r &lStatic GUI displays are great for displaying info to your players in a HUB"
  46.         - ""
  47.         - ""
  48.         - ""
  49.         - ""
  50.         - ""
  51.         - ""
  52.         - "&l To create a static gui use command: &6&l/hg newstaticgui <static-gui-display-id> <gui-page-id>"
  53.        - "&l This will create a new static display at the location you are standing"
  54.        - ""
  55.        - ""
  56.        - ""
  57.        - ""
  58.        - ""
  59.        - ""
  60.        - ""
  61.        - ""
  62.        - "&l To delete a static display use command: &6&l/hg deletestaticgui <static-gui-display-id>"
  63.        - ""
  64.        - "&l You can teleport to a static display with command: &6&l/hg tpstaticgui <static-gui-display-id>"
  65.      position:
  66.        x: 0
  67.        y: 0.5
  68.  
  69.    creeper-1:
  70.      type: entity
  71.      entity-type: CREEPER
  72.      yaw: 0
  73.      position:
  74.        x: -0.6
  75.        y: 0.4
  76.  
  77.    creeper-2:
  78.      type: entity
  79.      entity-type: CREEPER
  80.      yaw: 0
  81.      position:
  82.        x: 0.6
  83.        y: 0.4
  84.  
  85.    iron-sword-1:
  86.      type: item
  87.      item-id: IRON_SWORD
  88.      rotation:
  89.        x: -109
  90.        y: 0
  91.        z: 0
  92.      position:
  93.        x: -0.4
  94.        y: 0.25
  95.  
  96.    iron-sword-2:
  97.      type: item
  98.      item-id: IRON_SWORD
  99.      rotation:
  100.        x: 90
  101.        y: 0
  102.        z: 0
  103.      position:
  104.        x: 0.4
  105.        y: 0.35
  106.  
  107.    emerald-item-1:
  108.      type: item
  109.      item-id: EMERALD
  110.      rotation:
  111.        x: 0
  112.        y: 90
  113.        z: 0
  114.      position:
  115.        x: -0.1
  116.        y: 0.3
  117.  
  118.    emerald-item-2:
  119.      type: item
  120.      item-id: EMERALD
  121.      rotation:
  122.        x: 0
  123.        y: 90
  124.        z: 0
  125.      position:
  126.        x: 0
  127.        y: 0.3
  128.  
  129.    emerald-item-3:
  130.      type: item
  131.      item-id: EMERALD
  132.      rotation:
  133.        x: 0
  134.        y: 90
  135.        z: 0
  136.      position:
  137.        x: 0.1
  138.        y: 0.295
  139.  
  140.    iron-sword-3:
  141.      type: item
  142.      item-id: IRON_SWORD
  143.      rotation:
  144.        x: -109
  145.        y: 0
  146.        z: 0
  147.      position:
  148.        x: -0.4
  149.        y: -0.05
  150.  
  151.    iron-sword-4:
  152.      type: item
  153.      item-id: IRON_SWORD
  154.      rotation:
  155.        x: 90
  156.        y: 0
  157.        z: 0
  158.      position:
  159.        x: 0.4
  160.        y: 0.05
  161.  
  162.    emerald-item-4:
  163.      type: item
  164.      item-id: EMERALD
  165.      rotation:
  166.        x: 0
  167.        y: 90
  168.        z: 0
  169.      position:
  170.        x: -0.1
  171.        y: 0
  172.  
  173.    emerald-item-5:
  174.      type: item
  175.      item-id: EMERALD
  176.      rotation:
  177.        x: 0
  178.        y: 90
  179.        z: 0
  180.      position:
  181.        x: 0
  182.        y: 0
  183.  
  184.    emerald-item-6:
  185.      type: item
  186.      item-id: EMERALD
  187.      rotation:
  188.        x: 0
  189.        y: 90
  190.        z: 0
  191.      position:
  192.        x: 0.1
  193.        y: 0
Advertisement
Add Comment
Please, Sign In to add comment