⚔️CosmicLifesteal | HIGHLY CONFIGURABLE | ✅1.13 - 1.19 icon

⚔️CosmicLifesteal | HIGHLY CONFIGURABLE | ✅1.13 - 1.19 -----

A very highly configurable LifeSteal plugin that has all the features you need!



[​IMG]

Welcome to the CosmicLifesteal plugin page. This plugin allows you to configure a very enjoyable Lifesteal experience for your players without the hassle.
  • Configurable plugin prefix
  • Configurable starting player hearts
  • Configurable death ban timer
  • Configurable player hearts after death ban
  • Configurable amount of hearts lost on death
  • Configurable amount of hearts gained on death
  • Forcefully add/remove/set player hearts
  • Frequently kept up-to-date with new features
[​IMG]
Code (Text):

# The plugin has some administration commands for your convenience -

/lifesteal - The core command of the plugin
/lifesteal reload - Reload the plugin config and database
/lifesteal hearts add <player> <amount> - Give hearts to a player
/lifesteal hearts remove <player> <amount> - Take away hearts from a player
/lifesteal hearts set <player> <amount> - Set the amounts of hearts a player has
/lifesteal hearts get <player> - View how many hearts a player has

/deathban - Utilities regarding player death bans
/deathban ban <player> - Force deathban a player
/deathban unban <player> - Force unban a player
/deathban check <player - Check if a player is deathbanned
/deathban history <player> - Check the deathban history of a player
 


[​IMG]
Code (Text):

# The plugin has permissions for every command so it is easy to configure command access very accurately

lifesteal.command - /lifesteal
lifesteal.command.reload - /lifesteal reload
lifesteal.command.hearts - /lifesteal hearts
lifesteal.command.hearts.add - /lifesteal hearts add <player> <amount>
lifesteal.command.hearts.remove - /lifesteal hearts remove <player> <amount>
lifesteal.command.hearts.set - /lifesteal hearts set <player> <amount>
lifesteal.command.hearts.get - /lifesteal hearts get <player>

lifesteal.deathban - /deathban
lifesteal.deathban.ban - /deathban ban <player>
lifesteal.deathban.unban - /deathban unban <player>
lifesteal.deathban.check - /deathban check <player>
lifesteal.deathban.history - /deathban history <player>

# The plugin also has a couple of placeholders for the ease of use
%lifesteal_hearts% - Shows the amount of max hearts the player can have
%lifesteal_deathbans% - Shows the amount of deathbans the player has had till date
 

[​IMG]
The plugin allows maximum configurability for server owners so that they can make the plugin work as per their requirements.
Code (Text):

#############################
###### PLUGIN MESSAGES ######
#############################

prefix: "&8[&d&lCosmic&c&lLifesteal&8] &7"

death-message: "{prefix}&cYou have lost {hearts} hearts!" # The message that is sent to the player when they die
kill-message: "{prefix}&aYou have gained {hearts} hearts!" # The message that is sent to the player when they get a kill
death-ban-message: "&c&lDEATH BAN\n&bYou can rejoin in {time} minutes!" # The message that is sent to the player when they are death banned

must-be-player-message: "{prefix}&cYou must be a player to use this command!" # The message sent to console when a player only command is used
no-permission-message: "{prefix}&cYou do not have permission to use this command!" # The message sent to a player when they do not have permission to use a command
invalid-player-message: "{prefix}&cInvalid player!" # The message sent to a player when they enter an invalid player name
invalid-arguments-message: "{prefix}&cInvalid arguments!" # The message sent to a player when they enter invalid arguments for a command

hearts-added-message: "{prefix}&aAdded {amount} hearts to {player}" # The message sent to a player when they add hearts to another player
hearts-removed-message: "{prefix}&cRemoved {amount} hearts from {player}" # The message sent to a player when they remove hearts from another player
hearts-set-message: "{prefix}&aSet {player}'s hearts to {amount}" # The message sent to a player when they set another player's hearts
hearts-get-message: "{prefix}&a{player} has {amount} hearts" # The message sent to a player when they get another player's hearts

is-death-banned-message: "{prefix}&c{player} is currently death banned."  # The message sent to a player when they check if another player is death banned
is-not-death-banned-message: "{prefix}&a{player} is not death banned."  # The message sent to a player when they check if another player is not death banned
death-banned-player-message: "{prefix}&cYou have death banned {player} for {time} minutes." # The message sent to a player when they death ban another player
death-unbanned-player-message: "{prefix}&aYou have un-banned {player}."  # The message sent to a player when they un-ban another player

no-deathban-history-message: "{prefix}&c{player} has no deathban history." # The message sent to a player when they check the deathban history of a player with no history

############################
##### GENERAL SETTINGS #####
############################

starting-hearts: 10 # how many hearts will every player start off with?
hearts-after-deathban: 10 # how many hearts will a player have after recovering from a death ban?
max-hearts: 25 # players can't go above this amount of hearts

hearts-lost-on-death: 1 # how many hearts will a player loose when they are killed by another player
hearts-gained-on-kill: 1  # how many hearts will a player gain when they kill another player

death-ban-time: 30 # how many minutes the player will be banned for when they loose all their hearts
death-ban-broadcast: true # send a broadcast message when a player gets death banned?
death-ban-broadcast-message: "{prefix}&c{player} has been death banned! &c&lR.I.P"

enable-head-drops: true # should players drop their head when they die?
dropped-head-name: "&dHead of {player}" # the name of the dropped head
dropped-head-lore: # the lore of the dropped head
  - "&cKilled by {killer}"
  - "&7 "
  - "&7{time_of_death}"

disabled-worlds: # the worlds where the plugin will be disabled
  - world_nether
  - world_the_end

check-for-updates: true # check for plugin updates on startup

##############################
########## DATABASE ##########
##############################

database-type: "sqlite" # sqlite OR mysql
# 'sqlite' will store all data in a local .db file
# 'mysql' will attempt to connect to your mysql database with the given credentials

# required for mysql:
db-host: 127.0.0.1
database-port: 3306
database-username: username
database-password: pass
database-database: cosmiclifesteal

#### DO NOT CHANGE ####
config-version: 1.3 # DO NOT CHANGE THIS OR ELSE THE ENTIRE PLUGIN WILL BREAK
 

[​IMG]

[​IMG]
Resource Information
Author:
----------
Total Downloads: 407
First Release: Dec 17, 2022
Last Update: Feb 4, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings