Getting Started
Overview
XCore is the central framework the X plugins are built on. It provides shared infrastructure so the plugins don't need to implement their own database, cache, sync, GUI, or economy systems.
What XCore provides
- 3-Layer Cache — Caffeine (L1 local) → Redis (L2 shared) → Database (L3 persistent)
- Cross-Server Sync — Redis Pub/Sub or database polling, multiplexed for every plugin, each channel with its own protocol version
- Multi-Database — MySQL, PostgreSQL, SQLite with HikariCP pooling
- GUI Framework — YAML-driven inventories with pagination, animations, sounds, actions
- Language System — Per-plugin MiniMessage lang files with automatic default merging
- Built-in Economy — Multi-currency with Vault provider, exchange, history
- Money: one way for every plugin to take and give money, in an XCore currency or in another plugin's economy behind Vault, with the currency's rounding (2.1)
- Web Dashboard — HTTP server with REST API and a module system for plugins. Each staff member sees and does what their in-game permissions allow
- Plugins and Addons — Since 2.0 the X plugins are Paper plugins of their own, in
plugins/, built onXPlugin. Addons still load fromplugins/XCore/addons/ - Deliveries — What a plugin owes a player but cannot hand over is stored and given on join
- Leaderboards — Declared once, kept in memory, served as placeholders
- Network Registry — Which servers are up, and which one a player is on
- Discord — One webhook queue for the whole installation, with rate-limit handling
- Play Time — Counted per player across sessions
- UUID Changes — A player who comes back under a new UUID keeps their data, in XCore and in every plugin that follows them
- Folia Compatible — Full region threading support via SchedulerAdapter
Requirements
- Paper 1.21.1+ (or Folia)
- Java 21+
- Vault — Optional. The economy runs without it; Vault is only needed to expose balances to other plugins
- PlaceholderAPI — Optional, for placeholders
XAuctionHouse, XBans and XLogin 2.0 run on any XCore 2.x, XAntiLag 2.1 needs XCore 2.0.1, and XShop needs XCore 2.1. None of them loads on XCore 1.x.
Installation
- Place
XCore.jarin your server'splugins/folder. - Place each plugin's jar (XBans, XLogin, XAuctionHouse, XAntiLag, XShop) in
plugins/too, next to XCore. - Start the server. XCore generates
plugins/XCore/config.yml. - Configure the database, Redis, economy, and web dashboard.
- Each plugin gets its own config at
plugins/<name>/config.yml.
Addons, the jars that carry an addon.yml, still go in plugins/XCore/addons/. Coming from XCore 1.x, where the four plugins were addons? Follow Upgrading to 2.0.