inventory click

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

  1. K

    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?
  2. xsamit

    I need help clicking on a slot in my inventory and using a command to open the gui.

    I want it pressed in the crafting field. which now works But when I press these It also uses open gui command. I don't know how to fix the problem please help me. And in creative mode inventory, I can't move items anywhere. on inventory click: if clicked slot = 1 : player...
  3. ctrlcheeb

    Cancel event in main inventory (Can't move items)

    Hi, I was just making a quick skript that opens a gui for a player where they can place an item and the skript checks to see if it's correct. However I was trying to make it so that the player is unable to move things around in the chest inventory that opens for the player but can still move...
  4. N

    Trouble making gui, duplicate items.

    Script Version: 2.5.3 Script Author: Nutrition35 Minecraft Version: 1.16.5 Full Code: on right click on enchantment table: cancel event if player's held item is sword: wait 1 tick set {Enchitem::%player%} to player's held item remove {Enchitem::%player%} from...
  5. J

    Help with Inventory Click

    Hello, i have a Problem with TuSKe and the inventory click event. If i click right click, left click, drop it works with no problem. But the shift right and shift left won't work. I checked it with message "%clicked type%" and it doesn't show me anything if i shift click..What is the error? Can...
  6. H

    Solved Drag and drop

    Category: Custom enchants Suggested name: Drag and drop enchantments Spigot/Skript Version: 2.4-beta7 What I want: Drop an book from player's inventory on to a tool and add the name of the book to the lore of the tool
  7. A

    Click Event on an item with another item

    how to write the code for when you click on a item with an other item? like put a book on a sword and the enchant it... please help
  8. RiCkYB_667

    loop-number problem in inventory item command variable

    Hi! I have an issue which i am not seem to be able to resolve by myself. I am filling a virtual inventory using a loop to create a slot selection GUI. The loop-value fills the slot name just fine, but the linked command to all slots always ends up using the latest loop-value (in my case 20) no...
  9. cheatchki

    Take click inventory priority

    So I am using a plugin called CrazyEnchantments, and one of their features is how they enchant the items with their enchantments. They use a click event in game, so when you drag and drop an enchantment onto a tool, piece of armor, etc.. it has a chance to apply it to the item. This is fantastic...