Skip to content

LifeCore v1.2

Choose a tag to compare

@BinaryCodee BinaryCodee released this 21 May 13:09
· 6 commits to main since this release

LifeCore - Changelog

Version 1.2

Core Features

  • Implemented a complete LifeSteal system where players gain/lose hearts upon killing/being killed
  • Added configurable max hearts limit (default: 20)
  • Added default hearts setting for new players (default: 10)
  • Added death ban system when a player loses all hearts
  • Added suicide detection with configurable ban after repeated suicides

Economy Integration

  • Added full economy support with Vault
  • Implemented purchasable hearts via in-game currency
  • Added purchasable unbans with configurable prices
  • Added balance checks to prevent purchases without sufficient funds

GUI Systems

  • Added Buy Menu with heart and unban purchase options
  • Added custom Unban Menu for banned players
  • Implemented configurable menu layouts, titles, and sizes
  • Added dynamic lore with placeholders showing prices and balance information
  • Added visual indicators showing if player can afford items

User Experience

  • Added comprehensive message system with configurable messages
  • Added color code support for all messages and menu items
  • Added proper permission checks for all commands
  • Added detailed help menus for both regular players and admins

Admin Controls

  • Added admin commands to manage player hearts
  • Implemented /lifecoreadmin commands for heart management
  • Added commands to manually ban/unban players
  • Added heart listing functionality for individual or all players

Data Management

  • Implemented persistent storage for player hearts
  • Added ban management system with expiration times
  • Added heart item tracking system
  • Added suicide counter tracking

PlaceholderAPI Integration

  • Added PlaceholderAPI support with various placeholders:
    • %lifecore_hearts% - Shows player's current hearts
    • %lifecore_max_hearts% - Shows maximum possible hearts
    • %lifecore_is_banned% - Shows if player is banned
    • %lifecore_ban_time% - Shows remaining ban time
    • %lifecore_suicide_count% - Shows player's suicide counter
    • %lifecore_remaining_suicides% - Shows how many suicides until ban
    • %lifecore_heart_price% - Shows price of a heart
    • %lifecore_unban_price% - Shows price of an unban
    • %lifecore_balance% - Shows player's current balance
    • %lifecore_enough_heart% - Shows if player can afford a heart
    • %lifecore_enough_unban% - Shows if player can afford an unban

Additional Checks & Validations

  • Added inventory space checking before giving heart items
  • Added heart limit validation to prevent exceeding max hearts
  • Added economy availability checks
  • Added "already unbanned" check to prevent unnecessary purchases
  • Added proper error messages for all validation failures

Configuration

  • Added fully configurable plugin via config.yml
  • Added customizable messages for all plugin interactions
  • Added configurable prices for heart and unban purchases
  • Added customizable menu layouts and items
  • Added configurable command aliases

Known Issues

  • None currently reported