▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Comparator
Comparator

Comparator

Comparator is a lightweight plugin, that allows you to take full control over your event, giving your event the highest potential of success.

Оцените первым
14
0

Comparator 1.0.0

First public release. Comparator rolls a stack of event and minigame systems into one plugin, so you don't have to run a dozen separate ones to put on a match. Built for Paper/Folia 1.21 on Java 21, and it runs properly on Folia's region threads (no global scheduler calls anywhere).

How it works

Your event runs through a five-stage state machine: lobby, pre-game, in-game, paused, and post-game. PvP, stat tracking, and the live event systems turn on and off automatically depending on the stage, and starting or ending a game fires reward triggers for you.

StatePvPStatsEvent systems
Lobbynonono
Pre-gamenonoyes
In-gameyesyesyes
Pausednonoyes
Post-gamenoyesno

What's in it

Events and teams - create, start, pause, resume, and stop events. Manage teams with display names and live membership, plus per-player profiles. A default event is set up for you on startup.

Hearts (lifesteal) — active and banked heart balances that actually change max health, a configurable steal-per-kill, and player-to-player transfers.

Combat and objectives — eliminations and revives with logged reasons, safe and no-build zones, and KOTH-style capture scoring. Capsule spawning samples the terrain in the background to spread players across the map, avoid water, and keep everyone spaced out.

Tournaments — single-elimination and round-robin brackets with seeding, result reporting, and live standings, all hooked into the dashboard and scoreboard.

Stats and rewards — async, batched tracking for 11 stats (kills, deaths, damage dealt and taken, healing, blocks placed and broken, items crafted, distance, captures, rewards earned) with leaderboards. Rewards are defined in rewards.yml and can run commands, give items, change health, or show titles on state changes.

Interfaces — a 7-page dashboard GUI, a state-aware sidebar scoreboard, and a lightweight web dashboard that's token-gated and runs on the built-in JDK HTTP server (no extra dependencies).

Storage and integrations — async batched SQLite for stats, audit log, and analytics, a PlaceholderAPI expansion, and bStats metrics.

There's also a public API so other plugins can soft-depend on Comparator, and /comparator reload reloads config and services without a restart.

World events

Six built-in events you can trigger live or from the dashboard:

IDEffect
supply-dropDrops contested loot for players to fight over
blood-moonForces night and opens a combat window
border-collapseShrinks the border to force late-game fights
meteor-stormRains explosive impacts across the arena
sudden-deathShrinks the border to a small radius over 30s
resource-rushTime-boxed resource surge

Commands

Everything runs under /comparator (alias /cmp), and all of it supports tab-completion for player names, enums, and live IDs.

CommandWhat it does
statusOverview: state, active event, teams, zones, tournaments, persistence
reloadReload config and reloadable services
dashboardOpen the GUI
event <create|start|pause|resume|stop|list>Manage the event lifecycle
state <state>Force a state transition
team <create|join|leave|list>Manage teams and assignments
capsule <plan|dispatch> [radius]Plan or dispatch capsule spawns
eliminate <player> [reason]Eliminate a player
revive <player>Revive a player
hearts <balance|give|take|set|bank|withdraw|transfer>Manage the heart economy
zone <create|list>Create or list zones (create <id> <type> <radius>)
worldevent <trigger|list>Trigger or list world events
tournament <create|entrant|seed|result|standings|list>Run tournaments
stats [statistic]Show a top-10 leaderboard

Permissions

comparator.admin covers everything and comparator.dashboard only opens the GUI. Both default to op.

Config

Settings live in config.yml. A few defaults worth knowing: the web dashboard runs on port 8087, capsule spawning uses a 1600 default radius, and there are sections for the SQLite database, lifesteal hearts (starting/min/max and steal-per-kill), zone capture timing, the scoreboard, and integration/metrics toggles.

Build

Paper/Folia 1.21, Java 21. Built with Gradle 9.3 and Shadow, producing Comparator-0.1.0.jar. SQLite is shaded but not relocated (it needs that for native libs), bStats is relocated, and PlaceholderAPI is compileOnly.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад
Главная