JKMODz

HyperDrive NEW GUI System

Feb 20th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. # This is how you can tell HyperDrive what gui needs to be opened when the /warps command is ran.
  2. # ===================================================================================================
  3. # Note: This does take in a gui id so make sure that a gui exists with this id (Not case sensitive).
  4. # ===================================================================================================
  5. main-gui-id: "main-gui"
  6.  
  7. # Here is where you can either modify existing pre-built guis or you can create your own!
  8. custom-guis:
  9. # This is the gui's id. Anything that uses HyperDrive's gui system will ask you for this id to grab specific guis.
  10. # Note: Make sure each gui has a different title or all similar guis will act as the same gui (THIS IS IMPORTANT).
  11. main-gui:
  12. # If the "use-warp-listing" option is enabled for this gui the page number will be automatically added to the end of the title.
  13. title: "&cWarp Menu"
  14. # Must be divisible by 9 and less than or equal to 54.
  15. size: 27
  16. # Should this gui have pages that display curtain warps.
  17. use-warp-listing: false
  18. # Here is where you can customize the warps that are displayed and other similar things.
  19. warp-listing:
  20. # How many warps can be displayed per page in this gui? (I recommend not going above the amount of slots you define below)
  21. warps-per-page: 18
  22. # These are the slots in the gui where the warps can be displayed.
  23. # Note: This can be be a list like you will see in other portions of the plugin (Using it this way has a more compact look though).
  24. warp-slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
  25. # These are the types of warps that will be loaded in this gui.
  26. # Available Options: [OWNED, PUBLIC, PRIVATE, SERVER, SHOP]
  27. warp-type: "OWNED"
  28. # This is pretty self-explanatory you can fill all empty slots in the gui with a custom item you define below.
  29. use-background-items: true
  30. background-item:
  31. material: "STAINED_GLASS_PANE"
  32. durability: 15
  33. amount: 1
  34. glow: false
  35. display-name: "&6"
  36. lore: []
  37. # Here is where you can customize, add, or even remove buttons/items.
  38. # =================================================================================================================================================
  39. # Note: Make sure that all custom items here have a some type of difference whether it is the display names that are different or even the material
  40. # otherwise the similar buttons/items will act as the same button/item (THIS IS IMPORTANT).
  41. # =================================================================================================================================================
  42. custom-items:
  43. # This is the item's id. Anything that uses HyperDrive's gui system will ask you for this id to grab specific guis.
  44. public-warps:
  45. # This is the slot in the inventory where you want the item placed.
  46. slot: 13
  47. # What action should be performed when this item/button is clicked?
  48. # Available Options: [OPEN_GUI, NEXT_PAGE, PREVIOUS_PAGE, RUN_COMMANDS, SHOP]
  49. click-action: "OPEN_GUI"
  50. # This is only used if the click-action requires a value to perform it's task.
  51. # =================================================================================================================
  52. # Note: If you use the "RUN_COMMANDS" option you may separate commands with a semi-colon (;) for multiple commands.
  53. # =================================================================================================================
  54. click-action-value: ""
  55. # This is where you can make the button/item charge the player a specific ammount of currency (Economy must be enabled).
  56. click-charge: 0.0
  57. # This is the permission the player must have in order to use this button/item (Set to "" to disable).
  58. click-permission: "hyperdrive.publicwarps"
  59. material: "EMERALD_BLOCK"
  60. durability: 0
  61. amount: 1
  62. glow: false
  63. display-name: "&e&nPublic Warps"
  64. lore:
  65. - ""
  66. - "&7Opens the &ePublic Warps &7gui where you can view"
  67. - "&7all publicly available warps."
  68. - ""
  69. - "&aClick to open &ePublic Warps"
  70. - ""
  71. # From this point on there will be no more comments since the format is explained above.
  72. private-warps:
  73. slot: 14
  74. click-action: "OPEN_GUI"
  75. click-action-value: ""
  76. click-charge: 0.0
  77. click-permission: "hyperdrive.publicwarps"
  78. material: "EMERALD_BLOCK"
  79. durability: 0
  80. amount: 1
  81. glow: false
  82. display-name: "&e&nPublic Warps"
  83. lore:
  84. - ""
  85. - "&7Opens the &ePublic Warps &7gui where you can view"
  86. - "&7all publicly available warps."
  87. - ""
  88. - "&aClick to open &ePublic Warps"
  89. - ""
Advertisement
Add Comment
Please, Sign In to add comment