-
Notifications
You must be signed in to change notification settings - Fork 0
Database, Placeholder and API
casqidev edited this page Jun 7, 2026
·
3 revisions
Storage is selected from config.yml.
Available types:
- YAML
- SQLite
- MySQL
- MariaDB
SQLite is default and recommended for small/medium servers. MySQL or MariaDB is recommended for networks and larger servers.
Internal placeholders currently include:
%koth%%kothname%%mode%%location%%capturer%%time%%time_left%%player%%previous%%capturer1%%capturer2%%capturer3%%top1_points%%top2_points%%top3_points%%my_points%
MimiKoth exposes a simple public API through:
MimiKothAPI api = MimiKothAPI.get();Example:
Koth koth = MimiKothAPI.get().getKoth("spawn");
MimiKothAPI.get().startKoth("spawn");
int points = MimiKothAPI.get().getPlayerPoints(player);Available events:
KothStartEventKothEndEventKothCancelEventKothCaptureStartEventKothCaptureStopEventKothCaptureCompleteEventKothKingChangeEventKothPointsGainEventKothRewardGiveEvent
Example:
@EventHandler
public void onKothStart(KothStartEvent event) {
// Example
}