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. erenkara

    Script ItemForge 1.0.0

    Item forge lets you easily create custom items in a YML file! Requires skript-reflect and SkBee! View Code Usage Create a .yml file inside plugins/Skript/scripts/ItemForge, the name doesn't matter and can be used to group your items. The root key will always be the ID of your item, the ID is...
  2. HeliumBoi

    How to drop enchanted item ?

    So i have this code and it has error, it doesnt drop the item with given enchant protection 1. and I want the enchant to be hidden too but lmk if you guys know how to do that. on death of zombie: set {_randomvalue} to random number between 1 and 10 set {_deathvalue} to victim's...
  3. I

    Solved How can you give a player a custom splash potion with skript?

    im trying to create a skript that gives you a splash potion of instant healing, but each time i try it doesnt work, heres the skript give splash potion of instant healing with all flags hidden named "&7ʜᴇᴀʟɪɴɢ ᴘᴏᴛɪᴏɴ &6ᴄᴏɴsᴜᴍᴀʙʟᴇ <##F200FF>ᴍᴇᴅɪᴄ" with lore "&9ɪɴsᴛᴀɴᴛ ʜᴇᴀʟɪɴɢ <##7273FF>2" to...
  4. 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...
  5. TryhardTree

    Script Item Database 1.1

    This script allows you to save, give and use your saved items! REQUIREMENTS: Skript Commands: /database, /dtb - /database info ; Sends you a message with all informations about every Database command (This message)! - /database add <id> ; Adds your hand item to the database with the ID of...
  6. N

    compare 2 items while ignoring durability?

    im trying to compare 2 items and not compare their durabilty while doing so e.g: if {item::1} is {item::2}: send "same item!" to player however for example, if 1 of them is full durability and 1 is even slightly damaged they dont count as the same, if there is any way of avoiding this...
  7. O

    anvil inventory item

    hello, I wanted to make a skript in which if I clicked with an object on an event block an anvil gui opened for me in which there was a piece of paper inside, but I can't do it. this is the skript: on rightclick on black glazed terracotta: if player's tool is a book named "&fCarta...
  8. A

    how to add a item with a custom texture

    Hello, we are making a job skript. but on gui, i wanna show a item which is with a custom texture. there is the code; create a gui with virtual chest inventory with 6 rows named ("&8⚒ Demircilik"): make gui slot 0 with (stone sword with lore "", "&f- 2 Kırıktaş", "&f- 1 Çubuk"...
  9. N

    Item with lives help

    I wanna make an item with lives that if item lives is not less than 1 it wont drop the item on player's death but if item lives is 0 it will break/drop the item. Can someone help me with this? Thank you in advance! https://pastebin.com/SFhFfHrQ
  10. S

    item define skript

    Skript Version: 2.6 Game Version: 1.17.1 Addons: none Full code (Example): command /sell: trigger: if player's tool is "raw mutton" or "black wool": send "Complete" else: send "Fail" Problem: When i have 1 raw mutton on my hand, it completes but, When i have multipe (e.g. 2)...
  11. bajinzin

    Solved Help item to chat

    https://gyazo.com/2b76d4f08c3817773e6eb916d0aa838b #------------------ # ChatItem # - Version 1.7.1 # - Created by D4isDAVID #------------------ # Dependencies: # - Minecraft 1.9+ # - Skript 2.5.3+ # - SkBee 1.10.1+ #------------------ # Config options: # itemName - how the item name will...
  12. KingDooms

    Solved Removing NBTs from Items

    So, im trying to remove NBTs from items, i tried looking for help and someone said to put "remove {NBT} from player's held item" but that didn't work... Any help? Oh and by the way I have SkBee on me. remove...
  13. J

    Ender chest item limit

    Hello!! I was wondering if someone could help me with a short skript!! Objective: Allow a max of 1 shulker box of any color in the players ender chest, if they try to add more, it cancels the event For MC Version: 1.16.5 Skript Version: Latest of current date 6/12/2021 It would be amazing if...
  14. J

    LOOP CHEST ITEMS

    Hello! I was wondering if anyone could help me with a skript Objective: When a players mine a chest, it checks the items in the chest, & if it has a specific item, in this case for an example, a water bottle, it would cancel the event The skript still runs fine, however when I place a water...
  15. M

    Please help this doesnt work!

    on damage: damage cause is void: teleport victim at location at (-474, 5, -307) wait 5 ticks heal victim broadcast "&c%victim% &6was thrown into the void while holding &c%victim's held item%" broadcast "&c%victim%'s &4&litem &6was removed."...
  16. nicolas toledo

    "on item damage" how to cancel item damage?

    Hi guys, I'm doing a MMORPG server and since I can't find plugins to change the durability of the items, it seemed like a good idea to make certain items have "chance%" to cancel the damage event of the event-item so that the items last longer Here is an example of what I want to do. on item...
  17. 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...
  18. 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...
  19. 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"
  20. 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...