shakib_playz.

Create a PREMIUM Minecraft Paper 1.21.11 plugin called:

LifeStealCoreS

Author:

Shakib Playz

Version: 1.0.0

The plugin must be designed like a premium paid resource, with clean code, modular structure, async tasks where possible, full configurability, INVENTORY GUI support, MySQL/SQLite support, PlaceholderAPI support, Vault support, Discord support and professional file organization.

━━━━━━━━━━━━━━━━━━━━ CORE LIFESTEAL SYSTEM ━━━━━━━━━━━━━━━━━━━━

Features:

  • Gain hearts on player kills
  • Lose hearts on player deaths
  • Configurable hearts gained per kill
  • Configurable hearts lost per death
  • Configurable starting hearts
  • Configurable minimum hearts
  • Configurable maximum hearts
  • Configurable elimination system
  • Configurable ban at zero hearts
  • Configurable death penalty
  • World blacklist support
  • World whitelist support
  • Fully configurable messages

━━━━━━━━━━━━━━━━━━━━ HEART ITEM SYSTEM ━━━━━━━━━━━━━━━━━━━━

Base Material:

Nether Star

Heart Types:

❤️ Tier I Heart Gain: +1 Heart

💖 Tier II Heart Gain: +2 Hearts

💎 Tier III Heart Gain: +3 Hearts

Everything configurable in:

hearts.yml

Each heart must support:

  • Display Name
  • Lore
  • Material
  • Glow
  • Enchant Effects
  • Custom Model Data
  • Permission Requirement
  • Stack Limits
  • Cooldowns
  • Enable/Disable

Default Lore Example:

&7A mysterious heart infused &7with lifesteal energy.

&eLeft Click: Consume &eRight Click: Consume

&aGain: +1 Heart &7Tier: I

━━━━━━━━━━━━━━━━━━━━ REVIVE BEACON SYSTEM ━━━━━━━━━━━━━━━━━━━━

Custom Item:

✨ Revive Beacon

Material:

Beacon

Features:

  • Revive eliminated players
  • INVENTORY GUI revive menu
  • Revive confirmation menu
  • Revive logs
  • Revive cooldown
  • Revive permissions
  • Revive costs

Config File:

revive.yml

Default Lore:

&7A legendary beacon capable &7of restoring fallen players.

&eRight Click: &fOpen Revive Menu

&6Revives eliminated players.

━━━━━━━━━━━━━━━━━━━━ RECIPE SYSTEM ━━━━━━━━━━━━━━━━━━━━

Create:

recipes.yml

Recipes:

  • Tier I Heart
  • Tier II Heart
  • Tier III Heart
  • Revive Beacon

Must Support:

  • Change ingredients
  • Change amounts
  • Enable recipes
  • Disable recipes
  • True / False support
  • Reload support
  • No restart required

Example:

tier1-heart: enabled: true

tier2-heart: enabled: true

tier3-heart: enabled: true

revive-beacon: enabled: true

If enabled is false:

Recipe must not register.

Command:

/recipes

Opens recipe INVENTORY GUI.

━━━━━━━━━━━━━━━━━━━━ HEART WITHDRAW SYSTEM ━━━━━━━━━━━━━━━━━━━━

Commands:

/withdraw 1 /withdraw 2 /withdraw 3

Convert hearts into heart items.

Configurable:

  • Costs
  • Cooldowns
  • Permissions
  • Messages

━━━━━━━━━━━━━━━━━━━━ HEART REDEEM SYSTEM ━━━━━━━━━━━━━━━━━━━━

Consume heart items.

Supports:

  • Left Click
  • Right Click

Configurable:

  • Sounds
  • Effects
  • Messages
  • Cooldowns

━━━━━━━━━━━━━━━━━━━━ HEART BANK SYSTEM ━━━━━━━━━━━━━━━━━━━━

Commands:

/heartbank /heartbank deposit /heartbank withdraw

Features:

  • Store hearts safely
  • Bank limits
  • Upgradeable limits
  • Transaction history
  • INVENTORY GUI support

━━━━━━━━━━━━━━━━━━━━ HEART TRADING SYSTEM ━━━━━━━━━━━━━━━━━━━━

Command:

/hearttrade <player>

Features:

  • Trade INVENTORY GUI
  • Confirmation INVENTORY GUI
  • Cancel Protection
  • Logging
  • Cooldowns

━━━━━━━━━━━━━━━━━━━━ BOUNTY SYSTEM ━━━━━━━━━━━━━━━━━━━━

Command:

/bounty <player> <hearts>

Features:

  • Public bounties
  • Heart rewards
  • Bounty INVENTORY GUI
  • Top bounties
  • Bounty logs

━━━━━━━━━━━━━━━━━━━━ KILL STREAK SYSTEM ━━━━━━━━━━━━━━━━━━━━

Default Milestones:

5 10 25 50 100

Features:

  • Rewards
  • Broadcasts
  • Sounds
  • Effects
  • Commands

Fully configurable.

━━━━━━━━━━━━━━━━━━━━ HEART SHOP SYSTEM ━━━━━━━━━━━━━━━━━━━━

Command:

/heartshop

INVENTORY GUI Categories:

  • Tier I Hearts
  • Tier II Hearts
  • Tier III Hearts
  • Revive Beacons
  • Special Items

Supports:

  • Vault
  • EconomyShopGUI

Config:

shop.yml

━━━━━━━━━━━━━━━━━━━━ COMBAT TAG SYSTEM ━━━━━━━━━━━━━━━━━━━━

Features:

  • ActionBar Timer
  • BossBar Timer
  • Logout Punishment
  • Command Blocking
  • Teleport Blocking

Configurable.

━━━━━━━━━━━━━━━━━━━━ ANTI FARM SYSTEM ━━━━━━━━━━━━━━━━━━━━

Prevent:

  • Alt Farming
  • Same Player Farming
  • Kill Abuse
  • Heart Abuse
  • Repeated Kill Farming

Features:

  • Cooldowns
  • Detection Logs
  • Admin Alerts

━━━━━━━━━━━━━━━━━━━━ WORLD MANAGEMENT ━━━━━━━━━━━━━━━━━━━━

config.yml

disabled-worlds:

  • lobby
  • spawn
  • events

Disabled Worlds:

❌ No heart gain ❌ No heart loss ❌ No revive usage ❌ No bounty rewards ❌ No combat tag ❌ No lifesteal mechanics

━━━━━━━━━━━━━━━━━━━━ PLAYER STATISTICS ━━━━━━━━━━━━━━━━━━━━

Track:

  • Hearts
  • Kills
  • Deaths
  • Revives
  • Bounties
  • Kill Streaks
  • Withdrawn Hearts
  • Redeemed Hearts

Commands:

/stats /tophearts /topkills /topstreaks

━━━━━━━━━━━━━━━━━━━━ INVENTORY GUI SYSTEM ━━━━━━━━━━━━━━━━━━━━

Create:

INVENTORY GUI.yml

Menus:

  • Main Menu
  • Heart Shop
  • Heart Bank
  • Revive Menu
  • Recipe Menu
  • Bounty Menu
  • Statistics Menu
  • Admin Menu
  • Trade Menu

Everything configurable.

━━━━━━━━━━━━━━━━━━━━ DISCORD SUPPORT ━━━━━━━━━━━━━━━━━━━━

Create:

discord.yml

Example:

discord-support: true

discord-server: name: "Shakib Playz" invite-link: "https://discord.gg/3mWFdcZXB7"

webhooks: enabled: true

Logs:

✔ Kill Logs ✔ Death Logs ✔ Revive Logs ✔ Heart Withdraw Logs ✔ Heart Redeem Logs ✔ Bounty Logs ✔ Admin Logs ✔ Startup Logs ✔ Shutdown Logs

Enable/Disable everything.

━━━━━━━━━━━━━━━━━━━━ PLACEHOLDERAPI SUPPORT ━━━━━━━━━━━━━━━━━━━━

%lifestealcores_hearts% %lifestealcores_kills% %lifestealcores_deaths% %lifestealcores_streak% %lifestealcores_bounties% %lifestealcores_bank%

━━━━━━━━━━━━━━━━━━━━ DATABASE SUPPORT ━━━━━━━━━━━━━━━━━━━━

database.yml

Support:

  • SQLite
  • MySQL

Requirements:

  • Async operations
  • Auto reconnect
  • Auto table creation

━━━━━━━━━━━━━━━━━━━━ MESSAGES ━━━━━━━━━━━━━━━━━━━━

messages.yml

Requirements:

  • Every message configurable
  • No hardcoded messages
  • Prefix configurable
  • Color codes supported
  • MiniMessage support

━━━━━━━━━━━━━━━━━━━━ PERMISSIONS ━━━━━━━━━━━━━━━━━━━━

permissions.yml

Player:

lifestealcores.use lifestealcores.hearts lifestealcores.withdraw lifestealcores.redeem lifestealcores.bank lifestealcores.trade lifestealcores.bounty lifestealcores.shop lifestealcores.recipes

Admin:

lifestealcores.admin lifestealcores.reload lifestealcores.giveheart lifestealcores.takeheart lifestealcores.sethearts lifestealcores.revive lifestealcores.restore lifestealcores.backup lifestealcores.debug

━━━━━━━━━━━━━━━━━━━━ ADMIN TOOLS ━━━━━━━━━━━━━━━━━━━━

Commands:

/lifesteal reload /lifesteal giveheart /lifesteal takeheart /lifesteal sethearts /lifesteal reviveplayer /lifesteal unbanplayer /lifesteal backup /lifesteal restore /lifesteal debug /lifesteal admin

Admin INVENTORY GUI:

  • Give Hearts
  • Remove Hearts
  • Set Hearts
  • Revive Players
  • Reset Player Data
  • View Logs
  • View Statistics

━━━━━━━━━━━━━━━━━━━━ FILES REQUIRED ━━━━━━━━━━━━━━━━━━━━

plugin.yml

config.yml

messages.yml

recipes.yml

hearts.yml

revive.yml

INVENTORY GUI.yml

shop.yml

discord.yml

database.yml

permissions.yml

blacklist.yml

bounties.yml

streaks.yml

combat.yml

README.txt

CHANGELOG.txt

━━━━━━━━━━━━━━━━━━━━ README.txt ━━━━━━━━━━━━━━━━━━━━

Must include:

  • Installation Guide
  • Commands List
  • Permissions List
  • Configuration Guide
  • Recipe Guide
  • Heart System Guide
  • Revive System Guide
  • Discord Setup Guide
  • Database Setup Guide
  • Support Information

━━━━━━━━━━━━━━━━━━━━ STARTUP BANNER ━━━━━━━━━━━━━━━━━━━━

LifeStealCoreS v1.0.0

Made By Shakib Playz

Loading Modules...

✔ Hearts Loaded ✔ Recipes Loaded ✔ Revive System Loaded ✔ INVENTORY GUI Loaded ✔ Discord Loaded ✔ Database Loaded ✔ Statistics Loaded

Plugin Enabled Successfully.

The codebase must be modular, clean, optimized, professional, easy to maintain, fully configurable, and structured like a premium paid Minecraft plugin.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code