Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Lyttle-Development

Die in honor, with LyttleGravestone

Report LyttleGravestone?

Snapshot
1.2.5-SNAPSHOT+9

Stualyttle released LyttleGravestone version 1.2.5-SNAPSHOT+9 on Yesterday 7:22 PM

v1.2.5

This pull request introduces several updates to the Lyttle Gravestone plugin, focusing on improving the configuration system, enhancing the /retrievegravestone command, and refining player interaction logic. The changes include new configuration options, adjustments to command behavior, and improved handling of player-related data.

Configuration System Enhancements:

  • Added new configuration options (retrieve_command_blocks, retrieve_command_price, retrieve_command_price__other_world) to control the cost and behavior of the /retrievegravestone command. These options are now used to calculate delivery costs dynamically based on distance and world differences.
  • Updated the migrateConfig method to handle configuration versioning and ensure seamless migration of new configuration entries.

/retrievegravestone Command Improvements:

  • Integrated the new configuration options into the /retrievegravestone command logic, including checks for command activation, Vault usage, and dynamic cost calculation.
  • Added logic to account for cross-world gravestone retrieval by adjusting the cost based on whether the player and gravestone are in the same world.

Player Interaction Enhancements:

  • Improved the onBreakBlock event logic to display the correct player name when a gravestone is broken by someone other than its owner, using either the online player's display name or the offline player's name.

Information

Published onMay 2, 2025
Downloads1

Platforms

Paper Paper (1.20-1.20.6)