Skip to content

Releases

CombatKeepInventory v1.1.0 snapshot build 2

Choose a tag to compare

@thanhnhanyt53 thanhnhanyt53 released this 15 Aug 16:03
3920476

CombatKeepInventory v1.1.0-SNAPSHOT Build 2

Added

  • Added improved combat state management.
  • Added safer player disconnect handling.
  • Added improved protection against inventory desynchronization during combat disconnects.
  • Added improved handling of player relog after combat disconnect.

Changed

  • Redesigned the combat logout flow.
  • Combat logout no longer automatically kills or punishes the player.
  • Player inventory is no longer dropped or cleared when disconnecting during combat.
  • Player data is allowed to be handled normally by Bukkit/Paper during logout.
  • Inventory restoration is no longer performed by CombatKeepInventory after relog.
  • Simplified inventory handling by removing combat-logout inventory punishment logic.
  • PvPManager integration has been completely removed.
  • Combat state is now handled internally by CombatKeepInventory.

Fixed

  • Fixed an issue where players disconnecting during combat could have their inventory dropped incorrectly.
  • Fixed an issue where players could reconnect with an incorrect or desynchronized inventory state.
  • Fixed inventory restoration after combat logout.
  • Fixed potential conflicts between combat logout handling and Bukkit player-data saving.
  • Fixed duplicate inventory processing during disconnect/relog scenarios.
  • Fixed remaining PvPManager references in the command system.

Removed

  • Removed combat logout punishment.
  • Removed automatic inventory dropping on combat logout.
  • Removed automatic inventory clearing on combat logout.
  • Removed PvPManager dependency and integration.
  • Removed unnecessary inventory journal processing from the combat logout flow.

PvP Behavior

  • Normal PvP death:
    • Non-bypass player → inventory follows the PvP death rules.
    • Bypass player → inventory is preserved.
  • Combat logout:
    • Player is not killed.
    • Player is not punished.
    • Inventory is not dropped.
    • Inventory is not cleared.
    • Inventory is preserved normally when the player reconnects.

Compatibility

  • Bukkit
  • Spigot
  • Paper
  • Purpur

Testing Status

Tested scenarios include:

  • PvP death with keepInventory=true.
  • PvP death with bypass permission.
  • PvE death.
  • Combat logout.
  • Combat logout followed by reconnect.
  • PvP enable/disable functionality.
  • Plugin startup and shutdown.

Important

v1.1.0-SNAPSHOT Build 2 is still a development snapshot.

Although major inventory and combat-logout issues have been fixed, this build should still be considered testing software and may contain undiscovered edge cases.

Please report:

  • Inventory loss
  • Inventory duplication
  • PvP state issues
  • Bypass issues
  • Combat state issues
  • Relog/desynchronization
  • Server restart/reconnect issues

CombatKeepInventory v1.1.0 snapshot build 1

Choose a tag to compare

@thanhnhanyt53 thanhnhanyt53 released this 15 Aug 15:59
3920476

CombatKeepInventory v1.1.0-SNAPSHOT Build 1

Added

  • Added configurable PvP enable/disable system.
  • Added /cki pvp <on|off> command.
  • Added PvP status information to /cki info.
  • Added configurable combat duration.
  • Added WorldGuard integration.
  • Added platform detection and selected-platform information.
  • Added configurable permission-based PvP toggling.

Changed

  • Improved PvP damage and combat-tag handling.
  • Improved keepInventory handling during PvP deaths.
  • PvP kills now correctly drop inventory even when the keepInventory gamerule is enabled.
  • Bypass permission handling was improved.
  • Improved command tab completion.
  • Improved configuration handling and reload support.
  • Updated plugin version to 1.1.0-SNAPSHOT Build 1.

Fixed

  • Fixed bypass players losing their inventory after PvP death.
  • Fixed PvP being incorrectly blocked when the PvP system was disabled.
  • Fixed inventory disappearing without generating item drops when keepInventory=true.
  • Fixed several inconsistencies between plugin.yml, config.yml, and Java classes.

Removed

  • Removed the mandatory Maven dependency on PvPManager.
  • Removed PvPManager runtime integration from the command system.

Compatibility

  • Bukkit/Spigot-compatible servers.
  • Paper-compatible servers.
  • Purpur-compatible servers.

Important

This is a SNAPSHOT BUILD and has not been declared production-stable yet.

Please report any inventory, PvP, death, bypass, or compatibility issues before using this build on a production server.

CombatKeepInventory v1.0.0

Choose a tag to compare

@thanhnhanyt53 thanhnhanyt53 released this 14 Aug 10:10
199f285

CombatKeepInventory Snapshot

Pre-release

Choose a tag to compare

@thanhnhanyt53 thanhnhanyt53 released this 14 Aug 01:24
bc4feba

Snapshot 1a:
Thay đổi:
Thêm tính năng:

  • Thêm phiên bản 1.21.x thành phiên bản được hỗ trợ
    Sửa lỗi/bug:
  • Sửa lỗi khi người chơi chết do người khác giết trong khi gamerule keep-inventory là true không rơi ra đồ

Snapshot 1a:
Changes:
New features:

  • Added support for version 1.21.x
    Bug fixes:
  • Fixed an issue where items were not dropped when a player was killed by another player while the keep-inventory gamerule was set to true
    Lưu ý:
    Sau khi tải hãy giải nén file để lấy plugin nhé
    Note:
    After downloading, please extract the file to get the plugin.
    CombatKeepInventory.zip