solved

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

    Solved Empty configuration section!

    Hello! I recently started skript and stopped at one place. I couldn't solve it because I didn't check it properly. What should I do? command /oni <text>: trigger: if arg is "s": if {oni} is set: set {oni} to location of player send "鬼の初期地点を変更しました。" to...
  2. 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...
  3. S

    Block to Loacation

    Hi, i´m really new in Skript, i read the documentation but still doesn't figure how to convert a variable of type block to location. Thanks. Nevermind... i feel dumb jaja I did i like this: %location of {block}%
  4. J

    Solved Vanilla GUI If player has item

    Im trying to make it so when a player clicks on the gui item, it "upgrades" the current item. Im using vanilla GUIS. Nothing happens when the item is clicked. on inventory click: if event-slot is wooden pickaxe named "&8Wooden &7Pickaxe &8[&e2&8]": if player has 128 coal: give...
  5. E

    Solved Skript is only working for me; Help

    Fixed! .
  6. W

    Solved Problem with add 1 to {variable}

    Hello, i have a problem with my Script. I have a german Script because im german and here's a problem. The add 1 to {variable} doesent work. Here's the Skript: options: #Hier kannst du alles ändern SPIELMODUSNAME: &e&lAmpelrennen #Messages: KEINERECHTE...
  7. R

    Solved Autoblock

    Hello fellow skripters! I tried to make a skript where it automatically turns ingots into blocks This is what I have: on block break: if event-block is lapis ore: set {lapis.%player%} to amount of lapis in player's inventory if {lapis.%player%} is greater than or equal to...
  8. Xeterios

    Solved Offline player head in GUI

    I made the following code: command /punish <offline player> [<text>]: permission: skript.ban.use permission message: &4&lERROR &8» &cYou do not have access to this command! trigger: if arg-1 is set: set {_p} to "%arg-1%" open chest with 4 rows named...
  9. H

    Solved Doing an action on each player in a list

    I have my skript setup do add all players who do a certain action onto a list. How would I execute commands on all these players? I can parse a list but I'm not sure how to target the players. Thank you in advance!
  10. R

    Yes or No variable skript

    Hey! I am trying to write a skript where when you run the command /break and you have the perm admin.break you can either disable the ability to break / place blocks or enable it. options: BlockRegenMSG: &cYou have building disabled! BlockBreakMSG: &cYou have breaking disabled...
  11. S

    Execute when holding item with name

    I want to make a wand that shoots a fireball but only if a stick is named "Wand". I've tried something but it doesn't seem to work. The server is using 1.15 Spigot and skript version 2.4 (gotten from https://github.com/SkriptLang/Skript/releases). Can someone help me?
  12. ZachKing

    Solved Level RPG pls quick

    How do I set player level to this? command /level [<offlineplayer>]: trigger: if arg-1 isn't set: send "&8-------------------------" to player send "&a&lLevel&f: %{level.%player%}%" to player send "&8-------------------------" to player if...
  13. N

    Solved Cooldown help

    Hi I'm fairly new to skript, I coded this to give my players items but I don't want them to be able to spam it, what should I add if I want to make them wait 30 seconds between right clicks? https://pastebin.com/bqXM15wL
  14. Zabrid

    Hiring [Temp] Cane Top (More info below).

    THIS THREAD HAS BEEN SOLVED.
  15. E

    Solved random drops

    hello, today I am working on coding a plugin for my server variables: {Fishodds} = 0 on fish: if "%fishing state%" is "CAUGHT_FISH": set {Fishodds} to a random integer between 0 and 101 if {Fishodds} is less than 51: message "fish" give the player 1...
  16. C

    Solved Effect on Hit

    Hello, so I would like to make a skript that gives an effect when hit by a certain item example: A stone sword called "Wither Sword" that gives wither for 2 seconds every time you get hit by it I have no clue how to do this, so it would be appreciated if you could help me. Another example...
  17. G

    Chests don't fill up

    command /chester: permission: OP trigger: loop blocks within {skywars::pos::1} to {skywars::pos::2}: if loop-block is trapped chest: add 1 to {_n} set loop-block to {sw.trapped_chest.arena::%{_n}%} add apple to inventory of...
  18. C

    Solved Money balance player variable?

    Please help, I tried doing a player variable called {balance.%player%} but when I run the command /balance, it says: You have {balance.CassioTDS} blobdollors. All related scripts are listed below as an image. Please help. https://ibb.co/rG0ntb1 < Image
  19. CreeperOverLord7

    Solved Help with Final Damage expression

    Hi! Thread too long for you? Scroll to the bottom and read the last line! Skript Version (do not put latest): 2.2-dev36 Skript Author: Bensku Minecraft Version: 1.12.2 (Note about Skript version: I know that it is old, but in the server that I plan on putting this script in, I cannot update...
  20. K

    Solved Check for blockstate of a door

    Skript Version: Skript 2.3.6 by Bensku Minecraft Version: 1.13.2 --- Hi, I would like to know how to check for a specific state of a door. (closed door) How can I use something like this?: if targeted block of player is a closed door: Here are the aliases for blockstates of doors...