How would you load a map from a directory?

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

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

camnooten

Member
Feb 18, 2017
15
1
0
34
Ok.. so i'm working on this SkyWars skript and I was wondering how to load a file from a directory. For example:

code_language.skript:
load from file "server/plugins/Core/SkyWars/maps"

Can someone tell me how to do this?
 
Ok.. so i'm working on this SkyWars skript and I was wondering how to load a file from a directory. For example:

code_language.skript:
load from file "server/plugins/Core/SkyWars/maps"

Can someone tell me how to do this?

Worlds
Addon: Umbaska
Patterns:
create [a] new world [name[d]] %string%
delete world %string%
unload world %string%
load world %string%
create world named %string% from [folder] %string%
Req: Umbaska 1.5
Example:
create a new world named "Maeyrl"
delete world "Funnygatt"
unload world "Nfell2009"
load world "Umbaska"
create world named "MostFunGuy" from folder "worlds"

https://www.skunity.com/Umbaska

Move File
Addon: skUtilities
Patterns:
move file %string% to %-string%
Moves a file to the location you tell it to
Example:
move file "plugins\test.txt" to "testfolder"
#checks in "plugins\test.txt" and moves it to "plugins\test

https://www.skunity.com/skUtilities
 
Status
Not open for further replies.