help

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

    Error

    whenever i try to do this skript which downloads a certain file using SkUtilities command /download <text>: trigger: set {url} to arg-1 set {file} to "plugins/Skript/scripts/example.sk" skutil download file from "%{url}%" to file "plugins/Skript/scripts" if...
  2. J

    Item Exchanger Skript

    I have an item exchange skript where you trade lower tier protection stones for higher tier ones through the GUI Issue: it only detects one protection stone in my inventory, when im actually holding 2 of them. If I move them to another slot, the trade then works and it counts as 2. loop-slots...
  3. 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...
  4. V

    How to make a Scale(List)

    I still don't understand how to make a scale I want each player with the "magic" perm to have a mana scale, and I can describe different conditions so that this scale (Mana) can Decrease (-) and Increase (+) Separately for each player
  5. N

    Solved Skript + Plotsquared being weird

    for some reason if i use "on block place:" event it still registers the block place if someone places it on the plotsquared road or another plot. not sure if this is a normal problem but i expected it to be like worldguard for example where worldguard removes the block before it registers.
  6. V

    Solved Around saved varriable

    command /covertrack: cooldown: 1 seconds cooldown message: Ждите &c%remaining time% &fсекунд! trigger: set {b} to all blocks in radius 15 of player set {covertrack::%player%} to location of player command /inspect: cooldown: 1 seconds cooldown message: Ждите...
  7. V

    How to make permissions work?

    script options: $ use permissions every 1 seconds: loop all players: if loop-player have the scoreboard tag "Z": add "zinfection" to looped-player's permissions execute loop-player command "/zinfection" I've been trying to enable permissions for several...
  8. B

    Block compression shulker

    hi, im trying to make it so if you put 9 iron ingots in a light blue shulker box, then it removes them and places an iron block in the shulker, this is what i have so far but im getting hung up on actually getting the contents of the box on place light blue shulker box: add event-location...
  9. T

    How to Create Merchant Recipe

    Hello, I have some difficulty with adding new merchant recipes. i tried using the example of https://skripthub.net/docs/?id=6961 but its not working I tried using On villager acquire new trade: event-entity's villager level is 5: if event-entity is librarian: set...
  10. P

    Solved Help with counting handheld items

    so I created a skript for a button that would "clean" a brick. But here is the problem, if you are holding multiple bricks, it will only give back 1 iron ingot, is there a way to make it give back the same amount of iron ingots as the amount of bricks you were holding? can you please send me an...
  11. Radicc

    Disky permissions in a channel

    Does anybody know how to add and remove perms from a role in a channel? i search the docs and nothing works :/ My code:
  12. V

    Solved loop all player near players what have the scoreboard tag "Z":

    Stuck I want all players who were within 15 blocks of the player with the scoreboard "Z" to write a command every 15 seconds with a certain chance every 15 seconds: loop all players: if player have the scoreboard tag "Z": chance of 99%: wait 40 ticks
  13. F

    Server stops when skript loads

    Hello I when ever I put some files into skript it just dose not load them they are about 1k lines each and I have 11 skripts and they just don't load and if the server dose start up the skripts are not loaded when I try to load me they close the server... If you have any ideas on what may be...
  14. T

    mythicmob cast skill

    Hello I want to know how can I make a player cast a mythicmob skill I have skript 2.6.4 mythicmob premium 5.1.4 mmskriptaddon 0.99e and spigot 1.17.1 thanks
  15. S

    How can i create an NPC like those in WynnCraft?

    Im looking to create NPC's similar to the merchants in wynncraft(mc server) that can turn their heads/bodys but can not move, im using skript and i dont want to add custom NPC because i dislike the GUI
  16. 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%...
  17. Sparkitye

    Teleporting Player (NEED HELP)

    How can I make a player teleport to a specific location when stepping on a block?
  18. V

    Solved Selectors and arg-1

    Script Version: 2.6.3 BoringSK v2.0 Skellett v2.0.3 SkRayFall v1.9.27 SkQuery v4.1.6 SkBee v2.5.1 Vault v1.7.3 WorldGuard v7.0.7 Script Author: Me (Vxnku) Minecraft Version: 1.18.1 Full Code: command /Infect <text> <player>: permission: op trigger: if "%arg-1%" is "Zombie"...
  19. 0

    How to i add a cooldown to this command?

    i want to make it so when you rightclick the beehive it has a cooldown so you cant just spam it on right click on a beehive: chance of 10%: give player bamboo named "&3Lockpick" send "You Found A LockPick With A &l10 &rprocent Chance! Wow" to player chance of 5%...
  20. iFammYT

    Messages with effects like run command dont work

    Hello, i wanted to make a skript with a message that you click so that it executes a command, but it seems not to work. i use version 2.1.2 of skript. people said to use json.sk but its abandoned and has so many errors in the logs. Here is the code im trying to make command /announce...