Search results

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

    Solved How to hide enchant flag of item

    Just wanna add onto this briefly, you’ll need the SkBee add on to use all flags hidden.
  2. Luke_Sky_Walker

    Anvil lore change help

    Try rearranging the slot numbers in the code I wrote, I think one is setting up the lore's line improperly. It should be a relatively easy fix.
  3. Luke_Sky_Walker

    How can I use a variable in a command line.

    You only use percents around variables if they're in a text. If they are not in a text, there's no percents. So, change %{typeofparticles}% to {typeofparticles}.
  4. Luke_Sky_Walker

    first join with any move

    Just a suggestion to make your code more effective, try not to use "execute console command" if you can help it. There's lots of expressions already in Skript that allow you to add/remove permissions from players and longer lines can mean slower code. Below I've provided a couple replacements...
  5. Luke_Sky_Walker

    Anvil lore change help

    Quite a few issues with your code. For the biggest issue, you don't have to check every single slot for the same item super long. You can set it as a separate variable. Also, since two pieces of your code check for the same item, you can check both slots at the same time. Finally, there's a much...
  6. Luke_Sky_Walker

    How to drop enchanted item ?

    The best way to modify extra data like enchants/NBT data/ETC is to set the item as a seperate variable THEN enchant the variable/modify it as needed and do with it what you wish (You'll also need the expression "with all flags hidden" or a different one if you plan to set all flags hidden via...
  7. Luke_Sky_Walker

    Cant unenchant armor

    You could just do this in like six lines. That would perhaps be a little more convenient. Keep in mind this has not been tested in game, it has no errors but may be impractical/undesirable:
  8. Luke_Sky_Walker

    Command not registering

    Tab completers MUST go in a separate file other than the targeted command. I used a separate file for multiple different commands I wanted to have a command completion. If you plan on doing the same, I suggest you do the same and have tab completer files entirely separate from their target...
  9. Luke_Sky_Walker

    NBT blocking

    Yep, you can with TuSke. On Inventory Move. You could also use Skript mirror to check the action of swapping and cancel that.
  10. Luke_Sky_Walker

    Create Empty List/Array

    Try this: command setuplist: trigger: clear {newlist::*} send "%{newlist::*}%"
  11. Luke_Sky_Walker

    NBT blocking

    Just found this expression on the Docs, it allows you to remove NBT data from item stacks (Requires Skellet). Maybe this is what you're looking for? Remove Item NBT
  12. Luke_Sky_Walker

    Skript inventory check not working

    One of the biggest issues I see is the invalid usage of variables. You do not need the majority of the "{item::{_n}::price}" variable. Below I've rewritten your code, check the notes I made for reasons why I changed it.
  13. Luke_Sky_Walker

    Custom Enchantments

    SkQuery. That would only be to convert numbers to their roman numeral forms though. Used like so: Number to Roman Numeral
  14. Luke_Sky_Walker

    NBT DATA

    No problem. Good luck.
  15. Luke_Sky_Walker

    NBT DATA

    NBT data (or custom model data) for custom texture packs can be kinda tricky to do so I've linked a video here to explain how to make one (I've done it before myself a few times and it's best to watch a video on it): https://www.youtube.com/watch?v=x2QwKFE0aQg. To implement these custom models...
  16. Luke_Sky_Walker

    About anvil click event

    I did a bit of quick research, this can be achieved with TuSke. It allows you the usage of an 'on anvil rename' event which should be what you're looking for.
  17. Luke_Sky_Walker

    undroppable and unremovable item from inventory

    You can use an on drop event, check if the event item is the item, then cancel the event. You can also make it so that on death, it will calculate how many of this item there is then add that amount of the item to their inventory when the player respawns.
  18. Luke_Sky_Walker

    on death skript not working

    Try putting your code through the parser
  19. Luke_Sky_Walker

    Unbreakable Items

    SkBee has an expression you can use to modify NBT components of items. You could use this to your advantage to clear the component that makes armor unbreakable for the item you want (You'll need to bit of research to set/modify the components and the number identifier for the NBT of an...
  20. Luke_Sky_Walker

    Damaging player while accounting for his armor

    Check if the victim (Player being damaged) has an armor piece or pieces equipped then reduce the total damage by a scale depending on the armor. This may not work super effectively but you could maybe check the Docs to see if there's anything on checking a player's armor points then applying...