Movecraft-HitPoints is an addon plugin for the Movecraft plugin, designed to enhance the ship-building experience by adding hit points to your craft.
- Hit points calculation: Hit points are calculated based on the craft's size, configurable multipliers, and the presence of specific modifier blocks.
- Damage calculation: Damage inflicted on a craft is calculated based on TNT explosions and configurable multipliers.
- Visual indicators: The plugin provides visual indicators in the form of a boss bar, changing color based on the craft's hit points status.
- Torpedo damage: Configurable multiplier for the damage caused by torpedo explosions.
- Customizable hit point and damage modifiers: You can configure hit point and damage multipliers for specific craft types.
- Removal of external "meshed armor" that can be used to bypass some features of the plugin.
- Movecraft: https://github.com/APDevTeam/Movecraft
The plugin offers global settings and per-craft settings that can be adjusted in the configuration file (config.yml). Here are the key configuration options:
Global Settings:
- BaseHitPointMultiplier: Coefficient for hit points based on craft size.
- BaseDamageMultiplier: Coefficient for multiplying damage done by TNT.
- DamageThreshold: Fraction of hit points at which the boss bar turns yellow.
- CriticalThreshold: Fraction of hit points at which the craft takes physical damage and the boss bar turns red.
- TorpedoDamageMultiplier: Multiplier for the damage caused by torpedo explosions.
- BlockDamageMultiplier: A list of blocks and their respective values that increase damage per hit by TNT.
- HitPointModifierBlocks: A list of blocks and their respective values that additively increase hit points.
- IgnoreBlockProtection: A list of blocks that you don't want to be protected by the HP system. Useful if you want certain blocks like armor or engines to get destroyed.
- AllowMeshArmor: Allow "meshed armor", set to false if you don't want people to put checkerboard plates of armor outside their crafts.
Per-Craft Settings:
- IsHitPointCraft: Indicates if this craft type uses the hit point system.
- CraftHitPointModifier: Custom hit point modifier for the craft.
- CraftDamageModifier: Custom damage modifier for the craft.
movecrafthitpoints.check: Allows players to use the/hitpoint checkcommand.movecrafthitpoints.remove: Allows players to use the/hitpoint removecommand.movecrafthitpoints.reload: Allows players to use the/hitpoint reloadcommand.
- Install the Movecraft plugin and ensure it is functioning correctly.
- Place the Movecraft-HitPoints plugin in the plugins folder of your server.
- Start or reload the server to generate the default configuration file.
- Adjust the configuration settings in the
config.ymlfile to customize the hit points and damage calculation. - Use the appropriate permissions to allow players to access the
/hitpointcommands. - Players can now use the
/hitpointcommands to check hit points, remove hit points, or reload the plugin.
Enjoy building and battling with your hit point enhanced ships!
If you encounter any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request on the plugin's GitHub repository.
We appreciate your contributions to make Movecraft-HitPoints even better!
Movecraft-HitPoints is released under the MIT License. See LICENSE for details.
Make sure to review the license before using or contributing to the project.