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

  1. L

    How to read a list from an external file

    I understand how to read from an external file, but i am trying to read from a list of items/blocks, but I can't quite get how to do that. And what I mean is like: ``` on pickup: if item is {antyhing from common_items.txt}: set the 1st line of the item's lore to "&f&lCOMMON" ``` Because...
  2. W

    Solved Saving to yaml file

    Hey everyone, just wondering the best, up to date, way of saving data/variables to a yaml file. I know you can do it using skUtilities however that addon seems to be abandoned. Any help is much appreciated!
  3. M

    How can I get information from a yml file

    Hello everyone. I am trying to get info from a yml file. Below are its contents (I can't find how to make codeblocks). Is it possible to get a list of homes from the file and check if a home of a specific name is in it? Thanks in advance homes: ....creativetest: ........//info about home...
  4. w1nst0n

    Getting Text from Log File

    Hey lads! Is it possible to get the data (aka text) from a log file as a variable in Skript? I looked in the Skript docs and there is only writing to a file... is there a well-known addon with this feature? By the way, I'm sorry that this help request doesn't follow the requested format. I...
  5. G

    Loop file names

    How can i loop file names in directory? ~ Sorry for this bad english.
  6. J

    Write Variables in .yml file

    I want to write variables (%loop-player%) to a .yml file. I have made this script: on load: ...wait 2 seconds ...if file "plugins/ProDuels/scoreboard.yml" doesn't exists: .........create file "plugins/ProDuels/scoreboard.yml" "line 3: '&3» &7&lNick &c%loop-player%'" to...
  7. J

    Skript Config File

    I have a problem with my plugin this is the code: on load: - if folder "plugins/AutoAfkHypixel" doesn't exists: - create folder "plugins/AutoAfkHypixel" if file "plugins/AutoAfkHypixel/config.yml" doesn't exists: - wait 1 tick - create file...
  8. couger44

    Lines of file

    I need help: How can i detect line(s) of a yml? Skript Version: 2.2 Addons: WildSkript, SkQuery, Skellet, SkRayFall, SharpSk, RandomSk Error on load: Minecraft Version: 1.8.8
  9. Gamebuster

    Solved How and Where does skript convert text into Java bytecode

    I'm just wondering what class actually converts a skript file into bytecode, and how it actually does so at runtime. I was thinking about making something similar to skript for something else, and I just kinda want to know how skript does it to see if it's a better design, but I can't seem to...