Pages » Sunlight » Modules » Kits


Commands

Command Aliases Description Player only Permission(s)
/kit (kit)
/kit [kit] [player]
/kit editor
/kits Get specified kit.
Give specified kit to a player.
Open kit editor.
Yes
No
Yes
sunlight.kits.cmd.kit
sunlight.kits.cmd.kit.others
sunlight.kits.cmd.kit.editor


Permissions

Permission Description
sunlight.kits.kit.[id] Allows to use kit with specified id.
sunlight.kits.bypass.cost Bypasses kit cost.
sunlight.kits.bypass.cooldown Bypasses kit cooldown.

Config

gui:
  # GUI displays all plugin kits.
  list:
    # When false this gui will be disabled and kit list will be shown in chat.
    enabled: true
    
    # GUI Title.
    title: '&lServer Kits'
    # GUI Size.
    size: 27
    # Kit icon format.
    kit:
      # Placeholders:
      # - %lore% - Lore of the original kit icon.
      # - %cost% - Kit cost.
      # - %access% - If player has access to this kit (Yes/No).
      # - %cd% - Kit cooldown.
      # - %cd_left% - Current player kit cooldown.
      # - %id% - Internal kit id.
      lore:
      - '%lore%'
      - ''
      - '&6Cost: &e%cost%'
      - '&6Access: &e%access%'
      - '&6Cooldown: &e%cd%'
      - '&6On cooldown: &e%cd_left%'
      - ''
      - '&e&lLeft Click: &6&lTake Kit'
      - '&e&lRight Click: &6&lPreview'
      # Defines the kit positions in GUI.
      slots: 10,11,12,13,14,15,16
    
    # Your other custom items.
    content:
      filler-black:
        material: ORANGE_STAINED_GLASS_PANE
        name: ''
        lore: []
        slots: 2,3,4,5,6,20,21,23,24
      filler-blue:
        material: YELLOW_STAINED_GLASS_PANE
        name: ''
        lore: []
        slots: 0,1,7,8,9,17,18,19,25,26
      exit:
        material: REDSTONE
        name: '&c&lExit'
        lore: []
        slots: 22
        type: EXIT
  
  # GUI for kit preview.
  preview:
    title: '&lKit Preview'
    size: 54
    
    # Defines the slots for kit items and armor in GUI.
    item-slots: 18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53
    armor-slots: 5,4,3,2
    
    # Your other custom items.
    content:
      filler:
        material: BLACK_STAINED_GLASS_PANE
        name: ''
        lore: []
        slots: 0,8,9,10,11,12,14,15,16,17
      sign-1:
        material: SIGN
        name: '&e&lArmor ->'
        lore: []
        slots: 1
      sign-2:
        material: SIGN
        name: '&e&l<- Off Hand'
        lore: []
        slots: 7
      backs:
        material: REDSTONE
        name: '&c&lReturn'
        lore: []
        slots: 13
        type: RETURN


Information
Empty Block

18+