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

    Solved I Think It's Very Hard

    Try that: on any move: execute console command "effect clear %player% minecraft:regeneration" set {_loc} to location of player set {count::%player%} to 0 loop 5 times: wait 1 second add 1 to {count::%player%} if {count::%player%} >= 5: if...
  2. rustedst

    Solved [SkQuery] Recipe requires at least one non-air choice!

    on skript load: register new shapeless recipe for 64 gold nuggets named "&6Dinar" using ghast tear, air, air, air, air, air, air, air, air register new shapeless recipe for ghast tear named "&6Dinar Kesesi" using air, air, air, air, gold nugget, air, phantom membrane, air, air #This...
  3. rustedst

    (SkUtilities) Deleting a String From YAML

    I have a YML file like this: And I want to delete one of these like: if {_x} = 8433 and {_y} = 61 and {_z} = 1261: #delete the line which contains those values How do I do that?
  4. rustedst

    on block break

    Can you post it like that?: example: example example example: example
  5. rustedst

    Could not pass event to Skript

    I have this script which uses skript-mirror: But it gives that error in console when the event is triggered:
  6. rustedst

    Solved deleted

    deleted
  7. rustedst

    Solved Inventory Name

    Didn't work, same thing happened :( I already do, but the problem is with inventory name, I tested it with a new script that only checks inventory name. I tried that: on inventory click: wait 5 seconds set {_a} to display name of player's current inventory send "%{_a}%" to player...
  8. rustedst

    Solved Inventory Name

    It's hard to do it, I'll write an example code just same as mine: on event1: open chest inventory with 3 rows named "&4invname" to player on inventory click: if if event-inventory's name = "&4invname": #I tried every expression of inventory name, this is the last one I tried. do...
  9. rustedst

    Solved Inventory Name

    It contains 995 lines. You sure?
  10. rustedst

    Solved Inventory Name

    I have this script which does something if the event-inventory's name is "example". But it doesn't seem to detect the name of inventory. I have SkQuery and my version is 1.14.4. It doesn't give an error, but it doesn't do anything although the event-inventory's name is "example". Is there a...
  11. rustedst

    Breaking With Specific Tools

    Can anyone help me writing a script that prevents players from breaking blocks without tools? Players should be able to break dirt block only while holding a shovel, stone block only while holding a pickaxe, and so on. Is it possible without typing every block one by one?
  12. rustedst

    Solved What is Wrong With My Script

    I have a script which is less than 90 lines (and contains foreign language messages) but Skript won't load it. It doesn't have any infinite loops or anything but when Skript starts to load it at start it doesn't give any error but doesn't load the script either. on rightclick: player is...
  13. rustedst

    Skript Can't Load the Script

    Thank you so much, now it doesn't give any errors but now it stays on enabling name.sk, I'll leave it tonight to see if it's loaded until morning.
  14. rustedst

    Skript Can't Load the Script

    I tried to paste the Script to skUnity Parser and it keeps on "Parsing...". When I start the server while the script is enabled, stays on enabling name.sk; when I try to enable it while the server is running, this error message appears:
  15. rustedst

    Skript Takes 20 Minutes to Load

    I actually didn't remove those lines, I just shortened them like "if x and y and z is 3" to "if x is 3" And that's the error I got: https://hastebin.com/feqarasipa.md
  16. rustedst

    Skript Takes 20 Minutes to Load

    I did it, no hope. And it doesn't take so long to load anymore. It just doesn't load, I removed every line that has more than 1 checks or 1 modifications. In skUnity Parser, it stays "Parsing..."
  17. rustedst

    Skript Takes 20 Minutes to Load

    Server is still in whitelist, the player base contains about 10 players. Should I spilt those lines like "if, else if, else if, else if..."?
  18. rustedst

    Skript Takes 20 Minutes to Load

    I have this script which is 86 lines, and when I try to reload it when the server is open, either it crashes the server or takes 20 minutes to reload. When I run the server while it is enabled, it takes 20 minutes to load it. It contains foreign language messages by the way, there it is: What's...
  19. rustedst

    Amount of Items in Inventory

    skDragon, skRayFall, Skellet, skUtilities, skQuery, SharpSK, SKStuff, SK-Perm, SKent, TuSKe
  20. rustedst

    Amount of Items in Inventory

    Try this: command /diamond: description: Sell Diamonds trigger: loop all items in inventory of player: if loop-item is diamond: set {_} to item amount of loop-item if {_} = 0: message "&c» &7You do not have any &bDiamonds&7!"...