
LifeSteal SMP Plugin 1.4.6
A Advanced Remake plugin from LifeStealSMP
Coming from @IkeVoodoo's LifeStealPlugin? No problem you can migrate <3
FEATURES
- 1 heart is added/removed upon killing/dying
- Maximum amount of hearts possible is configurable
- All Recipes Are configurable and most of the text is configurable
- Update Checker available
- Custom texture pack with custom model data for no scamming in game
- Easy to configure config file all texts can be replaced!
- Upon loosing all hearts your get eliminated for some time (configurable in settings.yml)
- Anti-Exploit :- Allows you to get rid of heart farming from alternative accounts!
- Revive Beacon will allow you to revive any eliminated player
- Allows you to customize on another level with toggle features
- Custom Heart: Allows you to get extra heart upon using it
- Player Tracker:- Allows you to track "nearest" player
- Reload command to save your changes without a restart
- Migrate command:- Will save all the data from IkeVodoo's
- Withdraw command:- allows you to convert your hear into a hear item to give anyone
- LifeSteal plugin to our LifeStealPlugin (Only online players for now)
- Customizable Menus
- Mutiple Ban Types (NAME/IP) Although revive beacon doesn't work with IP
- Recipe Command
- Quick support in our discord
COMMANDS
- /ls :- a command group prefix every command must have it at the start
SUB COMMANDS:
- /ls heart add playerName amount :- Allows you to add hearts to a player
- /ls heart remove playerName amount :- Allows you to remove hearts from a player
- /ls heart set playerName amount :- Allows you to set a player's hearts
- /ls tool [toolName]:- Gives you a tool
- /ls eliminate <player>
- /ls reload :- Reloads the plugin
- /ls recipe [toolName] :- Shows the recipe of the tool
- /ls withdraw [amount] :- withdraws hearts
- /ls reset
- /ls migrate :- Migrates data for the online players from IkeVodoo's LS to my LS plugin
SETTINGS.YML
Dropdown contents
# 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
RECIPES.YML
# Custom Recipes
Heart:
Row_1:
Slot_1: GOLD_BLOCK
Slot_2: BONE_MEAL
Slot_3: GOLD_BLOCK
Row_2:
Slot_1: OBSIDIAN
Slot_2: SPIDER_EYE
Slot_3: OBSIDIAN
Row_3:
Slot_1: DIAMOND_BLOCK
Slot_2: DIAMOND_BLOCK
Slot_3: DIAMOND_BLOCK
Player_tracker:
Row_1:
# AIR = empty
Slot_1: AIR
Slot_2: NETHERITE_INGOT
Slot_3: AIR
Row_2:
Slot_1: NETHERITE_INGOT
Slot_2: COMPASS
Slot_3: NETHERITE_INGOT
Row_3:
Slot_1: AIR
Slot_2: NETHERITE_INGOT
Slot_3: AIR
Revive_beacon:
Row_1:
# AIR = empty
Slot_1: AIR
Slot_2: NETHERITE_BLOCK
Slot_3: AIR
Row_2:
Slot_1: NETHERITE_BLOCK
Slot_2: BEACON
Slot_3: NETHERITE_BLOCK
Row_3:
Slot_1: AIR
Slot_2: NETHERITE_BLOCK
Slot_3: AIR
Bone_tool:
Row_1:
# AIR = empty
Slot_1: GOLD_BLOCK
Slot_2: GOLD_BLOCK
Slot_3: GOLD_BLOCK
Row_2:
Slot_1: GOLD_BLOCK
Slot_2: BONE
Slot_3: GOLD_BLOCK
Row_3:
Slot_1: GOLD_BLOCK
Slot_2: GOLD_BLOCK
Slot_3: GOLD_BLOCK
REWARDS.YML
# -------------------------------------------
# REWARDS
# -------------------------------------------
# You can crease as many reward as you want!
Rewards:
# You should not add '/' before the command!
1:
Heart_goal: 20
Command_run_1: "money give %player_name% 1000"
Command_run_2: "broadcast %player_name% got 20 hearts POG!"
# Leave empty if you dont want to use 3rd cmd
Command_run_3: ""
Reward_msg: "&cR&aE&dW&aA&6R&1D &bCongo you just won a reward for reaching 20 hearts ;)"
PLACEHOLDERS
- %lifesteal_hearts% :- Returns the player's hp
- %lifesteal_isEliminated% :- Returns if the player is eliminated or not
- %lifesteal_tracked% :- Returns the name of the nearest player
PERMISSIONS
- ls.admin :- gives access to /ls set,remove,add,migrate
- ls.tools.heart :- gives access to /ls customheart
- ls.tools.revive :- gives access to /ls revivetool
- ls.reload :- gives access to /ls reload
- ls.craft.revive :- Allows you to craft revive beacon
- ls.craft.heart :- Allows you to craft custom heart
- ls.craft.tracker :- Allows you to craft the player tracker
TOOLS
Custom Heart,
Revive Beacon,
Player Tracker,
Bone.
SHOWCASES