Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is how you can tell HyperDrive what gui needs to be opened when the /warps command is ran.
- # ===================================================================================================
- # Note: This does take in a gui id so make sure that a gui exists with this id (Not case sensitive).
- # ===================================================================================================
- main-gui-id: "main-gui"
- # Here is where you can either modify existing pre-built guis or you can create your own!
- custom-guis:
- # This is the gui's id. Anything that uses HyperDrive's gui system will ask you for this id to grab specific guis.
- # Note: Make sure each gui has a different title or all similar guis will act as the same gui (THIS IS IMPORTANT).
- main-gui:
- # If the "use-warp-listing" option is enabled for this gui the page number will be automatically added to the end of the title.
- title: "&cWarp Menu"
- # Must be divisible by 9 and less than or equal to 54.
- size: 27
- # Should this gui have pages that display curtain warps.
- use-warp-listing: false
- # Here is where you can customize the warps that are displayed and other similar things.
- warp-listing:
- # How many warps can be displayed per page in this gui? (I recommend not going above the amount of slots you define below)
- warps-per-page: 18
- # These are the slots in the gui where the warps can be displayed.
- # 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).
- warp-slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
- # These are the types of warps that will be loaded in this gui.
- # Available Options: [OWNED, PUBLIC, PRIVATE, SERVER, SHOP]
- warp-type: "OWNED"
- # This is pretty self-explanatory you can fill all empty slots in the gui with a custom item you define below.
- use-background-items: true
- background-item:
- material: "STAINED_GLASS_PANE"
- durability: 15
- amount: 1
- glow: false
- display-name: "&6"
- lore: []
- # Here is where you can customize, add, or even remove buttons/items.
- # =================================================================================================================================================
- # 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
- # otherwise the similar buttons/items will act as the same button/item (THIS IS IMPORTANT).
- # =================================================================================================================================================
- custom-items:
- # This is the item's id. Anything that uses HyperDrive's gui system will ask you for this id to grab specific guis.
- public-warps:
- # This is the slot in the inventory where you want the item placed.
- slot: 13
- # What action should be performed when this item/button is clicked?
- # Available Options: [OPEN_GUI, NEXT_PAGE, PREVIOUS_PAGE, RUN_COMMANDS, SHOP]
- click-action: "OPEN_GUI"
- # This is only used if the click-action requires a value to perform it's task.
- # =================================================================================================================
- # Note: If you use the "RUN_COMMANDS" option you may separate commands with a semi-colon (;) for multiple commands.
- # =================================================================================================================
- click-action-value: ""
- # This is where you can make the button/item charge the player a specific ammount of currency (Economy must be enabled).
- click-charge: 0.0
- # This is the permission the player must have in order to use this button/item (Set to "" to disable).
- click-permission: "hyperdrive.publicwarps"
- material: "EMERALD_BLOCK"
- durability: 0
- amount: 1
- glow: false
- display-name: "&e&nPublic Warps"
- lore:
- - ""
- - "&7Opens the &ePublic Warps &7gui where you can view"
- - "&7all publicly available warps."
- - ""
- - "&aClick to open &ePublic Warps"
- - ""
- # From this point on there will be no more comments since the format is explained above.
- private-warps:
- slot: 14
- click-action: "OPEN_GUI"
- click-action-value: ""
- click-charge: 0.0
- click-permission: "hyperdrive.publicwarps"
- material: "EMERALD_BLOCK"
- durability: 0
- amount: 1
- glow: false
- display-name: "&e&nPublic Warps"
- lore:
- - ""
- - "&7Opens the &ePublic Warps &7gui where you can view"
- - "&7all publicly available warps."
- - ""
- - "&aClick to open &ePublic Warps"
- - ""
Advertisement
Add Comment
Please, Sign In to add comment