Code (YAML):
# Life Steal Plugin
# Made by WhoHarsh
# -------------------------------------------
# FEATURES
# -------------------------------------------
Features
:
# If a player dies without a killer should we still decrease his health???
Decrease_heart_on_natural_death
: true
# After how many hearts we should stop giving player extra hearts
Max_hearts_allowed
: 50
# HEARTS NOT HEALTH
# If set to true the ban will be permanent and "ban_time" key won't work!
Perm_ban
: false
# For how many MINUTES we should ban the player who runs out of hearts
Ban_time
: 60
# When player's hearts are increased should we also heal him to max health?
Health_regen_on_increase
: true
# You cannot withdraw your vanilla hearts (10)
Limit_withdrawal_vanilla
: true
# If set to true when a player uses player tracker the tracked player will be notified!
Send_tracked_player_message
: false
# If set to false the compass will work only if the player right clicks
# If set to true we are going to help the player track the nearest player every second
Track_with_time
: true
# Only works If Track_with_time is true
# After how many seconds should we update the compass
Track_delay
: 5
# !==== ANTI EXPLOIT ====!
# It doesn't give / take hearts from player if they are from same ip (Alt account heart farming)
# Recommended to set it to true!
Anti_exploit
: true
# Perma bans the alt account!
Anti_exploit_ban_alt
: true
# In these worlds lifesteal would not affect!
Banned_worlds
:
[
"noLifeStealWorldName",
"MultipleOnes"
]
# -------------------------------------------
# CUSTOM TOOLS
# -------------------------------------------
Tools:
Revive_beacon
:
# Set to false if you don't want to revive beacon on your server
Enabled
: true
Allowed_crafting
: true
Icon
: BEACON
Model_data
: 2441414
Name
:
"&aRevival Beacon"
Lore
:
[
"Right click to open",
"the revive menu"
]
Sound
: ENTITY_WITHER_SPAWN
Custom_heart
:
# Set to false if you don't want Custom hearts on your server
Enabled
: true
Allowed_crafting
: true
Icon
: NETHER_STAR
Name
:
"&aCustom Heart"
Lore
:
[
"Right click to increase",
"your health by 1"
]
Model_data
: 223
Sound
: BLOCK_BARREL_OPEN
# Player Tracking in Nether isn't available.. suggest at WhoTech's discord
Player_tracker
:
# Set to false if you don't want player tracker on your server
Enabled
: true
Allowed_crafting
: true
Model_data
: 37176341
Icon
: COMPASS
# DO NOT CHANGE
Name
:
"&aPlayer Tracker"
Lore
:
[
"Right click to",
"track nearest player"
]
Sound
: ENTITY_WITHER_SPAWN
Bone
:
# Boning a custom craftable item.. upon hitting it to someone will remove 1 peice from your inventory
# and will block the block place and break of that player
Enabled
: true
Allowed_crafting
: true
Model_data
: 84371671
Icon
: BONE
Name
:
"&aBo&6ne"
Lore
:
[
"&7hit it to someone",
"&7it will block their placing ",
"&7and breaking of blocks"
]
Sound
: BLOCK_ANVIL_BREAK
# -----------------------------
# MYSQL
# -----------------------------
MySQL
:
#Set too false to only store locally
Enabled
: false
Host
:
"127.0.0.1"
Port
: 3306
Database
:
"LifeSteal"
Username
:
"LifeSteal"
Password
:
"LifeSteal"
# -------------------------------------------
# CUSTOMIZABLE MESSAGES
# -------------------------------------------
Messages:
Prefix
:
"&aLife&cSteal&6SMP &7>>"
Update_message
:
"&6[&c&lUPDATE&6] &b Versions were found to be mismatched!"
Max_health_reached
:
"&aYou have reached the max health obtainable!"
# !--use %hp% to return the new health and %ohp% for old hearts--!
Admin_set_hearts
:
"&aYou're hearts were set from %ohp% hearts to %hp% hearts by an admin!"
Admin_hearts_edited
:
"&aYou have successfully set %player%'s heart from %ohp% to %hp%!"
Admin_eliminate_player
:
"&aYou have successfully eliminated the player %player%!"
Player_lose_all_hearts
:
"%player% &c&lLost all their hearts and is vanished for %ban_time% !"
# Color codes not supported
Player_ban_msg
:
"You have lost all your hearts"
# Revive beacon use successfully
# !--%banned_player% will return the banned player's name--!
Player_unban
:
"&aYou have successfully unbanned %banned_player%!"
Player_heart_gain_custom_recipe
:
"&aYou gained 1 heart by using the custom crafted heart"
Plugin_reload
:
"&a All Configs and plugin classes has been reloaded!"
Plugin_migrate
:
"&aFetching data from the plugin!"
# !--%player% will return the tracking player name--!
Player_track_message
:
"&aTracking the nearby player %player%"
No_players_found_to_track
:
"&cSorry, there is no player nearby!"
# !--&player% will return the guy tracking--!
Tracked_player_notice
:
"&cHey, your being tracked by %player%"
Alt_account_heart_farm_detection
:
"&cYou are not allowed to heart farm using a alt account!"
Alt_account_ban_message
:
"&cHeart farming using a alt account isn't allowed on the server!"
# !--%target% returns the victim's name--!
Bone_hit
:
"&aYou have succesfully boned %target%, he will not be able to place/break blocks for 15 seconds!"
# !--%damager% returns the damager's name--!
Bone_receive
:
"&cYou have been boned by %damager%, you will not be able to place/break blocks for 15 seconds!"
# !--%time% returns time in seconds--!
Bone_effect_message
:
"&cYou were boned and cannot place/break blocks for %time% seconds"
# !--%player% returns the banned player's name --!
Player_revive_through_command_error
:
"&cSorry, player named %player% does not exist!"
Player_revived
:
"&aSuccessfully revived player &e%player%&a!"
Player_Tried_To_Withdraw_Vanilla_Hearts
:
"&c&lSORRRY! &c You cannot withdraw vanilla hearts"
Tool_not_enabled
:
"&cSorry, this tool is not enabled!"
Tool_not_found
:
"&cSorry, could not find too &tool%!"
Tool_no_permission
:
"&cSorry, you do not have permission to get this tool!"
Invalid_player
:
"&cSorry, %player% does not exist!"
Sender_no_player
:
"&cSorry, you must be a player to execute this command!"
Command_no_permission
:
"&cSorry, you do not have permission to execute this command!"
Command_wrong_usage
:
"&cSorry, please use the correct usage for this command!"
Not_enough_hearts
:
"&cSorry you don't have enough hearts to withdraw!"
Invalid_task
:
"&cPlease provide a valid task to execute: <set|add|remove>"
Invalid_number
:
"&cPlease provide a valid number!"
Missing_migrate_plugin
:
"&cSorry, you don't have IkeVoodoo's LifeSteal Plugin"
# -------------------------------------------
# CUSTOMIZABLE MENUS [GUI]
# -------------------------------------------
Menu:
Revive_beacon_menu:
Title
:
"&aRevive Menu"
Previous_page
:
"&7Previous page"
Previous_page_icon
: ARROW
Next_page
:
"&7Next page"
Next_page_icon
: ARROW
Click_to_unban
:
"&aClick to unban this player"
Revive_confirmation_menu:
Title
:
"&aAre you sure?"
# %banned_player% will return the player's name which they selected
Info
:
"&6&lAre you sure you want to unban %banned_player%?"
Info_icon
: PAPER
# If click on agreed it will use to revive beacon and allow them to unban a banned player
Agree
:
"&aYes"
Agree_icon
: GREEN_WOOL
# If click on deny it will close the menu and revive beacon won't be used!
Deny
:
"&cNo"
Deny_icon
: RED_WOOL
# -------------------------------------------
# COMMAND ALIASES (E.G /ls)
# -------------------------------------------
Command_Aliases
:
[
"ls"
]
# -------------------------------------------
# DO NOT CHANGE THESE
# -------------------------------------------
Version
: 4
Debug
:
[
]
# -------------------------------------------
# TIER HEARTS [NOT WORKING RIGHT NOW]
# -------------------------------------------
# Tier 1 gives 1 heart where as tier 2 gives 2 hearts. these are random on crafts. the chances in % can be edited below!
Tiers:
Tier_1:
Chance
: 80
Tier_2:
Chance
: 15
Tier_3:
Chance
: 5