The plugin allows players to earn additional health points by completing various achievements/advancements. Players may also lose HP every time they die.
There are two new items added: a SimpleRemover and a Remover. These items allow the players to remove certain achievements/advancements to earn them again and gather additional hearts. The Simple Remover will remove a random achievement/advancement, while the Advanced Remover will open a GUI and allow the player to select which achievement/advancement they wish to have removed. Either of the two items, or both, can be disabled in the config. Both items are allowed to have either a shaped or shapeless recipe, which can be configured, or it can be disabled, making the item with the disabled recipe only obtainable by commands.
The plugin has a combination of blacklisted, basic, and advanced achievements/advancements for the players. The blacklisted ones will be completely ignored. Players will require multiple basic advancements to gather a small amount of hearts (depending on how it's configured). An advanced one can be defined and will straight out give HP instead of requiring the gathering of multiple.
Everything can be changed in the config.yml
Code (Text):
reloadConfig: '&aYou have reloaded the config'
noPermission: '&4You do not have the permission to execute this command'
playerNotFound: '&cPlayer {player} not found.'
resetSuccess: '&aPlayer health reset to default and achievements cleared.'
giveSuccessPlayer: '&aYou have received {item} from {sender}.'
giveSuccessSender: '&a{player} has been given {item}.'
invalidItem: '&cInvalid item specified, please use simpleRemover or remover.'
actionNotRecognized: '&cAction not recognized. Please use a valid action.'
incorrectUsage: '&cIncorrect usage. Please use /asmp <action>=(reset/reload/give) [arguments]=(remover/simpleRemove if argument == give).'
# To obtain advancements/achievements IDS, please visit the following links:
# For versions 1.12 and newer: https://minecraft.fandom.com/wiki/Advancement. Scroll down to the tables and copy the Resource Location Name, for example:
# The advancement 'Light as a Rabbit' would be: adventure/walk_on_powder_snow_with_leather_boots.
#
# For versions 1.8 - 1.11: Visit https://helpch.at/docs/1.11/org/bukkit/Achievement.html
healthLost: 1
#Default player health is 20
maxHealth: 40
couldNotRemove: '&cThe selected achievement no longer exists in your progress. It might have been removed already. ID: {ID}'
removedAchiev: '&aYou have successfully removed the following Id from your progress: {ID}'
# Achievements listed here will be ignored.
# Achievements not mentioned in "complexAchievements" (or ignoredAchievements) below will be considered "basicAchievements" and will contribute to the "basicAchievementCount" above.
ignoredAchievements:
#- 'story/root'
#- 'story/mine_stone'
# For crafting recipes, follow the examples below:
# Shapeless recipe example:
# simpleRemoveItemRecipe: 'EMERALD_BLOCK;GOLD_INGOT;APPLE;PAPER'
#
# Shaped Recipe example:
# simpleRemoveItemRecipe:
# - 'EMERALD_BLOCK;EMPTY;EMERALD_BLOCK'
# - 'DIAMOND_BLOCK;NETHERITE_INGOT;DIAMOND_BLOCK'
# - 'EMPTY;LAVA_BUCKET;EMPTY'
#
# For older versions that use material data, use the format <Material>:<ID>.
# Example: DYE:10 - This translates to a lime colored dyes for version 1.8.
# If an ID is invalid or doesn't exist, it will be skipped.
# If an invalid material is entered, it will be skipped for shapeless recipes or leave the slot empty for shaped recipes.
#
# If you use a list, the recipe will be shaped. If the recipe is in one single line, and no -
# Then the recipe will be shapeless
# Shapeless recipes cannot have more than 9 ingredients
# Using the '*' will add to the ingredient limit, EX. STONE*6;EMERALD_BLOCK will mean you have 7 ingredients in the recipe
# Anything that exceeds 9 will be skipped
simpleRemoverItemRecipe:
removerItemRecipe:
items:
simpleRemover:
enabled: true
material: EMERALD_BLOCK
materialData: 0
displayName: '&aRemove a random achievement'
lore: ''
enchantEffect: false
remover:
enabled: true
material: EMERALD_BLOCK
materialData: 0
displayName: '&aSelect an achievement to remove'
lore: ''
enchantEffect: true
#When a player dies and has 1 heart or less
commandsExecutedOnDeath:
#- 'asmp reset {player}'
#- 'eco reset {player}'
#- 'say The player {player} has been banned for losing all of their lives'
#- 'ban {player} 30d'
/asmp [reset/give/reload]: This command allows admins with the permission: asmp.admin to interact with the plugin's features. The specific actions include:
reset: Resets a player's health to default and clears their achievements. (/asmp reset [player])
give: Gives an item to a player as a reward for an achievement. (/asmp give [player] [simpleRemover/remover] [count])
reload: Reloads the plugin's configuration file to apply any changes.