Warning
This repository is a stub. While ByteCraft works, it only includes minimal syntax for interacting with the Bukkit server.
ByteCraft is a ByteSkript library that provides Paper server integration capabilities.
- Java 21 or higher
- ByteSkript compiler
- Paper server
- Download the latest bootstrap.
- Move the bootstrap JAR to your ByteSkript project's
libraries/directory. - Place your scripts in the project's
skript/directory. You may use this as an example:plugin: name: TestPlugin version: 1.0.0 on load: trigger: print "Hello from Test!" print "The server is on version " + getBukkitVersion() of the server - Run ByteSkript as normal:
java -jar ByteSkript-<VERSION>.jar jar(a total of threejars) - Get your plugin from
compiled/CompiledScripts.jarand place it in your server'splugins/folder - Restart your server
- Enjoy!
You must have git and Java 21 or higher installed.
Warning
Currently (2026-01-07), compilation using these steps does not work
because ByteCraft depends on features which are yet unreleased
in ByteSkript. To build using these instrcutions, you must first
build and install Mirror 5.0.5 and ByteSkript 1.0.41 by compiling
my fork of Mirror and my fork of ByteSkript
using mvn source:jar install
- Open the Terminal.
- Clone the repository using
git clone https://github.com/bluelhf/bytecraft/ - Move to it using
cd bytecraft - Build using
./mvnw package - The Bytecraft JAR is now available in
bytecraft-bootstrap/target/🎉
ByteCraft is split into three Maven submodules; an interface, library, and bootstrap.
- The library (
bytecraft-library/) contains practically all useful code, and there is little reason to look at any of the other directories. - The bootstrap (
bytecraft-bootstrap/) handles loading ByteCraft's dependencies and ByteCraft itself onto the classpath when ByteSkript loads. - The interface (
bytecraft-interface/) is only there so that the library and bootstrap have a common ground to use as the basis for service provider communication. At run-time, it is included as part of the bootstrap.