If you need older versions the downloads on here don't work anymore (dropbox being stupid) so use this link https://www.dropbox.com/sh/gvdfrjnv9cnmsrj/AAB3Gll-J0WKZx9dhUTG1rf6a?dl=0
If you have any suggestions please pm them to me I'm pretty much out of ideas lol
This plugin only officially supports Java 8 and Spigot 1.8+ older versions will probably work but I will not offer official support for them
Please do not leave any bugs / suggestions as a review please private message me or post in the plugin discussion
This plugin adds a life system to your server basically everyone has 3 lives (configurable) if you die and have a life left it will take one life from you and you will not lose your inventory otherwise you lose your inventory like normal you also gain a extra life every 10 minutes (configurable) up to the max you set default 3 (configurable)
TODO
support heroes death (if it isn't already)
implement an option to disable saving inventory on pvp death
implement a permission system to determine player's max lives
Add ability to give someone else one of your lives
Add ability to select specific slots you lose on pve / pvp death (Maybe)Commands
commands:
lives:
description: "Shows your current amount of lives"
rpglives:
usage:
/rpglives help (displays all of the commands)
/rpglives reload (reloads the config)
/rpglives shop (opens the gui shop to buy lives)
/rpglives setregentime <player> <time> (sets the player's regen time)
/rpglives giveitem <player> <amount> (gives the player a item that will give them a life when right clicked)
/rpglives setlives <player> <amount> (sets the player's lives)
/rpglives setmaxlives <player> <amount> (sets the player's max livesPermissions
/lives <player> (permission: to see your own lives you need rpglives.command.use to see others you also need rpglives.lives.others)
/rpglives or /rpglives help (permission: rpglives.help)
/rpglives reload (permission: rpglives.reload)
/rpglives shop (permission: rpglives.shop)
/rpglives setregentime <player> <time> (permission: rpglives.setregentime
/rpglives giveitem (permission: rpglives.giveitem)
/rpglives setlives (permission: rpglives.setlives)
/rpglives setmaxlives (permission: rppglives.setmaxlives)
Respawn at your death location if you have a life with this permission: rpglives.respawnConfig
# Author: GloriousMeme
# Version 2.4.0
# Side note: all %lives% in messages get replaced with the number of lives you have
# Side note: all %maxlives% in messages get replaced with your max number of lives you can have
# Default maximum amount of lives a player can have
AmountOfLives: 3
# Which worlds does the player not lose items from pvp deaths?
SaveItemsOnPvPDeathWorlds:
- "world"
# The amount of lives it takes on a death from pvp
PvPDeathAmount: 1
# The amount of lives it takes on anything besides a pvp death
NormalDeathAmount: 1
# If this is enabled you will have to give players the "LifePermission" or else they will not regen lives or get any
UseLifePermission: false
# If you enable this you will regen lives at the RegenTime set time otherwise you will not regen lives period
LifeRegen: true
# The time between regenerating lives (in minutes)
RegenTime: 10
# If you enable this it will delete your items if you die with 0 lives left instead of just dropping them
DeleteItems: false
# Whether or not the title message is enabled (the message above the hotbar)
TitleEnabled: true
# If this is enabled you will have to add each world you would like to use lives in below in the "Worlds" list
UsePerWorld: false
# The worlds that lives are active in
Worlds:
- "world"
# The worlds that you want to have unlimited lives in
UnlimitedLivesWorlds:
- "Example"
# If this is true it will execute the commands below when the player dies on his last life
ExecuteCommandsOnFinalLife: false
# Commands for console to execute on player death use %player% to get the player's name
Commands:
- "give %player% dirt 1"
# Life shop section
# Is the shop enabled?
ShopEnabled: true
# Shop name
ShopName: "&aLife Shop"
# Shop item for buying a life
ShopBuyItem: "STAINED_GLASS_PANE"
# Item data for ShopBuyItem (eg: color of the stained glass) you only need to use this on versions lower than 1.13 if you are using 1.13+ set this to 0
ShopBuyItemData: "5"
# Shop item for closing the shop
ShopCloseItem: "STAINED_GLASS_PANE"
# Item data for ShopCloseItem (eg: color of the stained glass) you only need to use this on versions lower than 1.13 if you are using 1.13+ set this to 0
ShopCloseItemData: "14"
# Shop border items
ShopBorderItem: "STAINED_GLASS_PANE"
# Item data for ShopBorderItem (eg: color of the stained glass) you only need to use this on versions lower than 1.13 if you are using 1.13+ set this to 0
ShopBorderItemData: "7"
# What will the buy button be named?
BuyItemName: "&aBuy 1 life"
# What will the close button be named?
CloseItemName: "&cClose shop"
# What will the surrounding borders be named?
BorderName: "&aClick the green glass to buy a life."
# Message when they purchase a life
PurchaseLifeMessage: "&aYou bought a life and now have %lives%/%maxlives% lives."
# Message when you don't have enough money to purchase a life
NotEnoughMoneyMessage: "&4You do not have enough money."
# Message when a player closes the shop
CloseShopMessage: "&cShop Closed."
# What is the price of a life?
LifePrice: 1000.0
# The permission they need to have lives if you enabled the UseLifePermission option
LifePermission: "rpglives.lives.use"
# What item the Life Item will be
LifeItemType: "STONE"
# The name for the life item
LifeItemName: "&6Soul Shard"
# The lore for the life item
LifeItemLore:
- "Soul Shard"
# Message when you give a player the life item
GiveLifeItemMessage: "&aYou have given %player% %amount% %item%."
# Message when you give a player more than one life item
GiveMultipleLifeItemMessage: "&aYou have given %player% %amount% %item%s."
# The message that is sent to you when you run /lives
LivesCommandMessage: "&6You currently have %lives%/%maxlives% lives."
# The message that is sent to you in chat when you gain a life
GainLifeMessage: "&aYou gained another life and now have %lives%/%maxlives% lives."
# The message that is sent to you in chat when you lose a life
LostLifeMessage: "&cYou lost a life and now have %lives%/%maxlives% lives left."
# The message that gets sent when you don't have permission to do something
NoPermsMessage: "&4You do not have permission to use this command."You must download PlaceholderAPI to use these placeholders get it here
Placeholders
displays the user's current number of lives
%rpglives_lives%
displays the user's max number of lives
%rpglives_maxlives%
displays the user's regen time
%rpglives_regentime% Servers that use this plugin (pm me to get your server on here):
play.pixellegendsmc.com
riseapoc.com
mc.dhpvp.com
If you find any bugs or have any suggestions please pm me on spigot and i will try my best to add them / fix them please do not put them in a review
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta