Kloudy

main-page.yml

May 10th, 2016
144,806
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.30 KB | None | 0 0
  1. main-page:
  2.   open-with-item-id: DIAMOND_SWORD         #Opens the GUI if the player left clicks while holding the specified item. 1.8 and 1.9 Material Types are listed on the plugin page
  3.   open-on-login: true
  4.   close-on-player-move: false
  5.   close-on-player-item-switch: false
  6.   components:
  7.     stone-hoe:
  8.       type: item
  9.       item-id: STONE_HOE
  10.       rotation:
  11.         x: 22
  12.         y: 180
  13.         z: 0
  14.       position:
  15.         x: -0.16
  16.         y: -0.3
  17.  
  18.     wheat:
  19.       type: item
  20.       item-id: WHEAT
  21.       rotation:
  22.         x: 0
  23.         y: 90
  24.         z: 0
  25.       position:
  26.         x: -0.31
  27.         y: -0.35
  28.  
  29.     diamond-block:
  30.       type: item
  31.       item-id: DIAMOND_BLOCK
  32.       rotation:
  33.         x: 0
  34.         y: 0
  35.         z: 0
  36.       position:
  37.         x: 0.22
  38.         y: -0.15
  39.  
  40.     gamemode-toggle-btn:
  41.       type: toggle-switch
  42.       label: "&lGamemode: &4&l%gamemode-toggle-btn_value%"
  43.       always-show-label: true
  44.       default-value: false                             #Specify true|false to set the default value the toggle switch starts with
  45.       icon-on: default-toggle-on.png
  46.       on-value: Creative                               #Assign a value that this toggle switch will have when in the 'on' state. The current value of the toggleswitch can be accessed with placeholder %component-id_value%
  47.       onclick-on: gamemode 1 %player_name%             #Command to run when the toggle button gets toggled to 'true'
  48.       execute-onclick-on-as-console: true
  49.       icon-off: default-toggle-off.png
  50.       off-value: Survival                              #Assign a value that this toggle switch will have when in the 'off' state. The current value of the toggleswitch can be accessed with placeholder %component-id_value%
  51.       onclick-off: gamemode 0 %player_name%            #Command to run when the toggle button gets toggled to 'false'
  52.       execute-onclick-off-as-console: true
  53.       onclick-sound: UI_BUTTON_CLICK
  54.       position:
  55.         x: 0
  56.         y: -0.25
  57.  
  58.     sword-item:
  59.       type: item
  60.       item-id: DIAMOND_SWORD
  61.       position:
  62.         x: -0.4
  63.         y: 0.7
  64.       rotation: #degrees to rotate the speicifed axis
  65.         x: 45
  66.         y: -180
  67.         z: 0
  68.  
  69.     sword-item2:
  70.       type: item
  71.       item-id: DIAMOND_SWORD
  72.       position:
  73.         x: 0.4
  74.         y: 0.7
  75.       rotation: #degrees to rotate the speicifed axis
  76.         x: 45
  77.         y: 0
  78.         z: 0
  79.  
  80.     pastebin-link:
  81.       type: item
  82.       execute-command-as-console: true
  83.       onclick: "tellraw %player_name% {\"text\":\"\",\"extra\":[{\"text\":\"Click Here: \",\"color\":\"bold\"},{\"text\":\"Hub Menu Config on Pastebin\",\"color\":\"underline\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://pastebin.com/RLJ3bNVy\"}}]}"
  84.       item-id: NETHER_STAR
  85.       label: Hub Menu Config
  86.       label-distance: 10.0                               #How many blocks away the label for this component will be. Default(Button: 15, Item: 6, Entity: 8, Label: 10)
  87.       onclick-sound: UI_BUTTON_CLICK                     #1.8 and 1.9 Sounds are listed on the plugin page
  88.       position:
  89.         x: -0.6
  90.         y: 0.1
  91.       rotation:
  92.         x: 0
  93.         y: 90
  94.         z: 0
  95.  
  96.     server-logo:
  97.       type: image
  98.       image-src: server-logo.png
  99.       width: 25
  100.       height: 25
  101.       symmetrical: true
  102.       position:
  103.         x: 0
  104.         y: 1
  105.  
  106.     welcome-scroll:
  107.       type: label
  108.       label-distance: 6
  109.       text:
  110.        - "%scroll%   &f&lWelcome %player_name% to &b&lAntarescraft&f&l!  "
  111.       position:
  112.         x: 0
  113.         y: 0.35
  114.  
  115.     towny-btn:
  116.       type: button
  117.       symmetrical: true
  118.       onclick-sound: ITEM_HOE_TILL
  119.       onclick-sound-volume: 0.6
  120.       position:
  121.         x: 0          
  122.         y: 0.3
  123.       icon: home.gif      
  124.       label: Towny                                  #Captions text is displayed when the player hovers over the button
  125.       onclick: hg open towny-page                        #Specify the command to run when the player clicks the button
  126.  
  127.     mcmmo-state-btn:
  128.       type: button
  129.       onclick-sound: ENTITY_ITEM_BREAK
  130.       symmetrical: true
  131.       position:
  132.         x: -0.55          
  133.         y: -0.1
  134.       icon: trophy.gif                
  135.       label: MCMMO Stats
  136.       onclick: hg open mcmmo-stats-page
  137.  
  138.     server-list-btn:
  139.       type: button
  140.       onclick-sound: ENTITY_EXPERIENCE_ORB_PICKUP
  141.       symmetrical: true
  142.       position:
  143.         x: 0.55        
  144.         y: -0.1
  145.       icon: globe.gif          
  146.       label: Server List
  147.       onclick: hg open server-list-page
  148.  
  149.     book-item-btn:
  150.       type: item
  151.       item-id: WRITTEN_BOOK
  152.       onclick-sound: ENTITY_ITEM_PICKUP
  153.       position:
  154.         x: 0.5
  155.         y: 0.1
  156.       rotation:
  157.         x: 0
  158.         y: 90
  159.         z: 0
  160.       label: Rulebook
  161.       label-distance: 10.0
  162.       execute-command-as-console: true
  163.       onclick: "tellraw %player_name% {\"text\":\"\",\"extra\":[{\"text\":\"\",\"color\":\"bold\"},{\"text\":\"Rule 1: Enjoy HoloGUI!\",\"color\":\"underline\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"\"}}]}"
  164.  
  165.     close-btn:
  166.       type: button
  167.       mini: true
  168.       onclick-sound: UI_BUTTON_CLICK
  169.       position:
  170.         x: 0.8
  171.         y: 0.6
  172.       label: Close Menu
  173.       symmetrical: true
  174.       icon: x-red.gif
  175.       onclick: hg close
Advertisement
Add Comment
Please, Sign In to add comment