HomeJavaModsChaLib [1.8 - 26.1]
ChaLib [1.8 - 26.1]
ChaLib
Core Library for the Cha Plugin Series
Version: 1.5.10 | Java: 8

Support & Feedback
If you have any questions, encounter any issues, or have suggestions for improvements, feel free to reply directly below on this resource page.
Bug reports, feedback, suggestions, and feature ideas are always welcome.

Overview
ChaLib is the official shared library and core dependency for the Cha plugin series.
It provides a unified foundation for plugins in the series by including shared utilities, reusable methods, core systems, internal support functions, and developer-oriented APIs.

This plugin is intended to work as a backend dependency rather than a standalone gameplay plugin.
If another Cha plugin requires ChaLib, it must be installed in order for that plugin to work properly.

In the current version, ChaLib also provides a number of practical core functions used throughout the Cha ecosystem, including command parsing, GUI compatibility wrappers, database integration, scheduler utilities, economy/region adapters, config wrappers, cache tools, and reusable custom events.

Included Core Support
ChaLib includes shared systems such as:


The exact usage of these systems depends on which Cha plugins you are running.

Key Features

Commands
Code (Text):

/chalib help
/chalib help <page>

/chalib message <message>                # OP player only, send message to self
/chalib message <player> <message>       # Console only

/chalib pool                             # OP or Console, show MySQL pool stats
/chalib entity                           # OP or Console, show registered entities
/chalib refresh gui                      # Player, refresh GUI manager cache
/chalib reload                           # OP or Console, reload config + debug flag
 
Permissions Model
This plugin currently uses sender-role control in code:

No standalone permission nodes are currently declared in plugin.yml for command branches.

Dependency Notice
Some Cha plugins require ChaLib to be installed before they can load correctly.
Please check the dependency information on each plugin page.

Installation
  1. Put the ChaLib jar into your server's plugins folder
  2. Install any optional dependency plugins required by your actual feature usage
  3. Start the server once to generate config files
  4. Edit config.yml based on your environment
  5. Use /chalib reload after changes

Make sure you are using the correct version combination for your server and dependent Cha plugins.

Configuration
Default config:
Code (YAML):

database
:
  enable
: false
  schema
: "cha_plugin"
  username
: "root"
  password
: "root"
  host
: "localhost"
  port
: "3306"
  share
: false

pool-size
: 100
addon-event
: false
quartz-persistence
: false
 
Config notes:

Developer API Events
Code (Text):

TickEvent
AsyncTickEvent
PlayerJumpEvent
DayChangeEvent
MysqlEnableEvent
MysqlDisableEvent
PlayerSlotLoadedEvent
 
Usage Notes

Compatibility

Important
ChaLib is not meant to be used as a standalone gameplay plugin.
Its main purpose is to support other plugins in the Cha series.

If you install ChaLib by itself, you may not see direct player-facing features.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ChaLib [1.8 - 26.1] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 15 times (via Spigot). Download it and open it directly in the game.

Explore more