Skip to content

Releases: tim740/skUtilities

v0.6.2

22 Jul 20:24
Compare
Choose a tag to compare

Fixed Zipping Files and Directories

#To zip a File or Many Files
zip file[s] %strings% to zip[ file] %string%

#To zip Directories
zip dir[ectory] %string% to zip[ file] %string%

Added

zip dir[ectory] %string% to zip[ file] %string%

Changed:

zip file[s] %strings% to zip[ file] %string%

v0.6.1

19 Jul 11:43
Compare
Choose a tag to compare

Added:

a new type %profession%

  NORMAL, FARMER, LIBRARIAN, PRIEST, BLACKSMITH, BUTCHER, HUSK

Fixed and changed:

spawn a %entity% with profession %profession% at %location%

Removed:

generate[ random] string with length %number%
v from version strings

If you have any suggestions for this addon you can contact me on Skript Chat Discord:
https://discord.gg/0lx4QhQvwelCZbEX (Different from skUnity's Discord)

v0.6.0

29 Jun 15:45
Compare
Choose a tag to compare

Added

[skutil ]ip of server
[skutil ]server's ip

Suggested by @kahverengi

(absolute|complete) path of %string%
%string%'s (absolute|complete) path

Added Metrics

Fixed bugs and optimised

v0.5.9

22 Jun 15:35
Compare
Choose a tag to compare

Added:

Full server root access for files


Fixed:

A Major bug that wouldn't let you use paths from other expressions


Changed:

files in dir[ectory] %string%
dir[ectory] %string%'s files

Now gets full path for each file

useRootAsDefaultPath:

Used to either look in
plugins if it was set to false
or
the root folder of your minecraft server

now it lets you either look in
the root folder of your minecraft server
or
the root of your whole server

Here's the text detailing what the option does in the config
#If set to 'true' (UnSafe Option) anything using paths in this addon (files)
#will start looking in the root directory of your whole server!
#Example: Paths would start at 'root' or if your using windows 'c:/'

useRootAsDefaultPath: false

#If set to 'false' (Safe Option) anything using paths in this addon (files)
#will start looking in the root directory of the minecraft server!
#Example: Paths would start at 'MinecraftServerRootFolder'

v0.5.8

20 Jun 16:44
Compare
Choose a tag to compare

Added:

(script|program|app[lication]|file) %string% is a file
(script|program|app[lication]|file) %string% is(n't| not) a file

file extension of %string%
%string%'s file extension

%string% does(n't| not) (start|end) with %-string%

Fixed:

(script|program|app[lication]|file) %string% exists
(script|program|app[lication]|file) %string% does(n't| not) exist

server is whitelisted
server is(n't| no)t whitelisted

%player% is whitelisted
%player% is(n't| no)t whitelisted

%string% (starts|ends) with %-string%

Changed:

files in dir[ectory] %string%
dir[ectory] %string%'s files

Directory files now only shows the files in that directory and no longer shows sub directory files


Optimised and cleaned up loads of classes

v0.5.7

19 Jun 15:54
Compare
Choose a tag to compare

Added

[skutil ]free (ram|memory)
[skutil ]total (ram|memory)
[skutil ]max (ram|memory)

(force|make) %player% run (cmd|command) %string% as op #Thanks @dzikoysk

Fixed bugs and optimised

v0.5.6

31 May 21:46
Compare
Choose a tag to compare

Added:
file size of %string% in bytes %string%'s file size in bytes

Added Conditions:
%player% (is not|isn't) whitelisted server (is not|isn't) whitelisted (script|program|app[lication]|file) %string% does(n't|not) exist

Optimised core stuff
Optimised Events

v0.5.5

08 May 15:49
Compare
Choose a tag to compare

Fixed Global File Stuff Error
Fixed Generate String

Nicer message for update checks
Nicer message for resetting config
A Check to see if run script/app can be ran on your os (mac and windows should work fine),
and if it can't a solution for linux based systems

v0.5.4

08 Apr 10:10
Compare
Choose a tag to compare

Fixed:

event-file not working in

on file copy:

v0.5.3

07 Apr 17:40
Compare
Choose a tag to compare

Added:

copy file %string% to %-string%

on file copy:
#use event-file to get file to copy
#use event-string to get directory to copy to

Added root folder support (option in config to change the default starting folder for file stuff
from "plugins" to "rootFolderOfServer"

useRootAsDefaultPath: false