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.

API TXyaml

Discussion in 'APIs' started by TX Plugins, Nov 19, 2018.

Tags:
  1. TX Plugins

    TX Plugins New Member

    Joined:
    Nov 18, 2018
    Messages:
    4
    Likes Received:
    2
    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.


    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"
     
  2. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    This doesn’t cost money so why would there be a refund? Also how are you going to stop me from modifying this and using it? Your TOS should be renamed to “Guidelines” or “Rules” as it has no legal value and therefor is not a TOS.
     
  3. TX Plugins

    TX Plugins New Member

    Joined:
    Nov 18, 2018
    Messages:
    4
    Likes Received:
    2
    Thanks for the comment. About modifying the code this was wrongly written and was meant differently. (this has been updated). About the Refund stuff we wanted 1 text to work on all our scripts that aren't even online yett.
     
  4. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    Yea but it’s an API..
     
  5. KingAlterIV

    KingAlterIV Active Member

    Joined:
    Jan 26, 2017
    Messages:
    98
    Likes Received:
    16
    #5 KingAlterIV, Nov 22, 2018
    Last edited: Nov 22, 2018

Share This Page

Loading...