← 输入框|vulcode.com|刷新

Java Development: Minecraft Plugins, Spring Boot

We write Java mainly for Minecraft plugins on Paper, Purpur and Folia. Outside games we use it in Spring Boot services.

The projects we write in Java

Projects from the portfolio and the case studies, each with a short note on what this language does in it.

When we choose it, and when we do not

Where we use it

  1. 01

    Plugins for Paper, Purpur and Folia

    Frozcraft runs on Paper and Folia from one codebase. An action about a player runs on that player's region thread, so the plugin does not hang the server.

  2. 02

    Store deliveries into the game

    Frozcraft receives purchases from the Flaem store over a Unix socket and hands them to players in the game. The socket is reachable only on that machine, so the plugin opens no port to the internet.

  3. 03

    Requests off the game thread

    The plugin collects player stats and runs actions on players. HTTP requests land on Java virtual threads, never on the thread that runs the server's ticks.

  4. 04

    Add-ons installed at hosting customers'

    Flaem add-ons install on the hosting customers' game servers. Such a server already runs on Java, so an add-on is one jar file with no extra runtime.

  5. 05

    Bookings without double slots

    slotline books rooms, courts and equipment on Spring Boot with PostgreSQL. A resource lock inside the transaction and a concurrency test make sure two people cannot take the same slot at once.

  6. 06

    Services with a documented API

    In slotline, Flyway migrations and springdoc-openapi docs come with the code, and Spring Security with JWT tokens guards access. Many developers know Spring Boot, so the service is easy to hand on.

When we choose something else

  1. 01

    Small scripts and bots

    A server script and a Discord bot in Python are ready sooner and need no JVM. We keep Java for where a game or a large service needs it.

  2. 02

    An agent running in the background

    The JVM needs time to warm up and takes memory before it does anything. We write an agent for someone else's machine in Go, as one small binary.

  3. 03

    A panel to manage the server

    We write the screens for managing a game server in React and TypeScript, and the Java plugin only carries out commands in the game. The interface does not live in the server's code.

  4. 04

    A new JVM service

    When a JVM service is not a game plugin, we consider Kotlin: empty values show in the types, and the code is shorter with the same libraries.

  5. 05

    SCP: Secret Laboratory plugins

    SCP: Secret Laboratory is written in C# on Unity, so we write its plugins in C#. Java stays with Minecraft.

  6. 06

    A hosting platform's core

    The Flaem store, billing and node orchestration are in Rust, and Java works only inside the game. The core has to run for years without garbage collection pauses, and Rust has no garbage collector.

Java or something else

A technology has to fit the place the code will run and the team that will take it over. The final choice is made in the quote, together with you.

Project Java Kotlin
A Minecraft plugin the most examples and libraries works too
A new JVM service Spring Boot shorter code
Empty values Optional and annotations, no compiler guarantee told apart in the types
Paper and Folia documentation written with Java in mind examples need translating
Concurrency virtual threads coroutines
Plugin size a small jar with nothing extra larger, with the Kotlin standard library
People to maintain it the easiest to staff fewer people, but they read Java easily

The libraries these projects stand on

From the dependency files of our repositories. With each, one sentence on what we use it for.

Our changes to other people's Java projects

2 changes in 2 projects. The maintainers of these projects reviewed our code and merged it into theirs.

  1. PaperMC/Paper 12,832 stars1 change
  2. diffplug/spotless 5,736 stars1 change

Frequently asked questions

Answers about Java and our projects.

How much does a custom Minecraft plugin cost?
A Minecraft plugin starts at PLN 299 (about EUR 67). We give the figure for your plugin in a free quote, sent within an hour.
Do your plugins run on Spigot?
Our new plugins target Paper, Purpur and Folia. We write a Spigot-only plugin when the client's server really needs it, and we say so before quoting.
Will I get the source code of the plugin?
Yes. You have access to the repository from day one, and once the work is accepted and paid in full the rights to the code pass to you.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.