inventory

  • 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 community!

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

  1. C

    Inventory Saving

    Hi, I'm making this Backpack skript and it all works, I just have one problem, when the server restarts, the inventory clears whatever the player had previously put in it, could someone please help? options: command_backpack_no_permission_message: &f| &cInsufficient Permissions...
  2. O

    Solved Cancel event for Zombie picking up dropped items

    Hello! This one has been stumping me for 2 days... I need to make a zombie with a specific name NOT able to pick up items. This works no problem for players, but for Zombies and other entities it does nothing. on entity pickup: event-entity is a zombie # Also tried... entity is a zombie...
  3. L

    Tracking whether player open their own inventory

    I don't know how to check when player open there own inventory, like pressing key "E" (default key in Minecraft). I have tested with on inventory open event but this not work with player's inventory. Anyone know please help me.
  4. L

    Get number of custom item in inventory

    I don't know how to get the number of custom item in player inventory and save to variable, please help me.
  5. Kaff

    Crafted item slot in the inventory?

    I want to make a custom item displayed in the slot of the craft station in the player inventory. What is the id of that slot?
  6. F

    Solved Setting the number in item's lore as a variable

    Hey everyone! I need your help about two problems. I am trying to make a money bag skript. Basically, when player right clicks with a book, I want an inventory to open with the number of gold nuggets according to the item's lore. Check the code you will get what I mean. on right click with book...
  7. F

    Detecting the cause of "on inventory close:"

    Is there a condition that distinguishes whether the player closed the menu by pressing 'E'/'Esc' or if it was closed via the "close player's inventory" effect? I need a condition like: on inventory close: if event-inventory is closed by player: #do stuff else: #do stuff
  8. F

    Solved Renaming a stack according to its amount

    Hi everyone! I was wondering if it is possible to rename an item according to its amount. For example, when a player has a stack of diamonds, I want its name to be "64 Diamonds". And when the number is updated, (for example when player drops it) I want its name to be "63 Diamonds" automatically...
  9. eyzk

    Script SIMPLE BACKPACKS v1.0 2.2-dev34+

    SIMPLE BACKPACKS v1.0 Simple, customizable backpacks in just 10 lines (when compressed)! Compressed? Remove all notes, options, line breaks, and permissions for 10-lines of backpacking beauty! Download the file above, or copy the code from below. # SIMPLE BACKPACKS v1.0 # Please do not delete...
  10. D

    Solved solved

    solved
  11. G

    inventory change

    is there a way I can stop people from moving an item from their inventory into a chest/echest/shulker/barrel I tried this on inventory change: if item is example item: cancel event but that didn't work and I checked in the parser and it said it wouldn't work I tried several other things...
  12. M

    Help with: if all items in player's inventory

    How i can do skript like this: if all items in player's inventory where [name of input is "&9Ball", amount is "11"] is set: Or something else with it: if all items in player's inventory where [name of input is "&9Ball"] is set:
  13. AsuDev

    Skript Chest Inventory Serialization (SkBee)

    This is a little tutorial on how to serialize chest inventories and items using SkBee. Main serialization function function serializeInventoryContents(inv: inventory) :: objects: loop (rows of {_inv})*9 times: set {_i} to slot (loop-value - 1) of {_inv} set...
  14. T

    Anvil renaming does not work on virtual inventory

    Script Version: 2.6.3 Minecraft Version: 1.19 Code: open anvil inventory to player
  15. sluhtie

    Custom Model Data GUI

    Hey, I'm looking for a way to create gui with custom model data to the player. Is that somehow possible?
  16. C

    Endersee skript

    I want an endersee skript /endersee
  17. Hiddencode

    I have a question with enchanted books (I pay whoever helps solve it)

    Hi Skunity Guys, I've been trying to solve a problem with enchanted books for a long time, and I'm willing to pay whoever gets the hang of it. I'm doing a gui to enchant objects but I can't make the script detect if the player has a sharpness book in their inventory and then remove it and apply...
  18. Z

    Solved Set inventory slot for specific item only?

    Hello! Is it possible to set slot in player's inventory to only one item? For an example: Slot 9 of player's inventory is locked, and you can't put any items in it, except stone. So the slot would be locked for every other item than stone. I've been trying to figure this out for hours. Can...
  19. O

    Help with shulker boxes

    I was checking if there was a way to check the items inside a shulker box inside a player's inventory maybe using like NBT or something along those lines. If you don't know, then that's fine, thanks anyways.
  20. Shadow Klassic

    inventory crafting grid slot set item?

    How do i set the inventory crafting grid of a player set to specific items?