RPGLives 2.4.3

Add an unique life system to your server

  1. GloriousMeme
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/MatrixKhan/RPGLives
    Contributors:
    ZwPBerserk (Gave me the idea)
    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)

    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)

    Code (Text):
    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 lives
     

    Code (Text):

    /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
    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
    Code (Text):
    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

Recent Reviews

  1. DazzleFun
    DazzleFun
    5/5,
    Version: 2.4.2
    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.
  2. DazzleFun
    DazzleFun
    4/5,
    Version: 2.4.1
    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]
    1. GloriousMeme
      Author's Response
      Instead of posting issues in a review maybe you should post in discussion or message me directly... Anyways thanks for the review
  3. DazzleFun
    DazzleFun
    4/5,
    Version: 2.4.0
    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.
  4. Kukurucho
    Kukurucho
    5/5,
    Version: 2.3.9-Fixed
    amazing plugins brooo!! You are helping us so much with your great work. Thank you! <3
  5. KazMNF
    KazMNF
    5/5,
    Version: 2.3.8
    Amazing plugin. Really helps my rpg server.
    Hope you update soon. 60 charssssssssss
  6. omgitsbob12
    omgitsbob12
    5/5,
    Version: 2.3.3
    Awesome plugin, and fast support when bugs are present .
  7. ViGame
    ViGame
    5/5,
    Version: 2.0.7
    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?
    1. GloriousMeme
      Author's Response
      Thanks for the review it means a lot and I will look into adding a feature like this soon
  8. applessmillion
    applessmillion
    5/5,
    Version: 2.0.3
    Great plugin that works great for RPG servers! Pretty easy to customize and offers plenty of options. Thanks for visiting our server as well!
    1. GloriousMeme
      Author's Response
      Thanks for the positive review it means a lot to see other servers using my plugin and making their server better with it
  9. ExZotic
    ExZotic
    5/5,
    Version: 2.0.2
    EXCELLENT plugin! Really cool idea !
  10. Airsoft14
    Airsoft14
    5/5,
    Version: 2.0.2
    Is great idea for a plugin, this is awesome for survival server, you can add lives per permission? Example:
    Vip: 5
    User: 2
    Vip+: 10
    1. GloriousMeme
      Author's Response
      i will work on adding a system like this in an upcoming update thanks for the positive review