Solved SkUtilities YAML get none

  • 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 community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
G

Goetheus

Hi everybody!

I have a little problem with a yml file. I can't get the value. It returns "<none>" :/

My code:
code_language.skript:
set {_name} to yaml value "test.value" from file "config\test.yml"
send "%{_name}%" to player

My test.yml file in the folder "config":
code_language.skript:
test:
    value: Goetheus
 
Last edited by a moderator:
Indent Goetheus to the next line, then add - before it with space between Goetheus.
 
Thank you, but I resolved my problem!
The path was not good! You need to put entire of it from the root of the server and not from Skript folder...
 
Status
Not open for further replies.