SkBackpack - ✅ Compatible with ItemsAdder/Oraxen ✅ Customizable ✅ Try it now ! :)

API SkBackpack - ✅ Compatible with ItemsAdder/Oraxen ✅ Customizable ✅ Try it now ! :) 1.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Skript Version
  1. 2.8
Supported Minecraft Versions
  1. 1.20
SkBackpack.png



The most comprehensive and unique backpack Skript!

Addons required: skript-reflect, SkBee, skript-yaml




Features (1).png


☛ Easy to use

☛ Compatible with ItemsAdder and Oraxen
(you can define custom-model-data)
☛ Custom backpack size and permissions
You can protect backpacks from other players
☛ You can define the items allowed to be stored

☛ API and config.yml

YAML:
no-permission-message: "&cYou don't have the required permission to open this backpack!"
not-owner-message: "&cYou are not the owner of this backpack!"

items:
  small_backpack:
    type: PLAYER_HEAD
    skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDBiMWI1MzY3NDkxODM5MWEwN2E5ZDAwNTgyYzA1OGY5MjgwYmM1MjZhNzE2Yzc5NmVlNWVhYjRiZTEwYTc2MCJ9fX0=
    name: "&aSmall backpack"
    lore:
      - ""
      - "&fA small backpack."
    rows: 1
    permission: small.backpack
    only-usable-by-owner: true
  farming_sack:
    type: PLAYER_HEAD
    skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmFiODc5ZTFlNTkwMDQxMTQ2YmM3OGMwMThhZjU4NzdkMzllNTQ3NWViN2RiMzY4ZmNhZjJhY2RhMzczODMzZCJ9fX0=
    name: "&aFarming backpack"
    lore:
      - ""
      - "&fCan hold all farming resources!"
    rows: 6
    permission: farming.sack
    only-usable-by-owner: true
    #You can only put farming materials in this backpack
    can-stock:
      by-type:
        - "WHEAT"
        - "CARROT"
        - "POTATO"
        - "BEETROOT"
        - "SUGAR_CANE"
        - "NETHER_WART"
  powder_sack:
    type: PLAYER_HEAD
    skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWZjM2I1ZGI5YmQ5OWNkMTIxNjFlZDJlYTQ2MjM3OTVmMjhlNzkzYzZkYWI2N2NkM2U4MDNjY2ZhYWFkN2NmZCJ9fX0=
    name: "&aPowder backpack"
    lore:
      - ""
      - "&fCan hold any powders!"
    rows: 1
    permission: farming.sack
    only-usable-by-owner: true
    #You can only put farming materials in this backpack
    can-stock:
      by-type:
        #All items with 'POWDER' in their raw name can be stored (BLAZE_POWDER, GUNPOWDER..)
        - "*POWDER"
  gemstone_sack:
    type: PLAYER_HEAD
    skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBkMTU1ODM4MDQwMTQxYWIxNDFmOWE5OWY0YWQ5YTczZjFkMmIxZmU3YmM0NmJhY2M0MTQzMTUxZDUwNmUwNyJ9fX0=
    name: "&eGemstone sack"
    lore:
      - ""
      - "&fA very special sack."
    rows: 1
    permission: farming.sack
    only-usable-by-owner: true
    #You can only put farming materials in this backpack
    can-stock:
      by-tag:
        #Only items with 'IS-GEMSTONE' tag with value 'yes' in their nbt can be stored
        - "IS-GEMSTONE=yes" #Checks if IS-GEMSTONE is equal to yes (string)
        - "GEMSTONE_LEVEL=3" #Checks if GEMSTONE_LEVEL is equal to 3 (integer)
  pineapple_sack:
    type: PLAYER_HEAD
    skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWI1N2ZjMDQwYTlhNjQ5ZmUyNDc4OTZiMDFmM2VkOTFiZTZiNzdiNzM2OWNjMjI5ODQzYWY0ODNkZmEyODlmNCJ9fX0=
    name: "&6Pineapple sack"
    lore:
      - ""
      - "&fIn case you have pineapples..."
    rows: 1
    permission: farming.sack
    only-usable-by-owner: true
    #You can only put farming materials in this backpack
    can-stock:
      by-name:
        - "&aPineapple" #Checks if the item is named &aPineapple
        #You can use * to check only a part of a name, just like with by-type.
  data_test:
    type: IRON_INGOT
    custom-model-data: 1
    name: "&dCool looking sack"
    lore:
      - ""
      - "&fThanks to custom-model-data you"
      - "&fcan use an item from Oraxen or"
      - "&fItemsAdder !"
    permission: data.test
    only-usable-by-owner: true

Code:
SkBackPackGet(backpack)
    Example: give SkBackPackGet("small_backpack") to player
Author
Palgia
Downloads
81
Views
260
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Palgia