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

    Solved Alternative of +20

    You should try a bit more on your own if mod({Time.M}, 20) = 19
  2. jaylawl

    Anvil Questions!

    Have you found a way to detect whether a player is trying to fix OR enchant an item? If yes, i have a solution Also please stop bumping so often
  3. jaylawl

    how to edit sign ?

    use code tags please
  4. jaylawl

    Solved How to edit skript clicked block to coordinates x,y,z

    You want to replace a block at specified coordinates? Like this? command /test: trigger: set {_location} to location(1, 1, 1, world "myworld") set block at {_location} to dirt
  5. jaylawl

    Addon jNBT - 0.3.1

    0.3.1 Fixed some NPEs on the "tag of nbt" expression
  6. jaylawl

    Solved Cuboid Expression

    There's a useful function for this in here too: https://forums.skunity.com/threads/useful-vanilla-skript-functions.7000/
  7. jaylawl

    Evaluate errors in skript file.

    This is exactly how my script is doing this: https://forums.skunity.com/resources/skript-reloading-shorthands.588/ check out the code to see how you can do it but it's pretty much what shanebee posted
  8. jaylawl

    Addon jNBT - 0.3

    0.3 Added the expression joined nbt[( |-)string] from %string% and %string% Added the expression tag %string% of %string%
  9. jaylawl

    Solved Drop to death

    No, but you can just kill the player after 15 seconds and it will drop the inventory normally on damage: damage > victim's health cancel event set {is-dying::%victim%} to true # rest of the code wait 15 seconds (player has not been healed conditon here) kill victim
  10. jaylawl

    Solved Voting system

    rip i didnt realise :|
  11. jaylawl

    Solved Drop to death

    after this code the player can be marked as dead and you can do all the code you want with them on damage: damage > victim's health cancel event set {is-dying::%victim%} to true # rest of the code
  12. jaylawl

    Solved Voting system

    command /openvote: description: Open the votes trigger: {Voting} = false set {Voting} to true delete {Vote::*} delete {VoteList::*} broadcast "&aThe votes are open for two minutes! Use &a&l/vote PSEUDO" wait 2...
  13. jaylawl

    Solved titles

    afaik the "at time" event is currently broken: https://github.com/SkriptLang/Skript/issues/463 apart from that, there's a lot wrong with your code. "loop 1 times" is fully redundant as a workaround you could do this: every minute: if time = 0:00: #do this code else if time =...
  14. jaylawl

    Solved Convert seconds into hh:mm:ss

    command /timer<text>: trigger: if arg-1 = "start": set {Timer} to now else if arg-2 = "stop": set {_timespan} to difference between {Timer} and now send "%{_timespan}%" delete {Timer}
  15. jaylawl

    Solved Drop to death

    Can you please re-explain what you're trying to achieve?
  16. jaylawl

    Solved Alternative of +20

    mod is a shorthand for "modulation". this function (comes with vanilla skript), will remove 20 from {Time.M} until it's no longer greater than 20. the result is the rest. It's the logical equavalient of doing this: while {Time.M} > 20: remove 20 from {Time.M}
  17. jaylawl

    Solved Alternative of +20

    if mod({Time.M}, 20) = 0:
  18. jaylawl

    Play Custom Resourcepack Sound

    I recommend using the /minecraft : playsound command
  19. jaylawl

    Addon jNBT - Now.jar

    0.2 This is now a "proper" add-on, woo! (was a skript-mirror thing prior) Created a github page: https://github.com/jaylawl/jNBT/releases Please report any issues on the github :) The modifiers add, remove, set, reset and delete are now useable on the expression %item%'s nbt Removed the...
  20. jaylawl

    Skript Skript Addon Development

    i'm not gonna lie, this takes a lot of coffee to get through. I appreciate the effort that went into this (and hopefully will be put into the completion / currently missing chapters). Helped me out a lot, taking my first steps into java coding with this tutorial's help.