• 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. 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...
  2. T

    Solved Help how to detect lore level numbers

    Help i having 2 problems here . the First is when the Sword have a example: If i apply the book with Extra Sharp 1 in a diamond sword which already has that mod "Extra Sharp 2" it still applying to the sword. i dont know how to solve that . The second trouble is if there is any way to...
  3. T

    Solved How to increase the effects of a custom enchant according to the number as level in the lore

    Hello I wanted to ask if it was possible to reduce this code, instead of putting in each condition the level number, like what is shown here. to put as in a single condition that detects depending on the level in number . making it increase for example the chance if level 1 : the chance was 5%...
  4. M

    Remove item with specific lore

    Hey, I have a question, how can I implement this? how is it possible that certain items are deleted after death? e.g. an item with the lore "can get lose" is deleted after death as well as items without lore and items with the lore "can keep" cannot be lost.
  5. L

    skutil yaml - read added variables from a file

    the title itself doesn't explain much, so i'll explain it here. I want to create custom items with custom lores and rarities. This is done pretty easy in skript with the "set {@name} to item", but as I will create a lot of items, I needed to save them as yml's to be more space efficient. I...
  6. 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...
  7. W

    check lore number

    Hello, i need help i tried to check the number of my item lore on damage: victim is a living entity if attacker is a player: attacker is holding a sword set {_lore::*} to attacker tool split by "||" #this one the problem loop {_lore::*}: set...
  8. nicolas toledo

    Solved How to change the lore of the last item obtained?

    Hello, I am looking for some way to change the lore of a newly obtained item. What I want is immediately after lifting the item to change a line of lore Try something like this but it doesn't work. on pickup: set {_l2::*} to lore of item loop {_l2::*}: if loop-value contains "&fCrit...
  9. nicolas toledo

    Can someone help me with this?

    I'm trying to lift an item from the ground to change its lore. The same thing I tried with the item in hand using "player's tool" and it works perfect, but the other change the lone in "{_item1}" does not work. It is the same code, I do not understand it. it does not work: on pickup: if...
  10. nicolas toledo

    Solved How to Delete and change the last line of the lore or a specific line?

    Hi guys! I'm making an item durability plugin. My problem is that I can't find a way to change a specific line of lore or the last line of lore. Always in the last line of the lore will be "durability" so I want to know how to delete and replace the last line of the lore or the specific line of...
  11. Squarebuilder

    Solved Set variable to lore of item

    Hello, for one of my scripts I have to set a variable on the lore of an item. Does anyone know how to do that? on right-click: set {_variable} to lore of event-item Error Code: {_variable} can only be set to an object, not more.
  12. S

    adding lore to armor through a skript removes enchant visibility

    i have a skript that sets the lore of armor when you have a custom enchant book in your offhand but every time i do it and the armor has enchantments on it they're no longer shown. they still work, but i want them to be visible. whenever I use a command in game to set the lore it gets put after...
  13. W

    Skript does not recognize Russian characters (lore)

    The the following code doesn't work. There I use the Russian word Vampire. if "%lore of attacker's tool%" contains "&7Вампир 3": send "vampire" to attacker chance of 100%: send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам."...
  14. D

    skript enchant mess up

    all code Works BUT it doesnt how i want it to basicly if i did /lvl3 it would pick 1 out the 3 listed below lores and some lore would have other chances of geting picked if 1 is picked it is applied on players held item and ends but the what realy happens is a TON of lore is added and like all...
  15. D

    Solved Lore item help

    Hello so im making a skript that adds lore to players held item but im not sure if i can ADD lore meaning if someone has line 1 Hi and line 2 bye it will add aother line line 3 cat how it should work /lore *stuff happens* add lore "kitlore" to players held item *adds new line*
  16. D

    Cant change specific lore line when I use a variable as number for lore line

    Skript Version (do not put latest):2.5-alpha6-MH Skript Author: Bensku Minecraft Version: 1.16 CODE: command /upgrade: permission: tester trigger: set {_0} to lore of player's tool set {_1::*} to split {_0} at "||" set {_0} to size of {_1::*} if line {_0} is...
  17. S

    Solved Lore New Line Skript

    I have tried every single thing to make it work, but I just can't manage to do it. I tried doing it with " || " but It just won't work, aswell with %nl%. Please Help! format slot 12 of player with skull of {_head1} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Owner1}||&7Rank &8&l» &bOwner" to...
  18. Baezor

    Solved Need Help Getting Integer Varibles In Lore

    Skript Version: 2.5 Skript Author: Bensku Minecraft Version: 1.15.2 Full Code https://pastebin.com/3kSFcyuv Problem If you look in the screenshot, you can see the variables the skript prints out. My problem is the lore variables are not being added to the defense, vitality, or max health...
  19. integro96

    Solved Item in inventory with custom name and lore

    Hi people! i have a issue with inventory/custom name, i want people use a "cookie" for keep inventory and xp and consume the cookie with specific name and lore oh and of course dont consume while eating. i did it in while the cookie was in hand, but i want to be in any part of the inventory. i...
  20. H

    Lore of item

    Skript Version: 2.4 Minecraft Version: 1.12 To check all lore of item tried this but it doesn't work, i can add smelt as long it isn't on the 1st line of lore if event-item's lore doesn't contain "&eSmelt": set {_a} to event-item cancel event...