skUtilities

Addon skUtilities 0.9.2

  • 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!

Removed Debug testing messages
Removed McStats
Changed some startup messages
  • Like
Reactions: Goetheus
Added:
Code:
number of (cpu|processor) cores
(cpu|processor) core count
^ Returns number of cpu cores

name of (cpu|processor)
(cpu|processor) name
^ Returns the name of the cpu and model

arch[itecture] of (cpu|processor)
(cpu|processor) arch[itecture]
#Returns the Architecture of the cpu

Improved Error Messages, Made them more clear and more Custom:
#ExprFileLineCount
#SExprFileEditLine
#SExprFileContents

Updated Base64 Encode/Decode (games647)
Updater Check Sync (games647)
Added:
code_language.skript:
file %string% is a dir[ectory]
file %string% is(n'| no)t a dir[ectory]
#checks if path is dircetory

relative path of %string%
%string%'s relative path
#Gets relative path

short path of %string%
%string%'s short path
#Gets short path

on (bash|batch|sh) (command|cmd) (run|execute)
#Event: Triggers when you use Run Command cancelable

run (bash|batch|sh) (command|cmd) %string%
#Excutes command in skript
#Windows: cmd /c <command>

[last ]output of executed (bash|batch|sh) (command|cmd)
[last ]executed (bash|batch|sh) (command|cmd)'s output
#Returns last executed command's output

system property (os arch|os name|os version|java home|user dir|user home|user name|user lang[uage]|user timezone|line separator|file separator|path separator|file encoding)
#Gets a System property

(operating system|os) is (windows|mac|linux|unix|solaris|sun os|hp ux|aix|irix|free bsd|open bsd|net bsd)
(operating system|os) is(n'| no)t (windows|mac|linux|unix|solaris|sun os|hp ux|aix|irix|free bsd|open bsd|net bsd)
#Check's if your server's os is a certain os

Fixed Is File
ExprLoaded Optimized
Optimized other classes

Now using bStats and mcStats (mcStats will be removed if it doesn't come back online in a later update!)

-------------------------------------------------------------------------------------------------------------------------

Disclaimer: This addon can damage your server if used wrong or used in malicious manner, Double checking code is Advised, I take no responsibility for any damage caused, I've tried to make this addon as powerful and non-restrictive as possible!
Added:
code_language.skript:
%string% parsed as date[ formatted as %-string%]
#parses a string date as a date

(year|month|month name|day of year|day of month|day of week|day name|hours|minutes|seconds) from date %date%
date %date%'s (year|month|month name|day of year|day of month|day of week|day name|hours|minutes|seconds)
#gets information from a date

Fixed CondFileExists syntax
Tweaked update messages
Changed `ERROR` to `WARN` in chat error messages
New checks added to download file