BringBackTheEnd 1.2.2

Details

  • Filename
    BringBackTheEnd.jar
  • Uploaded by
  • Uploaded
    Aug 3, 2013
  • Size
    48.22 KB
  • Downloads
    3,513
  • MD5
    a018c42502d53384848274ba620d36e4

Supported Bukkit Versions

  • 1.6.2
  • CB 1.5.2-R1.0

Changelog

1.2.2

  • Added a new option to manually specify which world to reset (and, to disable the automatic hook).
  • Improved Multiworld support. Plugin will now monitor if a world is loaded and hook into it if it's the one specified or an end world.
  • Fixed a lot of bugs.
  • Changed the deprecated method 'spawnMob()' to the new method 'spawnEntity()'.
  • NOTE: I haven't figured out how to load a world from my plugin, so if you have multiverse, spigot/mcpc+ or something else that unloads the world, and you want to reset the end, the plugin won't be able to do it and will let you know.

1.2.1:

  • Implemented a solution to a bug where you may get a NPE that causes a "Could not pass event PlayerPortalEvent to BringBackTheEnd" exception when the getTo() method returns null (inside the WorldAccessEventMonitor class) for servers using multiple worlds and/or plugins that block / modify portal behavior.

1.2: THE OLD CONFIG.YML FILE NEEDS TO BE DELETED

  1. Major rewrite of the plugin.
  2. Changed all methods to sync instead of async. This will cause small lag on servers during a rest. It usually lasts around 3 seconds. This was done to prevent concurrent modification exceptions until I'm able to make the thread completely safe.
  3. Added a mode to teleport players back to spawn after a specified 'grace period' (interval). The old mode is still available: Reset after the 'grace period' but wait until the players leave by themselves.
  4. Plugin will now save the remaining time to disk and continue from there after reloading the server.
  5. Removed commands to configure the plugin in game. Will probably re add this later on.
  6. Optimized the rebuild operations.
  7. Added commands to check the remaining time for a rebuild.
  8. Removed the ability to reset multiple end worlds. The plugin will now search for all available End environments at start and hook into the first one it finds.
    • THE OLD CONFIG.YML FILE NEEDS TO BE DELETED

1.14:

  • Fixes made to resolve Concurrent Modification Exceptions. Reset should now be thread safe.

1.12:

  • Added a setting so The End can be reset after a grace period once all the players leave.
  1. If the setting is enabled, once the players kill all the dragons on the world, they will get a message telling them they have X hours/minutes/seconds to leave/enter the world as they choose. (The period variable sets how much time they get).
  2. After the grace period is over, if players are still they will get a notice that as soon as they leave the world will be reset, otherwise it happens instantaneously.
  • The plugin will always require a dragon death before attempting to rebuild.
  • Modified the rebuild process to not hold down the server during rebuild.
  • Modified the force command.
  1. It will now always reset the world even if there is a dragon in there.
  2. It will no longer attempt to rebuild all the end worlds at once.
  3. If there are multiple The End worlds, you get a list of available worlds to reset and you must select which one you want to force.
  4. If there's only one The End world, you don't need to specify which world you want to reset.
  • Changed the behavior of the main rebuild method to be less prone to errors.
  • Fixed spelling on messages / incorrect descriptions.
  • 'Interval' is now callled 'period'.
  • Fixed bugs that may have caused problems.
  • General optimizations.
  • Source cleanup The ZIP file no longer contains the source in a folder or the default configuration. Source can now be found inside the JAR file. The old config.yml must be deleted to accomodate for the new and removed functions.

1.01 - Bug Fixes / Improvements

  • Multiple dragons sometimes got stuck together and couldn't be killed.
  • An additional dragon was being spawned.
  • The plugin won't auto arm on a world with multiple dragons until all of them have been killed.

1.0 - Initial Release

1.2.2 - The plugin can't load a world that was unloaded after hooking into it. Therefore, if your end world is unloaded and the plugin wants to rebuild, it will fail and give you the corresponding warning. To fix it in spigot/mcpc+, allow in bukkit.yml to keep end environments loaded.

1.2.1 - No changes since 1.2

1.2 - The config.yml loses its comments after the plugin saves its information due to the limitations of bukkit's default configuration saver.

1.14 - Need to add a timer to keep track of the time remaining on the grace period to prevent having to wait the full amount in case of a server/plugin restart.

1.12 - Improved multiple The End world support. Still needs more work.

1.0 - 1.01 - Have not tested on servers with multiple The End worlds.