I don't know how active this project still is but I'd love to see it being worked on. Anyways...
Because scripts are referred to using their file name (not their path) (e.g.
|
scriptName = scriptPath.getFileName().toString().replaceAll("(.+)\\..+", "$1"); |
), skript-parser does not support cross-directory same named scripts.
If I may, I suggest you make a dedicated Script class.
I don't know how active this project still is but I'd love to see it being worked on. Anyways...
Because scripts are referred to using their file name (not their path) (e.g.
skript-parser/src/main/java/io/github/syst3ms/skriptparser/parsing/ScriptLoader.java
Line 52 in d2c9293
If I may, I suggest you make a dedicated Script class.