These comments are not in the actual settings.yml file; that's why they are shown here.
# ########################
# # Database Settings #
# ########################
Database-Settings:
# The type of database to use.
# Supported: 'mysql', 'sqlite'.
database-type: sqlite
mysql:
host: localhost
port: 3306
database: zelsteal
username: root
password: password
advanced:
max-pool-size: 15
use-ssl: false
# ########################
# # Plugin Settings #
# ########################
Plugin-Settings:
license-key: "ENTER YOUR LICENSE KEY HERE"
license-provider: Zeltuv
message-callback-settings:
lifetime: 30
cancel-phrase: cancel
# Don't touch it if you don't know what you are doing.
chat-listener-priority: MONITOR
# Either 'MODERN' or 'LEGACY'.
chat-listener-type: MODERN
# On each server start, logs older than this date will be deleted.
# Write "NEVER" to disable this.
clear-logs-older-than: 7d
# ########################
# # Lives Settings #
# ########################
Lives-Settings:
# The default amount of lives a player has when they join the server.
# This setting should not be greater than the default max lives.
default-lives: 15
# The default amount of max lives a player can have.
# Once the player reaches this amount, instead of gaining lives,
# lives will be dropped on ground.
# Player can increase their max lives by rebirthing.
default-max-lives: 15
# The amount of time a player is banned for when they run out of lives.
#
# Supported time units: w (week) / d (day) / h (hour) / m (minute) / s (second)
#
# A player or a rank can have different ban times based on their permissions.
# Example: "lifesteal.ban.time.1w 3d"
#
# If the player or their rank doesn't have the permission above, their ban time will
# be set to this config option by default. However if the player or their rank has the
# permission above, this option will not be used.
#
# Being an admin or an OP does not affect the ban time by default unless it's set using permissions.
#
# If a player has multiple instances of the permission above, the one with the least ban time will be used.
ban-time: 1w
withdraw:
# This must be a item with HEART type.
#
# This item has special placeholders:
# %from%: Name of the player the heart item is from.
heart-item: Heart-Item # This must be a item with HEART type.
rebirth:
# If enabled, players can rebirth to increase their max lives.
# One rebirth requires the player to reach the maximum amount of lives.
# When rebirthing, the player's lives will be set to 1 and they will
# gain 1 additional max life, and their rebirth count will increase by 1.
#
# Note: This setting requires a restart to take effect.
# Note 2: Rebirth has a limit which can be set by giving the players
# permission like 'lifesteal.rebirths.X', where X is the limit.
# Set it to -1 to disable the limit.
#
# If a player has multiple permissions of this, the one with the most rebirth limit will be used.
enabled: true
# The amount of lives a player will have after rebirthing.
# If this setting is less than player's NEW max lives (after
# rebirth), player's NEW max lives will be used as rebirth
# starting lives instead.
starting-lives: 1
requirements:
money:
enabled: false
value: 1000.0
# If enabled, the money that will be withdrawn from player's account will be determined
# by "(rebirth count + 1) * money value". So if you have money value set to 1000 and multiplier
# option enabled, a player with 2 rebirths will need 3000 to rebirth, 0 rebirths will need 1000 etc.
count-multiplier: false
on-ban:
# When a player is banned, should their max lives be changed?
#
# Modes:
# - 'DEDUCT': Deduct the player's max lives by 1.
# - 'RESET': Set the player's max lives to the default max lives.
# - 'NONE': Do nothing and keep it as is.
change-max-lives: DEDUCT
on-unban:
# When a player is unbanned, should their lives be set to a specific amount?
#
# Please keep in mind that if this value exceeds the player's max lives,
# the player's lives will be set to their max lives instead.
set-lives-to: 10
on-death:
by-player:
# This must be a item with HEART type.
#
# This item has special placeholders:
# %victim%: Name of the victim player of death.
# %attacker%: Name of the attacker player.
heart-item: Heart-Item # This must be a item with HEART type.
# If a player gets killed by a player, should they lose a life?
# If this is disabled, players will not lose lives from player caused deaths
# which also mean that they will not be banned even if they have 1 lives left.
#
# Victims will only drop lives if the attacker can't gain any more lives
# which can be caused by attacker reaching max lives. Otherwise, attacker will gain a life.
enabled: true
by-entity:
drop-lives: true
# This must be a item with HEART type.
#
# This item has special placeholders:
# %victim%: Name of the victim player of death.
# %entity%: Name of the attacker entity.
heart-item: Heart-Item # This must be a item with HEART type.
# If a player gets killed by an entity (mob, animal etc.), should they lose a life?
# If this is disabled, players will not lose lives from entity caused deaths
# which also mean that they will not be banned even if they have 1 lives left
# nor drop lives no matter if the option below is enabled or not.
enabled: true
by-natural-causes:
drop-lives: true
# This must be a item with HEART type.
#
# This item has special placeholders:
# %victim%: Name of the victim player of death.
# %cause%: Cause of the death.
heart-item: Heart-Item # This must be a item with HEART type.
# If a player dies from natural causes (fall damage, lava, fire, drowning etc.),
# should they lose a life?
# If this is disabled, players will not lose lives from naturally caused deaths
# which also mean that they will not be banned even if they have 1 lives left
# nor drop lives no matter if the option below is enabled or not.
enabled: true
first-join-protection:
# The time a player is protected from losing lives when they first join the server.
# First join protection is lost on a player's second join no matter if the time has passed or not.
enabled: true
# Supported time units: w (week) / d (day) / h (hour) / m (minute) / s (second)
time: 10m
actionbar:
# If enabled, the player will see an action bar message showing their remaining first join protection time.
enabled: true
# The action bar message the player will see when they have first join protection.
#
# %time%: Remaining first join protection time.
message: '&aYou are protected from losing lives for &e%time%&a.'
# ########################
# # Anti-Alt Settings #
# ########################
Anti-Alt-Settings:
# If enabled, the plugin will try to prevent players from using alt accounts
# to gain free lives.
# This is not 100% effective, but it will help reduce the chances of issues
# like this happening.
enabled: true
# If enabled, the plugin will send a notification to staff when a person who is
# taking advantage of their alt is detected.
# This will help you catch issues like this faster and prevent them from happening.
#
# Permission: lifesteal.antialt.notify
send-notification-to-staff: true
# ########################
# # Anti-Dupe Settings #
# ########################
Anti-Dupe-Settings:
# If enabled, the plugin will try to prevent dupe exploits.
# This is not 100% effective, but it will help reduce the chances of dupes.
enabled: true
# If enabled, the plugin will send a notification to staff when a dupe exploit is detected.
# This will help you catch dupes faster and prevent them from happening.
#
# Permission: lifesteal.antidupe.notify
send-notification-to-staff: true
# ########################
# # Advanced Settings #
# ########################
Advanced-Settings:
# The size of the scheduler thread pool.
# This is used for async tasks. Adjust depending on your CPU.
scheduler-pool-size: 5
# ########################
# # Command Settings #
# ########################
Command-Settings:
lives-command:
- lives
- live
- lifesteal
withdraw-commands:
- withdraw
rebirth-commands:
- rebirth
lives-commands:
- lives
- live
- lifesteal
# ########################
# # Region Settings #
# ########################
Region-Settings:
ban-stuck-in-region:
enabled: false
world: world
# If this option is enabled, banned players will be stuck in this region.
# This region must exist in WorldGuard.
region: lifesteal_ban
command-whitelist:
enabled: false
# If a player is in the ban stuck region, they will only be able to use these commands
# if the following option is enabled.
commands:
- spawn
- lives
disable-heart-lose:
enabled: false
# If a player is in any of these regions, they will not lose lives on death.
# This is useful for safe zones or spawn areas.
# These regions must exist in WorldGuard.
regions:
- spawn
- safezone
worlds:
- lobby