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

    Solved Return integer

    that's works but why!? xd
  2. M

    Solved Return integer

    I have code: function testowy(ilosc: integer) :: integer: set {_wynik} to {_ilosc} * 1 return {_wynik} command /testowy <integer>: trigger: set {_obliczone} to testowy(arg-1) send "%{_obliczone}%" to player I get <none> /testowy 10 What's wrong?
  3. M

    creative to players when they join a specific world

    on world change: if player's world is "world": set player's gamemode to creative else: set player's gamemode to survival on join: if player's world is "world": set player's gamemode to creative else: set player's gamemode to survival
  4. M

    Solved break effect on block by a few seconds

    I want to get breaking effect, don't break block
  5. M

    Solved break effect on block by a few seconds

    like this: https://www.9minecraft.net/wp-content/uploads/2019/04/Fast-Fly-Block-Breaking-mod-for-minecraft-04.jpg
  6. M

    Solved break effect on block by a few seconds

    Hi. I want to get break effect on block by a few second if player stop destroying block. I want to get the same effect when a arrow hit a block. Thanks ;*
  7. M

    Solved Command arg with more than 1 word

    command /test <text>: trigger: if arg 1 isn't empty: set {_ar1} to arg-1 set {_s::*} to split {_ar1} at """" set {_key} to {_s::2} replace all " " with "_" in {_key} send {_key} set {_value} to last (length of...
  8. M

    Solved Command arg with more than 1 word

    omg xd I don't understand you now xd NOW I have: command /test <text> /test "this will be a key" this will be a value I want to get text between ", and set it to {_key} with replaced " " to "_" and remove " chars, rest of text I want to set to {_val} this_will_be_a_key = this will be a value
  9. M

    Solved Command arg with more than 1 word

    another /test "this will be a key" this will be a value I want to get text between " and replace space to _, and save it like key, the rest of text will be a value this_will_be_a_key = this will be a value
  10. M

    Solved Command arg with more than 1 word

    I want to get by command two strings like this but without " chars: /test "more than" "more than two" and I want to add these texts to array like: more than = more than two if key have to be one word, i want to split it by char to get text more_than = more than two dosplit(array.more_than) and...
  11. M

    Solved Command arg with more than 1 word

    Hi I want to do this: /test "more than" "more than two" command /ttest <text> <text>: trigger: if arg 1 isn't empty: if arg 2 isn't empty: addSmth(arg 1, arg 2) I want to add arg-1 to key and arg-2 to value more than = more than two
  12. M

    /data get entity target

    Hello I want to get data of player's target. How Can i do it in command? I want to do this in minecraft command because it's colored. In skript is only one color of data.
  13. M

    Worth.yml with all items and blocks

    Hi, I'm looking for worth.yml file with all items and blocks from 1.16.2. Do you have something like that?
  14. M

    Please help me :(

    What's a problem? Maybe: pex user %player% group set warp.lokace.2 true
  15. M

    Colored text between chars

    Hi, I want to color text between chars example bla bla *test* bla bla *test* **test 2** and if chars aren't canceled, we have to cancel it in skript example *test -> *test*
  16. M

    Datapack remove

    I tried add --safeMode to start.bat but isn't work Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode @Echo off title Spigot java -Xms3024M -Xms3024M -jar -DIReallyKnowWhatIAmDoingISwear spigot.jar --safeMode nogui...
  17. M

    Solved Show nbt and metadata

    Hello I want to loop all entities and blocks around me and show on chat their nbt. Example /shownbt armor_stand 10 - that will show nbt and all metadata of this objects - around 10 blocks command /shownbt <number>: trigger: nearestEntity(player, arg-1) function...
  18. M

    Slot of loop-item

    How to save all items of player's inventory with slots? function saveINV(p: player): delete {inv:%{_p}%::*} loop all items in {_p}'s inventory: set {_slot} to slot of {_p}'s inventory with loop-item add loop-item to {inv:%{_p}%:%{_slot}%}
  19. M

    full id of holding tool or item, name...

    I want to get full id of holding item, block or item. ID with 35:2 not only 35 name of tool isn't work.
  20. M

    /skript help !?

    Hi I have 1.12.2 server and I have problem because Skript doesnt work. I try /skript reload... and other commands and I get always message /skript help What's wrong? I have this error when enable server: https://pastebin.com/BdN3pnmg