RPG systems · Client work, anonymised

Looter RPG on Folia

A looter-shooter RPG layer for a Folia server: gear with a light level, classes with abilities, loot and engrams, zones, fireteams that revive each other, quests, NPC vendors and a travel map. Eleven plugins on one shared core, tested end to end with bots on a live server.

39,387lines of Java
11plugins on one core
1,152live checks passed

The problem

The client wanted the loop of a looter shooter inside Minecraft: every drop has a light level, your gear decides what you can fight, and zones, missions and vendors all read from the same profile.

It had to run on Folia, where every entity and block belongs to a region thread, and it had to stay maintainable as one system grew into eleven.

What we built

  1. 01Core: profiles, base level and xp, light-level combat scaling, currency and wipes, plus the API the other plugins use
  2. 02Gear: items with rarity, stats, temper and infusion, a gear menu and per-slot item nests
  3. 03Loot: loot tables, drop level rules, currency drops and engrams
  4. 04World: zones with types and border gates, player zone tracking, fireteams, a downed state and respawns
  5. 05Classes: abilities, energy and the class manager
  6. 06Mobs, quests, missions and bounties with zone locks, NPC dialogue and vendors
  7. 07Material storage, vault and grimoire
  8. 08A travel map with nodes and patrol beacons, and a synthesis system for turning matter into blocks

Technical decisions

The calls that shaped the build, and why we made them.

  • One plugin per system

    Each system ships as its own jar on the core's classpath, so every module talks to one shared API and reuses the core's single MongoDB client instead of opening its own.

  • Region threads first

    Nothing touches an entity or block from a thread that does not own it, and database calls never run on a tick thread. That is the rule Folia enforces, so it was the rule from the first commit.

  • Downed, not dead

    A lethal hit puts the player into a downed state that a fireteam member can revive. A wipe only happens when the whole team is down.

  • Swappable edges

    NPCs sit behind one interface and the travel map behind a renderer interface, so the NPC plugin or the map display can be replaced without touching quests or travel logic.

  • Tested with bots

    Scenario files drive bot players through a live server with every module installed: joining, equipping gear, fighting, travelling and opening menus, on top of the unit tests.

Stack and size

Counted from the repository

Java
39,387 lines in 492 files
Modules
12: a shared API and 11 plugins
Unit tests
468 in 76 test classes
Live tests
12 bot scenarios, 1,152 checks
Platform
Folia 26.2, folia-supported in every plugin
  • Java 25
  • Folia 26.2
  • IgniteAPI
  • MongoDB
  • ACF
  • FancyNpcs
  • JUnit 5
  • IgniteTestTool

Outcome

The final recorded test run passed all 12 bot scenarios against a live Folia server: 1,152 checks, no failures, in 332 seconds.

Need something like this?

Tell us what the server needs. You get a fixed price and a delivery date back, usually the same day.