Repository navigation
Home
Welcome to the official Hearts Core documentation wiki. Hearts Core is a lightweight, high-performance Lifesteal plugin engineered specifically for Paper and Folia Minecraft servers.
- Overview & Requirements
- Installation
- Commands & Permissions
- GUI System
- Configuration Guide
- Economy & Shop Integration
- Folia & Geyser Compatibility
Hearts Core brings modern Lifesteal mechanics to your server with built-in GUI panels, economy integration, anti-farm protection, and combat logging checks.
- Server Platform: Paper, Folia, or compatible server software.
- Java Version: Java 17 or higher.
- Dependencies:
- Vault API (Required for shop functionality)
- Economy Provider (Required for shop functionality, e.g., EternalEconomy)
- Stop your server.
- Place HeartsCore.jar into your server's plugins/ directory.
- Ensure Vault and your preferred economy plugin (e.g., EternalEconomy) are installed in the plugins/ folder.
- Start your server to generate default configuration files (plugins/HeartsCore/config.yml).
- Configure config.yml according to your server preferences and restart or reload the configuration.
-
/hc hearts Description: Displays your current and maximum heart count. Permission: heartscore.command.hearts
-
/hc withdraw Description: Withdraws hearts into physical item form. Permission: heartscore.command.withdraw
-
/hcgui Description: Opens the main interactive player GUI menu. Permission: heartscore.command.gui
-
/hshop Description: Opens the heart shop menu. Permission: heartscore.command.shop
-
/hc admin hearts Description: Displays the heart count of a specified player. Permission: heartscore.admin.hearts
-
/hc admin add Description: Grants hearts to a specified player. Permission: heartscore.admin.add
-
/hc admin revoke Description: Takes hearts from a specified player. Permission: heartscore.admin.revoke
-
/hcgui admin Description: Opens the administrative management GUI. Permission: heartscore.admin.gui
Hearts Core includes built-in menu interfaces for simplified management:
- Player Main GUI (/hcgui): Displays current player statistics (Hearts, Kills, Deaths), quick heart withdrawal options, and navigation buttons for the shop.
- Admin Panel GUI (/hcgui admin): Allows administrators to visually select online players and instantly add, remove, or reset their heart counts without needing text commands.
- Heart Shop GUI (/hshop): Interface for purchasing extra hearts using server currency.
The main configuration file is located at plugins/HeartsCore/config.yml. All messages and titles support MiniMessage gradient and color formatting.
- starting-hearts (Default: 10): Number of hearts a new player receives upon joining.
- max-hearts (Default: 20): Maximum heart cap a player can reach.
- min-hearts (Default: 0): Minimum heart threshold.
- combat-tag-seconds (Default: 10): Time period after taking PvP damage during which environmental/trap deaths are credited to the attacker.
anti-farm: enabled: true kill-cooldown-seconds: 300 block-same-ip: true
Prevents players from farming hearts off the same player repeatedly or using alt accounts on the same IP address.
pvp: mode: DROP # Modes: DROP (drops heart item) or DIRECT (adds directly to killer) heart-loss: 1 killer-gain: 1
natural-death: heart-loss: 0 drop-heart: false
zero-heart: policy: ban # Policies: ban, kick, or spectator ban-reason: "You ran out of hearts." kick-reason: "You ran out of hearts." restore-gamemode: true
Hearts Core integrates with Vault to process shop transactions.
To enable the shop:
- Ensure Vault and an economy provider (e.g., EternalEconomy) are active on the server.
- Set shop.enabled: true in config.yml.
- Configure offers under the shop.offers section:
shop: enabled: true offers: one: slot: 11 hearts: 1 price: 1000000.0 five: slot: 13 hearts: 5 price: 5000000.0 ten: slot: 15 hearts: 10 price: 10000000.0
- Folia Support: Built with region-aware scheduling to support multi-threaded server execution without main-thread blocking.
- Geyser (Bedrock) Support: Includes automated custom head texture handling (geyser.install-custom-skull: true) to display custom heart textures correctly for Bedrock Edition players.