Skip to content

Releases: brysonsteck/resurrection

Version 1.3.2

29 May 00:14
Compare
Choose a tag to compare

"Fixed" the Updater!

Well... there wasn't really a problem, I just switched domains for various reasons, but Resurrection now checks for updates with the correct domain.

That's all for now! I hope you are enjoying using Resurrection.

EDIT

I updated the binaries so that the plugin now displays the correct version instead of saying it's on 1.3.1. Sorry about that!

Version 1.3.1

27 Feb 23:44
Compare
Choose a tag to compare

Implemented #5

Resurrection now locks players at the exact point where they spawn, unlike all previous versions of the plugin where it locks the players in the center of spawn. This will help for people using custom settings for the SpawnRadius gamerule. Thank you for the suggestion!

Known Issues

After some internal debugging, I've noticed when a privileged user uses the /resurrect command, it breaks the BukkitRunnables that are scheduled when the player dies, causing people to return to spawn after they have been resurrected manually when the time has come. I've currently mitigated the bug in this version so it doesn't force you back to spawn, but the message and sounds still play. I will keep working on this issue, but for now this is the compromise I've made.

Version 1.3

16 Jan 06:33
Compare
Choose a tag to compare

New command!

A more broad derivative of the /howlong command, you can now use the brand new /dead command to get an overview of all the players who are awaiting resurrection. This command does not require any arguments to run.

Did the Dragon scare you too?

I've had some people complain about the Ender Dragon noise being a little too startling. I found the Wither's death noise to be a little less surprising, since it starts off at a lower frequency before it's screeching begins, so that is now the sound that plays upon resurrection. This will also improve compatibility with earlier versions of Minecraft, of which will be described in the following section.

Now compatible with all Spigot servers! (with a caveat)

The API call for the Ender Dragon growl is not consistent between versions 1.9-1.12, while the Wither's death noise is. Plus, the Wither is in Minecraft 1.8, while the Ender Dragon is not. This was an unintended side effect, but now Resurrection is officially compatible with Minecraft versions 1.8-1.12!

BUT... 1.8's API call for the Wither noise is also not consistent with the other Minecraft versions > 1.8. Since I got the other versions working, I will just include a version of Resurrection in each subsequent release specifically for Minecraft version 1.8 titled Resurrection_mc1.8.jar. I can't use exception handling because the plugin crashes regardless of the error I'm trying to catch, nor can I simply add another API Jar to the classpath to patch it out, so unfortunately this is the only solution to the problem for now. If you have a server that runs on 1.8, please use this specific version of the plugin for your server.

LOTS of Internal Improvements

  • Added a new message variable server-side that displays on startup if I want to get information about the plugin out there, such as a severe bug or just general information to server owners.
  • Fixed a bug where the resurrection message would be displayed every time a player joined the server, even if they weren't dead beforehand.
  • The following warning (or something similar) would appear in Minecraft versions > 1.12 due to the api-version flag being absent from the plugin.yml file, resulting in legacy plugin support being enabled unnecessarily. This should no longer happen after updating.
[12:50:38] [Server thread/WARN]: Legacy plugin Resurrection v1.2 does not specify an api-version.
  • Replaced all System.out calls with JavaPlugin.getLogger() calls for printing to the console, reworked all of the output to remove unnecessary newlines.
    • Apparently Spigot forks like PaperMC are very passive aggressive about this being an issue? Interesting.

Version 1.2

23 Dec 05:48
Compare
Choose a tag to compare

Fixed #4

  • Resurrection now correctly revives people in the event of a server restart.

Quality of Life things

  • Added more information to the plugin.yml file.
    • Added /timeleft as an alias for the /howlong command.
    • The rest of the additions don't effect Resurrection directly.

This is not implemented yet, but language translation is in the works! Current languages that are being added are Spanish and French. All the translations will be done through Google Translate, but if you would like to help with translations, please submit a feature request via an issue or the Google Form! Likewise, if you would like another language added in the next release in addition to the other two languages, submit a feature request as well!

Bug Fixes!

This update also fixes a couple of issues with spawning upon a player's resurrection.

  • Confirms that the player respawns in the correct place, particularly if a player does not have a bed.
  • Fixed an issue where Resurrection would not set player spawns correctly when /setworldspawn is ran in Spigot. This issue would be fixed if the server was reloaded or restarted, but this makes it more convenient.

Version 1.1

14 Sep 00:01
Compare
Choose a tag to compare

The Debug Mode is Official!

In Version 1.0, I simply added a flag to enable it in the settings file. Nothing would happen if it was changed to true, but now you get text spam!

Enabling Resurrection's debug mode by changing the debug flag in the settings file to debug=true will tell the plugin to broadcast (meaning tell EVERYONE) what is happening on the inside of Resurrection. This can happen from player events, running commands or anything else that might trigger code to run in Resurrection. Several messages may appear at once and several messages may be repeated due to repeated functions. This mode is not recommended for normal use. Avoid enabling this mode for anything except... well... debugging I guess.

Bug Fixes!

  • Fixed an error where a dead state wouldn't be cleared in the playerData file if a player rejoins the server and they get resurrected.
  • Fixed a logic error where using invalid values for the debug setting wouldn't trigger a plugin shutdown.
  • Fixed a severe oversight where, in some places, using System.exit(1); would tell the entire Minecraft server to shutdown, not just Resurrection. Replaced by calling to disable the plugin and implementing logic to prevent further execution.

Version 1.0

26 Aug 02:15
Compare
Choose a tag to compare

The Real Deal!

Resurrection has moved out of beta! It seems that the plugin is stable enough and the base features I wanted to add have made it in and function well! This release is mainly visual polishing and nothing else, but stay tuned for other features in the future!

Seperate /source Command

Following the license's suggestion to make it easy for people to find the source code, a new /source command has been added containing info about this repository, license and all other open source-ness. All attention made about Resurrection being open source (such as in the /about command) will tell players to run this new command for more information.

Visual Improvements

  • On player death, the time until their resurrection is shown with their death message to other players.
  • The "You have died!" message when you die (not when you respawn) has been removed. This was originally a debug message and is no longer significant after I got the listener working.
  • All Resurrection-related commands now have the same colors for text, links, errors and titles.
  • ERROR: now proceeds any error message from any command.
  • Errors of similar nature across different commands now have standardized messages.
  • Some console messages were missing the [Resurrection] tag that every other system out message has.
  • Some commands now have console-exclusive messages. Easy-to-find Easter eggs, if you will.

Version 0.2.1 Beta

21 Aug 18:40
Compare
Choose a tag to compare

Found out the hard way!

Turns out using Discord isn't an effective method to contact me if a bug occurs, since you must have a server in order to talk to people (Discord policy, not a setting I can change). Because of that, I have created a Google Form instead! You can now use this to report bugs if you refuse/don't know how to create issues on GitHub.

Both the README and Spigot listing have been updated to reflect this change, as well as the /bug command in this new version of Resurrection. No other changes have been made to the code in this release, so I guess you can continue to use 0.2 beta if you wish, just don't try contacting me on Discord because I legitimately cannot respond haha!

Version 0.2 Beta

20 Aug 06:06
Compare
Choose a tag to compare

New Additions!

  • Added a settings.resurrection file for users to take more control of the plugin.
    • The default file can be found here..
    • Just like the playerData.resurrection file, this file will automatically be generated if it doesn't exist in the plugins directory.
  • Added the ability to change the resurrection time.
    • You can change the time in milliseconds by modifying the resurrection_time value in the new settings file mentioned above. The default time will remain 24 hours.

small changes

  • The "YOU HAVE DIED!" text before and upon respawn will now display the actual time to resurrection.
    • The last beta had the time hard-coded into the string.
  • The plugin is now confirmed to (at least) function on 1.13, 1.14, 1.15 and 1.17 Spigot servers.
    • Other versions are being tested as well. You can view the status of each version in the TODO list here.

Technical Changes

  • The TimeCheck class now has a modifier to format the time given in different ways.
    • h for hours only and f for the full hours, minutes and seconds.
  • GSON has been extracted into the Jar.
    • This has been the only change to make the plugin enable successfully on 1.8 servers, however the plugin crashes on 1.8 servers on player resurrection.

No bugs have been found by myself since the last version. Feel free to create an issue if you found something that I missed.

Version 0.1 Beta

22 Jul 04:04
Compare
Choose a tag to compare

First Release of Resurrection! Nothing else to say really lol.