1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Skent 1.8

The right way to manage files

  1. Rework, fixes and improvements

    Olyno
    Description

    Hi everyone!
    After a small update before, here is a real update! Indeed, it includes many changes, including more flexible syntaxes and some adjustments.
    So here is version 1.6 of Skent!

    Patch note

    Fixes:

    - Fix package name conflict.
    - Fix local variables issues in effects (thanks @Blueyescat for the fix and @HYPExMon5ter for the report!)

    Improvements/Changes:

    - /!\ Breaking change /!\: any path returns now the path, no longer the name of the targeted file/dir when the path is in a string, like variable name {%path%} or a simple string "%path%". This change should make more logic what's a path, and what a path returns.
    - /!\ Breaking change /!\: the All files/directories syntax changed to include 4 different syntaxes. This change make shorter syntaxes, and should improve the flexibility of this expression :
    - all [the] files and [all] [the] dir[ectorie]s (in|of|from) %path%
    - all [the] files (in|of|from) %path%
    - all [the] dir[ectorie]s (in|of|from) %path%
    - all [the] sub[(-| )]files and [all] [the] sub[(-| )]dir[ectorie]s (in|of|from) %path%
    - all [the] sub[(-| )]dir[ectorie]s (in|of|from) %path%
    - all [the] sub[(-| )]files (in|of|from) %path%
    - Watching event has been deleted. It will be rework later.
    - parent expression has now path word optional, as [the] parent [path].
    - owner expression has now file word optional, as [the] [file] owner. It should resolve the conflict with Region Members & Owners expression of Skript is needed.
    - (file|dir) name expression has now rectory word optional as (file|dir[ectory]) name.
    - [the] absolute path expression returns now a Path and no longer a String.
    - toString method of ExprFileDirectory precise now if it's a directory or a file.
    - Events are now improved.
Return to update list...