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 comminuty!

    Now, what are you waiting for? Join the community now!

  1. rustedst

    Event region

    if "%event-region%" contains "x": do stuff #or if "%region at player%" contains "x": do stuff #or if "%region at event-location" contains "x": do stuff none of those work. I've checked documentations and forums and almost everyone says one of these works. But not for me. Any help?
  2. rustedst

    Solved Offline player loop

    I have a script that loops all offline players and takes some actions, but the thing is, Skript says what's the issue here? How can I use loop-player?
  3. rustedst

    Index in list

    So I have a really large list and I want to find the index of an element in that list. Like: set {_i} to index of {variable} in {exampleList::*} this doesn't work. I don't wanna loop the list to use loop-index because it's too large. And then I wanna edit that element and change it. Like: set...
  4. rustedst

    Solved Capturing a player

    I want to make a skript that makes players capture other players. The captured player will be sitting above the capturer (like riding a horse) and the capturer will be able to carry the player. How can I make this happen?
  5. rustedst

    Solved Faint

    I want to make the player faint. Making the player lay down is (I guess) impossible, so we can teleport the player to another place and spawn a player entity laying down instead. Those fainted entities should be able to be carried by other players, by Shift+Right click. And when the fainted...
  6. rustedst

    Solved Expressions in functions (Really quick question)

    So for example, I have a function line this function kill(p: player): kill {_p} When I want to use this function in an event, which one is true?: #first one on jump: kill(player) #second one on jump: kill(%player%) thanks!
  7. rustedst

    If action is possible

    So this might be kind of an advanced question, idk, but the title is explanatory enough. I want to check if an action is possible. If not, I want the Skript to do something else. For example: if [action] can be performed without errors: [take the action] else: [take another action]
  8. rustedst

    Index of an element in a list

    So the title says everything. I have a list {list::*} and let's say it has {object} in it. And I want to learn {object}'s index. Can I just say set {index} to index of {object} in {list::*} is it possible? Edit: I'm sure this was possible with an addon. Does any of y'all know the addon? Or is...
  9. rustedst

    Quick question about lists

    So I wanna make something like {example::hello::1} {example::hello::2} {example::goodbye::1} {example::goodbye::2} is that possible? Will this work without any flaws?
  10. rustedst

    Solved Issue about Skript-Mirror

    import: org.bukkit.entity.Player org.bukkit.event.EventHandler org.bukkit.event.Listener org.bukkit.event.player.PlayerJoinEvent org.bukkit.plugin.java.JavaPlugin fr.xephi.authme.api.v3.AuthMeApi fr.xephi.authme.api.v3.AuthMePlayer on example event: set {_p} to...
  11. rustedst

    Solved Teleport player to direction

    Why the hell doesn't this work: teleport player to 8 south of the player I also tried: teleport player to 8 blocks south of the player teleport player to 8 blocks south the player teleport player 8 blocks south of the player teleport player 8 blocks south the player
  12. rustedst

    Simple Question

    I made a script which kicks the player deletes [uuid].dat file from the world when the player dies. But does this delete variables like {example::%player%:}? And if not, how can I do that?
  13. 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...
  14. 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?
  15. 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:
  16. rustedst

    Solved deleted

    deleted
  17. 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...
  18. 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?
  19. 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...
  20. 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: