Agzam4

aka Agzam
Mindustry Plugin + Web Admin Panel
admin panel
Plugin for Mindustry with built-in web server, Telegram bot and permission system. Requires no more than 1 GB of RAM (linux + mindustry + plugin)
JavaReactTypeScriptSQLiteREST APITelegram APIGradleJava APT
Annotation processor for generating TypeScript API and HTTP client from Java code
Architectural decisions and memory optimization

Architecture and goals

The project is a platform combining a game server, web panel, and Telegram bot. The Java core intercepts in-game events and serves as the foundation for a sub-plugin ecosystem. The React frontend and Telegram bot provide interfaces for remote monitoring and administration of the entire system

Custom web framework (with Dependency Injection)

A lightweight system built on top of com.sun.httpserver, with automatic generation of TS types, methods, hooks, and the backend itself

Lightweight ORM

A microscopic reflective database management system

2D Pixel Physics Engine
simulation
Pixel-level material physics engine in Java
Java
Infinite world based on dynamic grid (no hard map size limits)
Terraria Flying Islands Generator
generated map screenshot
Generator of floating island worlds for Terraria in JavaScript. Procedural generation of biomes, dungeons, pyramids, temples, trees and other structures
JavaScriptProcedural generation
No libraries
how it works / why

Generation

The process runs in a Web Worker to avoid blocking the browser UI thread. Terrain is formed based on various noise algorithms, then filled with structures, and finally everything is assembled into a ready-made binary world file and downloaded

File format

Had to adapt BinaryWriter from C# to JS

Issues

There were complaints about inability to generate on weak mobile devices