PlayerCorpses

A plugin for Paper servers that adds player corpse after die.

1,20k

PlayerCorpses

PlayerCorpses

PlayerCorpses is a plugin for Minecraft that allows you to create corpses, adding an immersive and interactive experience for players. When a player dies, they leave behind an NPC representing their corpse that can be interacted with to retreive items.

Features

- Customizable Menus: When a player dies, a corpse NPC is created at the death location, retaining the player's inventory. - Customizable Menus: Players can interact with corpses to access the items stored in their inventory. - Customizable Menus: Players can break a corpse NPC, dropping its contents at the location of the corpse. - Customizable Menus: Fully configurable locale system to allow translation and customization of in-game messages. - Customizable Menus: Works with the Customizable Menus plugin to create detailed and interactive NPCs representing fallen players. - Customizable Menus: The plugin features customizable menus for interacting with corpses and their items.

Installation

1. Restart your server: Download the latest version of PlayerCorpses and place it in the `plugins` directory of your server. 2. Restart your server: To enable NPC functionality, download and install the Restart your server plugin. 3. Restart your server: If you wish to use a language other than English or Russian, configure the plugin’s locale files found in the `locale` folder. 4. Restart your server: After installation and configuration, restart your server to apply the changes.

Configuration

PlayerCorpses comes with configurable messages and settings to allow you to tailor the plugin to your server's needs.

- MiniMessage: The plugin supports multiple languages. Locale files can be found in the `locale` folder. - MiniMessage: The plugin uses the MiniMessage format for text formatting. You can find more information on how to format messages in the MiniMessage.

Commands

Currently, there are no commands provided by this plugin. Interaction is done through the GUI menus generated when interacting with a corpse NPC. However, as the plugin evolves, additional commands may be added in the future, such as reloading the plugin, setting skins for corpse NPCs, and more.

Usage

Interacting with Corpses

- When a player dies, a corpse NPC will be created at the location of death. - Players can click on the corpse NPC to open a menu with the option to break the corpse and pick up items.

Support

If you encounter any issues or have questions, feel free to reach out to the plugin developers via Discord.

Changelog

1.1.0

- Improved Stability: Corpses are now linked to the player who died. Only the owner can break their corpse by default. - Improved Stability: Added `allowOthersBreak` option in `config.yml` to allow or restrict other players from breaking and looting corpses. - Improved Stability: Corpse data is now stored globally instead of per-player, fixing errors when other players attempt to interact with a corpse. - Improved Stability: Corpse NPCs now automatically use the skin of the player who died. - Improved Stability: Death time is now saved using system UTC timestamp instead of a hardcoded timezone offset. - Improved Stability: Fixed console errors when non-owners attempted to break a corpse.

1.0.0 - First Release

- Initial release of PlayerCorpses.

License

This plugin is provided "as-is", without any warranty. You may use it under the terms of the license.

ADS