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. ThinkingAboutIt
    Supported Minecraft Versions:
    • 1.7, 1.8, 1.9, 1.10, 1.11
    EzYML.sk

    Description:
    A simple function to speed up the process of creating YML files and adding values/lists into them.
    Usage:
    If you've ever used JSON.sk, you'll understand the way this function works.

    An example usage of this:
    Code (Skript):
    1.  
    2. on script load:
    3.     if existence of "plugins/DIR/config.yml" is false:
    4.         createYMLFile("../../DIR/config.yml", "val: enabled:true||val: test:1||lst: players:ThinkingAboutIt;ThinkingAboutIt2;ThinkingAboutIt3")
    This will create a file that looks like this:

    Code (Skript):
    1.  
    2. enabled: true
    3. test: 1
    4. players:
    5.  - ThinkingAboutIt
    6.  - ThinkingAboutIt2
    7.  - ThinkingAboutIt3

    Code (Skript):
    1. createYMLFile("FILE PATH", "VAL:  NAME:STATE||LST: NAME:LSTVALUE1;LSTVALUE2")
    You can add an infinite amount of values and lists in any order you want. Each action is separated by ||. The list values use ; to separate items in the list.

Recent Reviews

  1. BrettPlayMC
    BrettPlayMC
    5/5,
    Version: 1.2
    Amazing! <3
    1. ThinkingAboutIt