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.
Tags:
  1. TX Plugins
    Contributors:
    Lego_freak1999, XanderWander
    Supported Minecraft Versions:
    • 1.13

    Warning!


    This api discontinued we recommend u to use:
    https://forums.skunity.com/resources/skript-yaml.362/

    This api is not efficient in anyway for ur server.
    to read more about efficiency read here:
    https://forums.skunity.com/threads/player-data-system.10951/

    Though i leave this online if someone wants to work with yaml without any form of caching or manipulation. (Except color codes).

    If for some reason someone has a question pls send it to @Lego_freak1999 since he remains active on the forums.


    This addon allows you to use yml as a config. The syntax is similar to the skutillities addon. There for this script is incompatible with skutillities. With this skript you are able to save different types of objects in a yaml like items. This can be very usefull for saving an inventory etc. Also you are able to set a yaml list directly like this:
    Code (Skript):
    1.  
    2. # Set a yml list directly
    3. set yaml list "config" from file "config" from folder "pluginfolder" to {_list::*}
    4.  
    5. # Set & Retreive an item from yml (keeps enchantments & names!)
    6. set yaml value "item" from file "config" from folder "pluginfolder" to player's tool
    7. set player's tool to yaml value "item" from file "config" from folder "pluginfolder"
    8.  



    Code (Skript):
    1. y[a]ml value %text% (from|of) file %text% (from|of) folder %text%
    2. y[a]ml list %text% (from|of) file %text% (from|of) folder %text%

    Boolean
    Integer
    Item / Material
    Location
    Number
    Offline Player
    Player
    Text
    UUID
    Vector

    Code (Skript):
    1. set {_val} to yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder"
    2. set yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder" to 12
    3. delete yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder"
    4.  
    5. set {_val::*} to yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
    6. add "val-1" to yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
    7. remove "val-1" from yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
    8. set yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder" to {_list::*}
    9. delete yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"

    © 2018 TX-Team All Rights Reserved

    If you modify this script you will be excluded from support.

    Refunds are at our discretion only. (If applicable)
    You're not to redistribute this in any form, original, modified or other.

    We are not liable for any breakages.
    All right are reserved.
    This script is made with Skript not Java. This can't be used as an excuse for a refund. (If applicable)
    If any rules are violated further support will be discontinued.
    If you encounter any problems feel free to contact us and we are happy to help.
    Support can be discontinued at any time at our discretion.
    Ayham Alali likes this.

Recent Updates

  1. UpperCase Fix
  2. Addition

Recent Reviews

  1. xMistical
    xMistical
    5/5,
    Version: 0.3
    Great API! I like the idea of saving items (skript-yaml has that function, but skUtilities does not) That's why you have my support and keep improving it!
    1. TX Plugins
      Author's Response
      Thanks for the review! Feel free to suggest any ideas on how to improve it.