Skip to main content

Custom Java Plugins

For complex features that go beyond what Skript can handle, the AI can write Java Bukkit plugins, compile them, and install them — all directly on your server.

When to Use Java vs. Skript

Most of the time, the AI uses Skript for custom features because it is faster to create and easier to modify. But some tasks are better suited to a full Java plugin.
You do not need to decide which approach to use. Just tell the AI what you want, and it will choose the best tool. If you have a preference, mention it: “use Skript for this” or “build this as a Java plugin.”

How to Ask the AI

Describe the plugin you want. The AI handles the entire development process.
1

AI creates the project structure

Sets up a Gradle project with the correct directory layout, build.gradle with Paper API dependencies, and plugin.yml with commands and permissions.
2

AI writes the Java source code

Creates all necessary Java classes — main plugin class, event listeners, command handlers, utility classes, and configuration.
3

AI compiles the plugin

Runs ./gradlew build to compile the Java code into a JAR file. If there are compilation errors, the AI fixes them and retries.
4

AI installs and loads the plugin

Copies the compiled JAR to the plugins/ folder and hot-loads it with PlugMan. No server restart needed.
5

AI verifies it works

Checks server logs for errors and may run test commands to confirm the plugin loaded correctly.

Development Tools on Your Server

Your server has a full Java development environment pre-installed:

Modifying Plugins Later

The AI saves plugin source code to a location on the server so you can ask for modifications later:
The AI finds the existing source code, makes the changes, recompiles, and reinstalls the updated plugin.
Plugin source code and compiled JARs persist across server restarts and hibernation. Your custom plugins survive indefinitely.

Examples

The AI creates a plugin using hologram APIs, stores scores, and updates the display periodically.
The AI writes inventory-based GUI code with click handlers for each menu item.
The AI sets up Vault as a dependency, hooks into the economy API, and creates the transfer command.
Custom Java plugins are powerful but more complex to debug than Skript. For most custom features (commands, events, scoreboards, kits, minigames), Skript is the faster and simpler choice. Reserve Java plugins for features that genuinely need compiled performance or access to APIs that Skript cannot reach.