Releases: kadotcom/LifeStolen
LifeStolen 6.0 Tested Version 2.0
Tested on: Private Paper 1.21 server
This tested releases added, reworked, fixed, changed, and removed the following.
Added:
- One new command, /health (view Reworked and Changed for more information)
- There is now a way to disable using hearts if you are below a certain amount of HP (view below)
- New config options
- heart.usableWhenCertainHP | If enabled, you can only use this item if you have a certain amount of HP (e.g, if this is true and hpNeededToUse is set to 10, that means you can only use the item if you have 5, or more hearts) (Default: false)
- heart.hpNeededToUse | The minimum amount of HP needed to use hearts (if usableWhenCertainHP is set to true) (Default: 0)
Reworked:
- Reworked the /[blank]health commands into one command, /health [add/remove/set] [player] [amount]
- [add/remove/set] | The action you want to do (add with add health, remove will remove health, set will set health)
- [player] | The specified player which the health changes will happen to
- [amount] | The amount of health you want to add/remove/set the player to.
Fixed:
- Fixed the bug where if you did /withdraw when you have the health boost effect, you would gain hearts from the health boost effect. (Bug discovered/fixed by D3v1s0m)
- Fixed the bug where if you didn't have a Heart in the Reviver recipe, you couldn't craft a Reviver.
- Fixed the bug where you don't get healed after using a Heart.
Changed:
- Renamed the original /health command to /viewhp
- Changed the default names/lore of the Heart and Reviver item to be more nicer.
Removed:
- Due to the /health rework, /addhealth, /sethealth and /removehealth has been removed.
Full Changelog: 6.0tested-1...6.0tested-2
LifeStolen 6.0 Tested Version 1.0
Tested on: Private Paper 1.21 server
This tested releases added, reworked, fixed, and removed the following.
Added:
- Added using Hearts in the Reviver recipes
- Added a new command, /lsgive (view the Reworked section to see what this command does)
- Added a new argument to /resethp (view the Reworked section to see the new argument)
- New config options
- reviver.isCraftable and heart.isCraftable | if enabled, crafting for these items will be enabled.
- Added four new translations for errors.
- itemDoesNotExist | The message that appears when an item is mentioned that doesn't exist with the plugin
- amountUnderZero | The message that appears when a number is given that is under, or is zero.
- amountOverSixtyFour | The message that appears when a number is given that is over 64.
- missingArguments | The message that appears when you don't give enough arguments in a command.
- Added one new translation category.
- ingameMessages | Messages that appears with the plugin.
- Added one translation to ingameMessages
- resetHealth | The message that appears when a players health is reset to the starting HP.
Reworked:
- LifeStolen's give command was reworked to /lsgive, there are three arguments needed. /lsgive [player] [item] [amount] (Permission is now
lifestolen.lsgive
)- player | The player that will get the item.
- item | The item the player will begiven (valid items: heart, reviver)
- amount | The amount of the item that will be given (must be a value either under, or equal to 64)
- /resethp was slightly reworked to take one argument, /resethp [player/all]
- player | Resets the specified player's health to the health that is set in the config (HP.startHP)
- all | Resets every online player's health to the health that is set in the config (HP.startHP)
Fixed:
- Fixed translations for a few things.
Removed:
- Due to the LifeStolen give command rework, /givereviver and /giveheart have been removed.
Full Changelog: 5.2.1...6.0tested-1
LifeStolen 5.2.1
This update fixes a very serious bug, which would allow people to take items out of the /viewrecipes menu on Minecraft version 1.20.6
Full Changelog: 5.2...5.2.1
LifeStolen 5.2
All this update added was a fix to the Could not pass event InventoryClickEvent bug.
Full Changelog: 5.1...5.2
LifeStolen 5.1
On top of adding/changing/updating stuff, 5.1 also fixes stuff which made certain aspects of the plugin not able to work on versions 1.20.6+, so now LifeStolen should work on 1.20.6+. Anyways, here's the changelogs.
Added:
- Custom Model Data support for items
Changed/Updated:
- Changed Required Java Version from 1.8 -> 21
- Command changes (all by @TheDiscordian)
- /revive now has a return value.
- Bound checks and code cleanup for /viewrecipes
- Certain HTTP requests will now be done if the player has a certain permission (by @TheDiscordian)
What's Changed
- Return on /revive Bound Check Fail, Cleanup and Bounds Checks for /viewrecipes by @TheDiscordian in #10
- Only do HTTP calls if player has perms, only do one by @TheDiscordian in #11
Full Changelog: 5.0...5.1
LifeStolen 5.0
Unlike 4.0, after around one month of development and one tested release, 5.0 is here, and with the first contributor to the project! This will also include notes from 4.1. So here is what was added, changed/fixed/reworked, or removed.
Added:
- Added bStats support for metrics.
- Added a usage counter for the Reviver item (reviver.haveLimitedUses and reviver.uses)
- Added an optional number arg to the /withdraw command allowing more than one heart to be withdrawn at once.
- Added offline support for the Spectator mode using OfflineManager (@TheDiscordian in #7)
- Added the [LifeStolen] tag to most messages within game.
- Made some error messages and server name editable. (view translations in config)
- Added new commands
- /clearusage - Allows admins to reset a players usage counter for items.
- /viewusage - Allows you to view your usage counter for items.
- /givereviver - Allows admins to give yourself a reviver item.
- /revive - Allows admins to revive players (@TheDiscordian in #8)
- Added new config options within permissions
- permissions.viewrecipes allows you to set the /viewrecipes command to be permission based.
- permissions.viewusage allows you to set the /viewusage command to be permission based.
Changed/Fixed/Reworked:
- Fixed heart/reviver limits.
- Fixed a no argument error with /withdraw (@TheDiscordian in #9)
- Where deathMessages in the config is located, it is now located in translations.deathMessages.
- Reworked /lshelp command.
Removed:
- Nothing.
What's Changed
- Fix No Argument Withdraw by @TheDiscordian in #9
- Offline Support for No Ban Mode by @TheDiscordian in #7
- Revive Command by @TheDiscordian in #8
New Contributors
- @TheDiscordian made their first contribution in #9, #8 and #7.
Full Changelog: 4.0...5.0
LifeStolen 4.1
This update just implements a few QOL stuff from 5.0 (to be exact, 5.0 Tested 1.0), here is what was added, or changed/fixed. As a note, this won't have a generated change log and this will keep the current source code.
Added:
- Added bStats support for metric stuff.
- Added an optional number arg to the /withdraw command allowing more than one heart to be withdrawn at once.
- Added offline support for the Spectator mode using OfflineManager (@TheDiscordian in #7)
Changed/Fixed:
- Fixed heart/reviver limits.
- Fixed a no argument error with /withdraw (@TheDiscordian in #9)
LifeStolen 5.0 Tested Version 1.0
Tested on: 1.20.4 Paper server
So this update is the first time that someone has helped contribute to the plugin, so I want to thank TheDiscordian to making some contributions! You'll see the contributions they made in the notes below, speaking of which, here is what was added, changed/fixed, and removed/disabled.
Added:
- Added a usage counter for the Reviver item (reviver.haveLimitedUses and reviver.uses)
- Added an optional number arg to the /withdraw command allowing more than one heart to be withdrawn at once.
- Added offline support for the Spectator mode using OfflineManager (@TheDiscordian in #7)
- Added a /revive command (@TheDiscordian in #8)
- Added the [LifeStolen] tag to most messages within game.
Changed/Fixed:
- Fixed heart/reviver limits.
- Fixed a no argument error with /withdraw (@TheDiscordian in #9)
Removed/Disabled:
- Disabled /lshelp command as it's going under a rework.
New Contributors
- @TheDiscordian made their first contributions in #7, #8 and #9
Feedback
Please submit any feedback to the feedback channel in the Discord.
Full Changelog: 4.0...5.0tested-1
4.0
4.0 is finally here after two test releases and over 10 months since the last non-testing release! Here's what has been added, changed, or removed.
Added:
- A way to teleport you to a place upon full death (read the new config options)
- A way to view crafting recipes for custom items within LifeStolen (read the new added commands)
- A new options to add permissions to commands that would initially not have permissions.
- Added new commands
- /viewrecipes [heart/reviver] will allow you to view the crafting recipes for hearts and revivers.
- /vercheck allows you to check the plugin's version and will tell you about outdated versions.
- New config options
- disableVersionMessage, while it's not encouraged to enable this, if you do enable it, when you have an outdated version of LifeStolen, it won't send the outdated message.
- teleportOnDeath allows you to teleport someone once they died in game.
- The teleporting.* category has everything needed for the teleportOnDeath option, including the input coordinates (xCoord, yCoord, zCoord), option to set the gamemode on death (gamemode) and the option to give the default reset HP amount on teleport (giveDefaultHP)
- Commands can now run once a full death occurs, with the runCommandsOnDeath bool and the commands category for running commands on a full death now being in the config.
- deathMessages is now a category of death messages allowing you to set a custom message for when someone dies from explosions, shooting, etc.
Changed:
- Config stuff
- Changed the name of the coordinates for teleporting on full death from xCoord, yCoord, zCoord to xCord, yCord, zCord
- Changed the name of the full death mesasge from publicDeathAnnouncement to fullDeathAnnouncement
- Death related options has its own category (death.*)
- Banning related options has its own category (banning.*)
- MaxHP is now in the HP.* category (HP.maxHP)
- How final deaths work, instead of being banned, put in spectator, and now being teleported on death, you now get banned, put in spectator, and teleported once you respawn.
Removed:
- Removed the permissions and permissionMessage config options for most of the commands.
Full Changelog: 3.0...4.0
LifeStolen 4.0 Tested Version 2.0
Tested on: Private Paper 1.20.2 server
This tested release added, changed, and removed the following.
Added:
- New death related stuff
- Commands can now run once a full death occurs, with the runCommandsOnDeath bool and the commands category for running commands on a full death now being in the config.
- deathMessages is now a category of death messages allowing you to set a custom message for when someone dies from explosions, shooting, etc. (more will be added to 4.0)
- A new option to add permissions to commands that would initially not have permissions.
Changed:
- Changed config names
- Changed the name of the coordinates for teleporting on full death from xCoord, yCoord, zCoord to xCord, yCord, zCord
- Changed the name of the full death mesasge from publicDeathAnnouncement to fullDeathAnnouncement
Removed:
- Removed the permissions and permissionMessage config options for most of the commands.