javac
.skript/
.bsk
.
All .bsk
files in this directory and its subfolders will be compiled/loaded.libraries/
.jar
syntax libraries that other people create.
If you've created custom syntax, you can put the compiled .class
files here as well.resources/
compiled/
.class
or .jar
files, the output will go here.
This folder is never emptied, so make sure to delete any old versions before re-compiling.java -jar ByteSkript.jar run
java -jar ByteSkript.jar run path/to/script.bsk
skript/
folder. All scripts will be loaded internally, but no classes or jar files will be written.run
argument, only that script will be run.on [script] load
event will be triggered for each script as an entry point.java -jar ByteSkript.jar compile
.class
files for each script in the skript/
folder. The classes produced by this are not directly executable, but may be useful for sharing and special loading..class
files to the libraries/
folder.java -jar ByteSkript.jar jar
java -jar ByteSkript.jar jar MyJarName
skript
namespace and functions.)jar
argument - the .jar
suffix will be appended automatically.java -jar JarName.jar
and is distributable - it does not need anything as a dependency.on [script] load
event will be triggered for each script as an entry point.v1
and v2
. Both are available and easily accessible, but may be suited to different tasks.skript
namespace are some for accessing JVM resources which can be used to build more advanced functionality.v1
syntax API offers complete control of syntax, including writing bytecode instructions, look-aheads, additions, etc.(a, b, ...)
has to use the v1 API to create variable-size arrays.v2
syntax API is significantly easier to use, but offers much less control over syntax.