A basic Minecraft plugin that adds a new "effect" to your server, called numbness.
- Numbness Effect: Grants temporary invincibility to players, with a twist. Any damage taken during the effect's duration is recorded and applied once the effect ends.
- Custom Death Messages: If a player dies due to the damage accumulated during the numbness effect, a custom death message is displayed.
- Command Usage: Numbness effect can be applied to any player using a simple command.
- Download the plugin JAR file from the Releases section.
- Place the downloaded JAR file in your server's
plugins
directory. - Restart your server, or load the plugin dynamically if your server supports it.
To apply the numbness effect to a player, use the following command:
- /numbness
<player>
[duration in seconds]
Replace <player>
with the actual name of the player you wish to affect and [duration in seconds]
with whatever time you want it to be.
The /numbness
command can be used by server operators, and players with the numbness.use
permission.
This plugin does not require any configuration and does not have a configuration file. It is designed to work out-of-the-box.
- The numbness effect does not account for damage modifiers from armor or enchantments when applying recorded damage.
Contributions are welcome! If you have ideas for improvements or have discovered bugs, please open an issue or submit a pull request.
Inspired by doctor4t's numbness effect. Special thanks to the Minecraft and Spigot/Paper communities for their continuous support and resources.