accept

Displays a inventory of the players that have required to be your friend.

Example
accept:
    name: "accept"
    enabled: true
    error: "{error_colour}Error occurred when opening inventory."
    requests_off: "{error_colour}This player has there friend requests off."
    already_requested: "{error_colour}You have already requested to be friends with this player."
    # Placeholders will parse in terms of the player that sent the request.
    # Message is sent to the friend accepter.
    from: "{message} You are now friends with &f<player>"
    # Placeholders will parse in terms of the player that accepted the friend request.
    # Message is sent to the requester.
    sent: "{message} You are now friends with &f<player>"
    accept_sound: "none"
    # %name% : Formatted name of the player that is requesting.
    player:
      skull: "%name%"
      name: "&6&l%name%"
      lore:
        - "&7Click to open request options."
    no_player:
      material: LIGHT_GRAY_STAINED_GLASS_PANE
    # The inventory displaying the friend requests list.
    inventory:
      size: GENERIC_9X6
      title: "&8&lFriend Requests"
      content:
        "top,bottom":
          material: LIME_STAINED_GLASS_PANE
        "row1,row2,row3,row4":
          function:
            type: "player"
        "45":
          function:
            type: "last_page"
            always_show: false
          material: YELLOW_STAINED_GLASS_PANE
          name: "&a&lLast Page"
          lore:
            - "&7Click to go back a page"
        "53":
          function:
            type: "next_page"
            always_show: false
          material: YELLOW_STAINED_GLASS_PANE
          name: "&a&lNext Page"
          lore:
            - "&7Click to go to the next page"
    options:
      size: GENERIC_9X3
      title: "&8&lFriend Request"
      content:
        "0-2,9-11,18-20":
          function:
            type: "deny"
          material: RED_STAINED_GLASS_PANE
          name: "&c&lDeny"
          lore:
            - "&7Anonymously remove this player"
            - "&7from your requests."
        "6-8,15-17,24-26":
          function:
            type: "accept"
          material: LIME_STAINED_GLASS_PANE
          name: "&a&lAccept"
          lore:
            - "Click to &aaccept &7friend request."

Last updated