Skip to content

AfterLands/AfterCore

Repository files navigation

Afterlands Logo

AfterCore

The Core Library for the AfterLands Ecosystem

Website Discord Status


AfterCore is a high-performance library plugin for Minecraft 1.8.8 (Java 21).
It creates a shared infrastructure (Database, Inventory Framework, Command Framework, Actions, Conditions) to eliminate code duplication across all AfterLands plugins while maintaining 20 TPS at high concurrent players.

🌟 Key Features

📦 Inventory Framework

A powerful YAML-based GUI system designed for performance.

  • Smart Caching & Async Loading
  • Pagination: Native, Layout, or Hybrid modes
  • Animations: Frame-based item animations
  • Variants System: Conditional items (dynamic state)
  • Extended Actions: Logic branches (success/fail) directly in YAML

⚡ Command Framework

Annotation-driven command handling.

  • Param Injection: Auto-resolve logical dependencies
  • Rate Limiting: Configurable @Cooldown
  • Aliases: Dynamic runtime aliases & @Alias support
  • Async Execution: ctx.runAsync() support

🔧 Core Services

  • ActionService: Unified string-based action parsing (open_panel, sound, console_command, etc.)
  • ConditionService: Logical expression evaluation (%money% >= 100)
  • Persistence: Efficient data handling with CompletableFuture

📚 Documentation

The complete documentation is available in our GitHub Wiki.

🛠️ Tech Stack

Java Minecraft Maven

🚀 Usage

Building

mvn clean package

Dependency (Maven)

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.afterlands</groupId>
    <artifactId>AfterCore</artifactId>
    <version>1.5.1</version>
    <scope>provided</scope>
</dependency>

Getting the API

AfterCoreAPI core = AfterCore.get();
InventoryService inv = core.inventory();

Developed with ❤️ by the AfterLands Team.

About

AfterLands - Core Library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages