This plugin will only visually reduce the number of hearts displayed to player on screen. The player will still have his actual health points.
Everything in this plugin is customizable through the config.yml
config.yml is heavily commented to help you through out.
COMMANDS: From v1.1,
Main-commands:
/shs or /smarthealthscale
Sub-commands:
+ help
+ reload
+ enable
+ disable
PERMISSIONS: Permission is required only for commands.
By default all operators are allowed to use the command.
Default permission is 'rank.admin'
It can be customised in config.yml
Code (YAML):
# --------- MUST READ ---------
# Using VSCode for yaml files will reduce 40% of the yml errors! # Each and every config section is super heavily commented # I assume you are configuring the right way! # Happy Admining, Good Luck!
# --------- --------- ---------
# This plugin will just change visibility of hearts, but player will have actual number of hearts, # Just to reduce the cluttering!
# NOTE: Health is not Hearts, 2 health = 1 heart. # Make sure to use '/shs reload' (after making changes!) # Do '/shs help' if you are confused.
# Health Settings enable-scaling: 'true'
# Whether Health should scale(at true) or not(at false) # This value can be changed in-game too(use /shs help) # Keeping it blank will result in true. # Value: 'true' or 'false'. scale-at: 40
# This is the minimum health of player, after which the scaling will be applied # Value: Positive INTEGERS Only (>=1), No Decimals. scale-to: 40
# This is the number of health(hearts = scale-to/2) visible after the 'scale-at' limit is crossed. # Value: Positive INTEGERS Only (>=1), No Decimals.
# Permission Settings permission-denial-message: "&cHey, you don't have permission to do that!" # Prints to the player(non-admins) if he/she tries to execute /shsreload OR /smarthealthscale send-denial-message: true
# Whether to send the above message permission: 'rank.admin'
# This is the permission required to reload this config file. # Always true for Operators. # Make sure you have this 'rank.admin' included in your admin group of the permission Plugin. (e.g.Luckperms, etc.) # Value: Any text/numbers. (must not be empty!)
I have more ideas on this plugin, and I will be updating it along in the future.
Leave a review if you have some ideas!