item

  • 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. L

    How to read a list from an external file

    I understand how to read from an external file, but i am trying to read from a list of items/blocks, but I can't quite get how to do that. And what I mean is like: ``` on pickup: if item is {antyhing from common_items.txt}: set the 1st line of the item's lore to "&f&lCOMMON" ``` Because...
  2. K

    every item not work in item arg

    Hello! In this code, I can give to me diamond but not diamond block or netherite block. Can you help me? command /givet <item> <number>: trigger: set {_ItemVariable} to arg 1 set {_num} to arg 2 set {_invcheck} to 0 set {_found} to false...
  3. FistoF

    Rename mob's tool

    Is there a way to change the name of a naturally spawned mob's weapon? I'm needing this so I can use it along with OptiFine's item name-based texture feature. E: I'm going to try: set main hand tool of last spawned pillager to crossbow named "Rifle"
  4. Shadow Klassic

    Shield/Ender Pearl Cooldown on Custom Items

    Heyup guys! So how can i make an animation played like an enderpearl when executed played on any item. Skript mirror and that packet addon is present in my plugins folder! i am aware there are ways to do it with java plugins and protocol lib but is there a way to integrate it through skript...
  5. G

    Remove item that is used to click on TuSKe GUI item.

    When somebody clicks on an item in a TuSKe GUI I want that item to be deleted and I would like for somebody to point me in the right direction! I want the player to drag an item into an anvil and that item that was dragged into the anvil to vanish while it gives you a new, better item. My code...
  6. G

    item holding detection

    im trying to make a system where when you hold a specific item, you gain a specific amount of mana, then when you go to a different hotbar slot, the extra mana goes away. on hotbar switch: loop all entities: loop-entity is holding blaze rod named "&6magic stick" with lore "&6wow...
  7. D

    Solved Put several items in a certain slot?

    Hey, i am currently working on a KnockIT script for my Minecraft Server, but now I have a problem: How can I use the line (set slot 1 of player to barrier named "&cWait...") to put multiple items into the slot of a player?
  8. G

    Making zombie(or else) swing the item

    I want to make zombie swing the item. I mean, making mob able to use right-click. I search several hours but I can't found the answer. Is there a way to make my plan be realized?
  9. D4isDAVID

    Script ChatItem 1.9.1

    ChatItem is a script that allows you to display your items in the chat. Just type [hand] or any other keyword in the chat and your items will be displayed. This was originally a port of ItemToChat. Features Customizable Supports multiple keywords Works with any chat format Supports multiple...
  10. Very Cool Bee

    Checking items in brewing stand

    Hello! How can I check the item player puts into a brewing stand? I want to prevent people from putting fermented spider eye into a brewing stand. Thanks :wrong:
  11. S

    Manage items of chest

    I give up! I don't know how to manage items from a chest: I want to remove a certain amount of items from one chest and add another items to another chest. {factories::%loop-index%::input} => This is a chest block {factories::%loop-index%::input::item} => This is an item #Add 10 of item to...
  12. R

    Itembomb

    Suggested name: Item Bomb Spigot/Skript Version: Spigot 1.8.8 Skript 2.1.2 What I want: I want a Skript that drops items at a player but you cant pick them up and instead it gives the player the same items.to his inventory. So the items only drop at the player to make it look cool. There should...
  13. S

    A generator script

    Category: Generator Suggested name: gen.sk Spigot/Skript Version: latest 2020/3/27 What I want: A script that makes so when you place a Dirt block named (Common Generator) it says in chat: "You have placed a Generator" and every 3s it spawns a paper with the named 1$. When you break the dirt...
  14. NotNinjaTalon

    Limit the uses of an item (Sellwand)

    Hello, I'm currently making a skyblock server, anyways I've been trying to skript sellwands. I'm wanting various ones limited to a certain amount of uses, at the moment I've only got an infinite one. How could I make this limited to around 100 uses etc. Hope one of you guys can help me out...
  15. sluhtie

    Can‘t remove custom named items from inventory

    Hey, I’m trying to remove a custom named pickaxe from a player’s inventory but this: remove 1 diamond pickaxe named “&5Test” from player’s inventory Does not work for me :( No errors, it just does not remove the item. And I have to do it like so because I can’t use delete player’s held item...
  16. Nikox

    Check if item has name

    Hi! Can I check if item has name? I have recently found out that Skript doesn't remove named items. It can be very abusable, for example: command /gold: trigger: if player has 9 gold ingot: remove 9 gold ingot from player's inventory give player 1 gold block...
  17. LeStegii

    Vanilla Item Name

    Hey, im currently creating a custom enchantments Script without using Tuske and i'm having a problem. The problem is, that the tool doesn't have a name/display name, so it will be called "<none>". Is there any way i can fix this without manually checking the item and setting a name for it?
  18. M

    Help meeeee :(

    "/mobspawn add" command to add a monster sponge, there are mobs there. When all the mobs are dead, the mob must come out after the set time. However, if you kill with the rpgitem or magic spell skill instead of the default item, you will get an error that the mobs do not spawn. If you need...
  19. K

    please tell me how to drop items to specific coordinates to get new items

    please help me, I appreciate it if you write in detail
  20. TPGamesNL

    Solved Spawning non-moving items

    Category: Dropped items Suggested name: Not needed What I want: I want a function (or just the code) that spawns a item entity, without moving the item entity. I tried it myself with a few methods, but when I use the drop effect and after that teleporting it back to the original location...