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!

Suggestion:
Add "yaml node is %type%" condition. Right now we're capable of looping through our yaml files quite alright, but it's hard and especially messy to determine what the looped yaml node functions as. I'm suggesting usage like this:

code_language.skript:
loop yaml nodes with keys "" of file {_file}:
    yaml node "%loop-value%" of file {_file} = list
    set {_list::%loop-value%} to yaml list "%loop-value%" of file {_file}
tim740 was last seen:

17w 5d ago
 
SkUtil 's date information have problem....in my pc
i cant get day name correctly~
today is wednesday
but it show me thursday
after dontknow how many minute ago~
it show me Friday.....
how to get correctly dayname??????????
 
SkUtil 's date information have problem....in my pc
i cant get day name correctly~
today is wednesday
but it show me thursday
after dontknow how many minute ago~
it show me Friday.....
how to get correctly dayname??????????
its a problem that has already been reported on GitHub for this addon.
 
I think you may have to... I dont know of any other syntax for it
 
upload_2018-10-20_13-47-2.png


There is an error in my code when running the code below

code_language.skript:
add arg 2 to skutil yaml nodes "Grupos." from file "Plugins/SkPermissions/grupos.yml"
 
View attachment 2848

When I use "Groups", it only adds this to what's in the image, but does not add the sub-string.
Well, as what I know, you should not just say "add string to nodes", you must do it like `set yml value "groups.node1.value1" of file "file/here" to "value here"`
that if you want to add nodes and values, but if you're trying to add a list like this:

Groups:
- list1
- list2
- list3
- etc.

then you will need to do `add arg-2 to yml list "groups" of file "file/here"`
 
I have used this line previously without errors, now I do not understand why it gives me errors.
Line:
Code:
skutil download file from "https://pastebin.com/raw/riTS1Te2" to file "plugins/Chat+/"
Error:
Code:
[skUtilities] v0.9.2: Error downloading from: 'https://pastebin.com/raw/riTS1Te2' Is the site down? (Utils.class)

I've also tried GitHub and the same thing happens.
 
hi i have sone trouble with skutilities. I get this errors

I run MC 1.8.8 with this plugins:

[13:59:28] Plugins (47): MobShop, AntiWerbung, AdvancedClearlag, Skript, PlaceholderAPI, PlugMan, skDragon, IllegalStack, SkQuery, NametagEdit, InventoryPages, Votifier, PowerNBT, EndReset, FastAsyncWorldEdit, WildSkript, MundoSK, PacoCraft, PermissionsEx, TAB, MOTD, ViaVersion, Vault, BeaconPlus2, WorldEdit, Essentials, Elevator, PlotSquared, WorldGuard, Multiverse-Core, ProtocolLib, ChatFormat, Citizens, ShopChest, BuyPlots, Multiverse-Portals, PremiumVanish, ScoreBoard, HolographicDisplays, SilkSpawners, Skellett, skRayFall, Umbaska, UltimateStacker, TuSKe, skript-yaml, skUtilities


[00:37:21] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.AdminCommands' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)

[00:38:28] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.CheckBypass' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:38:29] Spieler The_Trickster80 > .de
[00:41:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:42:14] [WatchDog] The_Trickster80 × /plugman load skript-yaml
[00:42:14] [PlugMan] skript-yaml has been loaded and enabled.
[00:42:28] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.CheckBypass' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:42:28] Spieler The_Trickster80 > .de
[00:46:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:47:30] * The_Trickster80 is now AFK.
[00:51:25] [MobTerminator] Warnung! Die nächste Terminierung beginnt in 30 Sekunden!
[00:51:55] [MobTerminator] A totale anzahl 0 items/mobs wurden vernichtet!
[00:51:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:53:06] [WatchDog] CONSOLE × /save-all
[00:53:06] [Server: Die Welt wurde gespeichert]
[00:56:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[01:01:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)

Can you help to solve it ?

AntiAdvertisement is not skript, is it a plugin. :/
 
hi i have sone trouble with skutilities. I get this errors

I run MC 1.8.8 with this plugins:

[13:59:28] Plugins (47): MobShop, AntiWerbung, AdvancedClearlag, Skript, PlaceholderAPI, PlugMan, skDragon, IllegalStack, SkQuery, NametagEdit, InventoryPages, Votifier, PowerNBT, EndReset, FastAsyncWorldEdit, WildSkript, MundoSK, PacoCraft, PermissionsEx, TAB, MOTD, ViaVersion, Vault, BeaconPlus2, WorldEdit, Essentials, Elevator, PlotSquared, WorldGuard, Multiverse-Core, ProtocolLib, ChatFormat, Citizens, ShopChest, BuyPlots, Multiverse-Portals, PremiumVanish, ScoreBoard, HolographicDisplays, SilkSpawners, Skellett, skRayFall, Umbaska, UltimateStacker, TuSKe, skript-yaml, skUtilities


[00:37:21] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.AdminCommands' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)

[00:38:28] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.CheckBypass' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:38:29] Spieler The_Trickster80 > .de
[00:41:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:42:14] [WatchDog] The_Trickster80 × /plugman load skript-yaml
[00:42:14] [PlugMan] skript-yaml has been loaded and enabled.
[00:42:28] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.admin.permissions.CheckBypass' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:42:28] Spieler The_Trickster80 > .de
[00:46:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:47:30] * The_Trickster80 is now AFK.
[00:51:25] [MobTerminator] Warnung! Die nächste Terminierung beginnt in 30 Sekunden!
[00:51:55] [MobTerminator] A totale anzahl 0 items/mobs wurden vernichtet!
[00:51:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[00:53:06] [WatchDog] CONSOLE × /save-all
[00:53:06] [Server: Die Welt wurde gespeichert]
[00:56:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)
[01:01:55] [skUtilities: WARN] v0.9.2: Yaml Path: 'config.options.CheckForUpdates' doesn't exist in file '/mnt/plugins/AntiAdvertisement/config.yml' (SExprYaml.class)

Can you help to solve it ?

AntiAdvertisement is not skript, is it a plugin. :/
you better use skript-yaml for yaml for now until skutilities gets yaml update (if it ever does)