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 skript-yaml v1.2

YAML the way it should be

  1. More features

    Code (Text):
    2. Added even more things to make the addon more feature complete
    4.   - Added effect `[re]load all [y[a]ml] from [(1¦non[(-| )]relative)] director(y|ies) %strings% [using [the] filename as [the] id]` (loads all .yml from a directory thx pikachu for the idea)
    5.   - Files are now saved with additional lines between each node
    6.     - Updated 'Save yaml' effect to...
    7.       - `save [y[a]ml] %string% [(1¦without extra lines between nodes)]`
    8.   - Comments and header no longer add additional lines by...
    KingAlterIV likes this.
  2. Bug fix

    Removed AsyncEffect from save effect due to issues

    To reproduce said issue...

    Code (Skript):
    2. On script load:
    3.    load yaml "plugins/skript-yaml/test/test.yml" as "test"
    5. command /test:
    6.    trigger:
    7.        loop 100 times:
    8.            set yaml value "node1.node2.node3" from "test" to 1
    9.            save yaml "test"
    KingAlterIV likes this.
  3. v1.1.5

    Added a couple more things to make the addon more feature complete

    • Added effect delete [y[a]ml] %string% (deletes the file and removes it from memory)
    • Added condition [skript-]y[a]ml %string% is[(n't| not)] empty (only checks if there are any nodes)
    KingAlterIV likes this.
  4. v1.1.4

    Workaround for Async issue
    TheIronMinerLv likes this.
  5. Bug fixes

    • Fixed a bug with 'skriptclass' values from root nodes not returning properly
    • Fixed a bug with getting names of nodes
    Thanks @Simuciokas for spotting those!
    FUZIK likes this.
  6. Root directory support

    Root directories
    • Added root directory support
    • Updated Load yaml syntax to [re]load [non[(-| )]relative] [y[a]ml] %string% [as %-string%]
    Code (Text):
    2. #If the server is on drive D:\(on windows) for example then that would be the root path
    3.    load non-relative yaml "RootFolder/MyAwesomePlugin/config.yml"
    4. #Otherwise you can specify a drive
    5.    load non-relative yaml "C:/RootFolder/MyAwesomePlugin/config.yml"
    TheIronMinerLv likes this.
  7. Bug fixes

    Fixed lots of bugs in this version!
    (Added Skripts serializer)
    • Existing files didn't weren't being loaded(oops) and other various things related to this.
    • Headers require # for the first character if you don't use one then ## will be used by default
    • All nodes expression now only returns nodes that contain values
    • Classes such as Location, Vector or any Skript class weren't being saved properly
    • yaml node keys weren't working properly
    • added null checks to get...
    Alexlew likes this.
  8. Comment away

    • Removed Yaml exists condition(it was useless) in favor of Skripts built in condition(still need to test it :3)
    • Added Node has value condition
    • Added comments and header expression
    • Switched to the same YAML processor that world edit uses since it has comment and header support already

    (check github for docs)
    Snow-Pyon likes this.
  9. Adding jar to forums

    testing a thing
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Support skUnity

    The staff team works very hard to make sure the community is running its best. This means constantly performing upgrades to systems and other features. This does cost a bit of money to keep doing. Donating to skUnity would allow the server to keep running smoothly for years to come!

    Support Us!
  • Join Our Discord

    Discord is an all-in-one voice and text chat for gamers that’s free, secure, and works on both your desktop and phone.