Build It Yourself
Compile AetherLink from source
Requirements
- Java 21 or newer (JDK, not JRE)
- Git (to clone the repository)
- Hytale Server JAR (for compilation)
Clone the Repository
git clone https://github.com/vendouple/AetherLink.git
cd AetherLink
Add Hytale Server JAR
The project requires the Hytale server JAR for compilation (it's not included in the repo).
- Obtain
HytaleServer.jarfrom your Hytale server installation - Create a
libs/folder in the project root (if it doesn't exist) - Copy
HytaleServer.jarinto thelibs/folder
Your structure should look like:
AetherLink/
├── libs/
│ └── HytaleServer.jar
├── src/
├── build.gradle.kts
└── ...
Build
On Linux/macOS
./gradlew shadowJar
On Windows
gradlew.bat shadowJar
Find the Output
The compiled JAR will be at:
build/libs/AetherLink-1.0.0-beta.1.jar
Copy this file to your Hytale server's plugins/ folder.
Build Options
Clean Build
Remove previous build artifacts before building:
./gradlew clean shadowJar
Skip Tests
./gradlew shadowJar -x test
IDE Setup
IntelliJ IDEA
- Open IntelliJ IDEA
- File → Open → Select the
AetherLinkfolder - Wait for Gradle to sync
- If prompted, trust the project
VS Code
- Install the "Extension Pack for Java" extension
- Open the
AetherLinkfolder - Wait for Java projects to load
Troubleshooting
"Could not find HytaleServer.jar"
Make sure you placed HytaleServer.jar in the libs/ folder at the project root.
Java version errors
Ensure you have Java 21 installed:
java -version
Should show version 21 or higher. If not, install Java 21 from Adoptium.
Gradle wrapper permission denied (Linux/macOS)
chmod +x gradlew
./gradlew shadowJar
Project Structure
| Path | Description |
|---|---|
src/main/java/ |
Java source code |
src/main/resources/ |
Plugin manifest and resources |
libs/ |
Dependencies not in Maven (HytaleServer.jar) |
build.gradle.kts |
Build configuration |
settings.gradle.kts |
Project settings |
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run
./gradlew buildto verify - Submit a pull request
See the GitHub repository for contribution guidelines.