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

    Script Directory Management 1

    Expressions: [all] file[\s] (of|at) [directory] %string% [with [extension] %string%] Returns files in a directory, if you add the [all] it will also search all directories in the directory. The extension is what file types it returns for example "sk" would only return skript files by default it...
  2. Veraid

    Directory Management

    Expressions: [all] file[\s] (of|at) [directory] %string% [with [extension] %string%] Returns files in a directory, if you add the [all] it will also search all directories in the directory. The extension is what file types it returns for example "sk" would only return skript files by default it...
  3. Veraid

    Script Date Shenanigans - Added Duration Format

    Adds a new expression called Duration Format, this is used like the difference between in skript ex: 'difference between 10 minutes from now and now' but it is better formatted like 1d 1h 1m 1s and if the duration has been completed it will say so Expression Syntax: duration [format] of %date%...
  4. Veraid

    Script Date Shenanigans - Remade for Skript-Mirror 1.0.0

    I downloaded my version of Skript Mirror from skunity but the version I got had many errors in console for me, turns out that was an outdated version and to get the latest you have to get it from here all future versions of this script will be built towards that (as that's the version I use) the...
  5. Veraid

    Script Date Shenanigans - Time added and day/month/day of the week as values

    Added new expressions: hour (of|for|at) %date% - Gets Hour of date minute (of|for|at) %date% - Gets Minute of date second (of|for|at) %date% = Gets Seconds of date day of [the] week value (of|for|at) %date% - gets the day of the week as a value (returns an integer instead of the string) day...
  6. Veraid

    Script Date Shenanigans - Time Zone + Compressed code

    I just learned in Skript 2.2-DEV31 you can customize your own time format so I've added that method instead this compresses the code more, means you no longer need to set an option if using american time format. real time now returns seconds as well as minutes and hours and also I've added a new...
  7. Veraid

    Script Date Shenanigans - Added Time Expression

    Usage: real[ ]time [of %date%]
  8. Veraid

    Script Date Shenanigans 2.1

    This adds the following expressions to Skript: day of [the] week [value] [(of|for|at) %date%] - Returns the day of the week, for example "Tuesday" or if value is used returns it as an integer day [value] [(of|for|at) %date%] - Returns the day of the month, for example "25th" or if value is used...
  9. Veraid

    Script Date Shenanigans - Compressed Code

    Nothing new added, just learned about parse marks in skript mirror so I've put all 4 expressions under 1 now
  10. Veraid

    Date Shenanigans

    This adds 4 new expressions to Skript day of [the] week [(of|for|at) %date%] - Returns the day of the week, for example "Tuesday" day [(of|for|at) %date%] - Returns the day of the month, for example "25th" month [(of|for|at) %date%] - Returns the month, for example "February" year [(of|for|at)...
  11. Veraid

    Solved Skript Mirror Help

    Must have been updated since I last used it, I just tested ersatz and it worked fine I noticed someone did a fork of it as it previously wasn't updated for the latest version of placeholderapi https://forums.skunity.com/resources/skript-placeholders.909/ which I was going to try if ersatz still...
  12. Veraid

    Solved Skript Mirror Help

    I used to use ersatz but (at least last time I tested) it did not work on 1.15
  13. Veraid

    Solved Skript Mirror Help

    Wasn't really sure if to post this in Skript help or Java help as it's a bit of a hybrid but I've learned about Skript-Mirror and I'm wanting to know how advanced it is, can you really do anything in it you would in a plugin? I have been testing it out and done something rather basic with it...
  14. Veraid

    Addon [Deleted] SkUniversal

    that's intresting, didn't know griefprevention was supported. That will not actually work for me though as I'm making a farming script where you right click the crops and they auto replant and I want people to be able to do that with accesstrust but they will not have build permission if they...
  15. Veraid

    Addon [Deleted] SkUniversal

    I've been testing out the (0¦builder|1¦container|2¦access|3¦manager) trusted [players] (of|on) [G[rief]P[revention]] claim [with id] %number% syntax with this code: right click: set {_id::*} to claims at location of clicked block loop {_id::*}: send "&c%builder trusted of claim...
  16. Veraid

    Addon [Deleted] SkUniversal

    I checked this addon out because I wanted to hook into GriefPrevention but I'm having a problem. I'm using: right click: set {_id::*} to claims at location of clicked block send "%{_id::*}%" and it works for normal claims but if I make a subdivided claim (using /subdivideclaims) inside a...
  17. Veraid

    Solved Finding center point of two locations

    Great just tried this code out command /center: trigger: set {_midpoint} to {vsk_session-temporary::%uuid of player%::p1} set x coord of {_midpoint} to round(({vsk_session-temporary::%uuid of player%::p1}'s x-pos + {vsk_session-temporary::%uuid of player%::p2}'s x-pos)/2) + .5 set...
  18. Veraid

    Solved Finding center point of two locations

    Skript Version: Skript 2.2 (dev32c) Skript Author: Bensku Minecraft Version: 1.12.2 command /test: trigger: set {_loct} to {vsk_session-temporary::%uuid of player%::p1} set x coord of {_loct} to x coord of {vsk_session-temporary::%uuid of player%::p1} + x coord of...
  19. Veraid

    Solved Remove Armour Protection NBT

    I'm making my own custom armour protection values but I want to remove the vanilla armour protection (preferably through NBT) I'm using skstuff and I need to know the nbt tag for armour so I can remove it Example: command /test: trigger: add "{armor:0}" to nbt of tool of player...
  20. Veraid

    Solved Push player away

    I've seen and used this before but I've completely forgoten how it's been a while can someone remind me how to push a player away from a location? I remember it being something like this: command /test: trigger: push player (direction of player from {test}) at speed 3 but obviously...