Skip to content

Quick Start: Your First Plugin

Build a plugin that adds a /hello command that responds in chat.

A simple plugin that:

  • Registers a /hello command
  • Responds with a message when used

Time: ~10 minutes

Make sure you have:

Create a new Java project with this structure:

hello-plugin/
├── src/main/java/
│ └── com/example/hello/
│ └── HelloPlugin.java
└── pom.xml

Create pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>hello-plugin</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.hypixel.hytale</groupId>
<artifactId>Server</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

Create HelloPlugin.java:

package com.example.hello;
// Note: API details are still being documented
// Check community resources for current examples
// Server is not obfuscated - decompile to explore the API
public class HelloPlugin {
// Plugin implementation
// Register a /hello command that sends a message
}

Run Maven to compile your plugin:

Terminal window
mvn package

This creates target/hello-plugin-1.0.0.jar.

  1. Copy hello-plugin-1.0.0.jar to your server’s mods/ folder
  2. Restart the server

In-game, type /hello - you should see a response message.

  • Check server console for errors
  • Verify Java version matches (Java 25)
  • Ensure .jar is in mods/ not a subdirectory
  • Decompile the server to check command registration API
  • Look at example plugins on GitHub
  • Make sure you’re using --disable-sentry during development
  • Check the FAQ for common issues