Minecraft Java Plugins & Server Management

SkyFactions2

State Machine Spatial Maths Custom YAML I/O RBAC

APIs Used: Vault, WorldEdit, WorldGuard

  • API Integration: Leveraged the WorldEdit API to programmatically paste starting schematics and the WorldGuard API to generate protected 3D regions.
  • State Management & Data: Built an event-driven state machine to govern server-wide diplomacy and intercept entity damage events. Wrote custom YAML File I/O classes to persist faction states across server reloads.
  • Spatial Logic & Protection: Programmed chunk-based coordinate maths to calculate territory claims.

Role-Based Access Control:

  • Hierarchical Tiers: Programmed a strict three-tier hierarchy (Leader, Officer, Member) natively saved in local data structures.
  • Command Gateway: Wrote validation checks for all routed commands, restricting critical geopolitical actions (declaring war, disbanding) to Leaders, while allowing Officers to manage day-to-day territorial operations.

WallStreetV2

Procedural Gen Event-Driven Spatial Maths RBAC

APIs Used: WorldEdit

  • Procedural Generation: Hooked into the WorldEdit API to physically spawn large-scale mine regions, utilising a "RandomPattern" WorldEdit-algorithm to generate terrain based on exact weighted percentages.
  • Batch Processing: Implemented server-side schedulers to automate daily tasks, such as resetting corporate mines every 24 hours.

Role-Based Access Control:

  • Role Tiers: Built a custom corporate ranking system (CEO, Manager, Trusted, Banished) to manage employee access levels.
  • Event Interception & Boundaries: Intercepted player movement and interaction events to dynamically track chunk entry/exit, updating UI elements in real-time while calculating if a broken block fell within specific 3D region bounds to enforce build permissions.
  • Explicit Blacklisting: Implemented a "Banished" state to actively block specific players from interacting with company properties, overriding standard baseline permissions.

Production, Live Operations & Results

Running this server for 200+ lifetime users was an incredible experience that bridged the gap between a lifelong hobby and professional software engineering. Beyond just writing the Java code, I had the opportunity to engage directly with an active community. Deploying these plugins to a live user base provided experience in responding to user feedback, pushing hotfixes, and reading crash logs.

While these specific repositories are archived, the backend architecture principles, including API hooking, RBAC, and spatial mathematics, will continue to inform my current approach to enterprise software development.

These plugins were originally written in 2024 and have recently been uploaded to GitHub for archival.