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
- Tested Minecraft Versions:
- Source Code:
- ZwPBerserk (Gave me the idea)
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)
Code (Text):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)
description: "Shows your current amount of lives"
/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 lives
/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.respawn
Code (YAML):# 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
# Which worlds does the player not lose items from pvp deaths?
# The amount of lives it takes on a death from pvp
# The amount of lives it takes on anything besides a pvp death
# If this is enabled you will have to give players the "LifePermission" or else they will not regen lives or get any
# If you enable this you will regen lives at the RegenTime set time otherwise you will not regen lives period
# The time between regenerating lives (in minutes)
# If you enable this it will delete your items if you die with 0 lives left instead of just dropping them
# Whether or not the title message is enabled (the message above the hotbar)
# If this is enabled you will have to add each world you would like to use lives in below in the "Worlds" list
# The worlds that lives are active in
# The worlds that you want to have unlimited lives in
# If this is true it will execute the commands below when the player dies on his last life
# Commands for console to execute on player death use %player% to get the player's name
- "give %player% dirt 1"
# Life shop section
# Is the shop enabled?
# Shop name
ShopName: "&aLife Shop"
# Shop item for buying a life
# 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
# Shop item for closing the shop
# 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
# Shop border items
# 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
# 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?
# The permission they need to have lives if you enabled the UseLifePermission option
# What item the Life Item will be
# The name for the life item
LifeItemName: "&6Soul Shard"
# The lore for the life item
- "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
Code (Text):displays the user's current number of lives
displays the user's max number of lives
displays the user's regen time
Servers that use this plugin (pm me to get your server on here):
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
Add an unique life system to your server
After various checks I can tell you about its capabilities.
The description corresponds to the work of the plugin itself, but for me the possibilities do not fit, that's what exactly did not suit me in the plugin, maybe someone will find in it a favor for themselves.
+ - When restarting the server, the reload time is reset (you can not change);
+ - In the absence of a player on the server, the recovery timer does not work (you can not change);
+ Works on version 1.12.2.
+ - There is no possibility to disable messages in the chat (rendered on scoreboard);
- There is no possibility to connect to the database(MySQL);
+ Checked for timings, everything is perfectly.
It’s a pity, but this plugin doesn’t work for me personally, because my server is restarted every 6 hours, and the life recovery timer is 24 hours.
I apologize for my English, used google translator.
Does not work on spigot 1.12.2
For this version use 2.3.8
Can you please make a dynamic timer for papi? %rpglives_regentime%
I really want to use your plugin on my server, but as soon as I check everything completely. Be sure to leave a review. I hope you will succeed, good luck.
[00:46:08] [Server thread/INFO]: [RPGLives] Enabling RPGLives v2.4.1
[00:46:08] [Server thread/ERROR]: Error occurred while enabling RPGLives v2.4.1 (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.GREEN_STAINED_GLASS_PANE
at java.lang.Enum.valueOf(Unknown Source) ~[?:1.8.0_161]
at org.bukkit.Material.valueOf(Material.java:1) ~[server.jar:git-Spigot-c3093ef-29705a0]
at net.minequests.gloriousmeme.rpglives.utils.GUIUtils.<init>(GUIUtils.java:21) ~[?:?]
at net.minequests.gloriousmeme.rpglives.RPGLives.onEnable(RPGLives.java:56) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[server.jar:git-Spigot-c3093ef-29705a0]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [server.jar:git-Spigot-c3093ef-29705a0]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [server.jar:git-Spigot-c3093ef-29705a0]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [server.jar:git-Spigot-c3093ef-29705a0]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [server.jar:git-Spigot-c3093ef-29705a0]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [server.jar:git-Spigot-c3093ef-29705a0]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [server.jar:git-Spigot-c3093ef-29705a0]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [server.jar:git-Spigot-c3093ef-29705a0]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [server.jar:git-Spigot-c3093ef-29705a0]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [server.jar:git-Spigot-c3093ef-29705a0]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
Guys, all those who want to use the plugin on version 1.12.2 download RPGLives-2.3.8 above is no longer working, checked for Spigot 1.12.2. The plugin is great and has a place to live, I hope the following update will work not only on 1.13. Later, write off the work of the plugin.
I apologize for my English, used Google translator.
First of all, this is a wonderful plugin and it is a big help for my Minecraft project.
So I say thanks to the author and have a question,
could you add a mechanic to give a other player a life of my own, so that when I play in a team an a member of the team just have 1 life left I can give him one of my own?