BringBackTheEnd

Description

This plugin allows the automatic regeneration (reset / rebuild) of The End even after the dragon is killed, so players may once again have a chance to kill the EnderDragon. Rebuild is usually pretty fast.

With BBTE you can configure:

  • The amount of dragons to spawn.
  • The time between attempts to rebuild The End.
  • Two automatic rebuild modes: After the period you configure (interval) The End can be automatically reset
  • [NEW] Added a configuration parameter to allow you to select which world you want the plugin to hook on to.
  1. Only after all players leave or
  2. It can teleport them to spawn. Both will only happen after the players kill all the dragons that are alive in the end and if the grace period has passed.
  • You can disable the automatic functionality and use the /re now and /re schedule to rebuild the end manually.

The plugin protects against world damage by player entrance. This is done by teleporting players back to spawn during rebuild. This includes:

  • Access by command (e.g. /back on essentials).
  • Access by The End portals.
  • Access by login (If the player logged out while being on The End and attempts to join back in that world). In this case the plugin kicks out the player until the rebuild is done.

Main command: /resetend Alias: /re

Source can be found inside the jar file, just unzip it.

Commands

Parameters in <> are required. Parameters in [] are optional.

  • /re now [dragonamount] - Resets the end instantly. Optional dragons to be spawned.
  • /re schedule <time> [dragonamount] - Schedules the end to be reset in <time> seconds.
  • /re cancel - Cancels any pending reset.
  • /re help - Shows help
  • /re reload - Reloads the configuration from file.
  • /re showconfig - Shows the plugin's configuration.
  • /re status - Shows if there is a pending rebuild, the remaining time, the action it will take (tp or wait for empty) and the dragon amount to be spawned.

Tip to remember the main command: re comes from resetend

Permissions

  • bringbacktheend.reset - Allows the use of the now and schedule commands.
  • bringbacktheend.reload - Allows the use of the reload command.
  • bringbacktheend.cancel - Allows the use of the cancel command.
  • bringbacktheend.status - Allows the use of the status command.
  • bringbacktheend.showconfig - Allows the use of the showconfig command.

Note: Only bringbacktheend.status has a default permission of 'true'. The rest need 'op' (or the equivalent of your permissions plugin) permission.

Configuration

NOTE: The comments on the config.yml get wiped after the first reset because of the way the default file parser works on bukkit. This does not affect anything else on the file or the workings of the plugin.

  • logDebug - Saves debug information to the log. Do not set to true unless you have a good reason. Default = false
  • autoReset - Enables the auto reset functions of the plugin. Setting this to false means you will need to use the now and schedule commands to reset the end. Default = true
  • interval - Time between rebuilds after the dragon has been killed. Value is in seconds. Default = 1200
  • tpPlayersAfterTimeout - If set to true, any player still on the end when the reset happens will be tp'd to spawn. If set to false, the reset will happen as soon as they leave. Default = false
  • dragonAmount - The number of dragons to spawn during the reset. Default = 1
  • saveRate - The save rate of the remaining time to reset to disk. Value is in seconds.
  • [NEW]autohookworld - Checks all the worlds that are loaded and hooks to the first end environment that it finds. If you set it to false, you need to specify the world name in 'worldName'. Default = true.
  • [NEW]worldName - Name of the end world to hook on to. Case sensitive. Only used if autohookworld = false.

NOTES on the saveRate value

  1. Too low means increased disk access.
  2. Too high may cause the current tick count to be lost if the server is shut down incorrectly.
  3. Default is 5 minutes (600 seconds).
  4. This value needs to be lower than the interval or it will be adjusted as necessary.

The rest of the values on the config.yml file should not be changed.

IMPORTANT: If you were using version 1.14 or lower, YOU NEED TO DELETE YOUR OLD CONFIG.YML before updating to 1.2.x Any further updates will also update your config file automatically unless otherwise noted.

Update 2013/08/03 The new version (1.2.2) fixes a lot of bugs regarding multi world support and changes the deprecated method of spawning entities to the new method. This will make the plugin prepared for future bukkit updates. The plugin will update the config file automatically.

BUT

If you have spigot/mcpc+ or a plugin that unloads the end environment, the plugin will not be able to reset that world. It will warn you when that happens. For spigot/mcpc+, change the paramenter 'keeploaded-environment-the_end' to 'true' in 'bukkit.yml'.

This mod should keep on working on most versions of Bukkit without any update as long as they don't do any major changes on the methods I use.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of JudgeXion JudgeXion Apr 20, 2014 at 16:11 UTC - 0 likes

    Is it possible to somehow hook this plugin too two different ends so both of them reset individualy when the dragon dies?

  • Avatar of greyjester greyjester Mar 11, 2014 at 20:21 UTC - 0 likes

    getting a error no idea what is causing it please let me know

    [WARNING] [BringBackTheEnd] Task #1 for BringBackTheEnd v1.22 generated an exception 20:12:48 java.lang.NullPointerException 20:12:48 at net.jamartinezm.BBTE.WorldLeaveCheckTread.run(WorldLeaveCheckTread.java:57) 20:12:48 at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58) 20:12:48 at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) 20:12:48 at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:777) 20:12:48 at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320) 20:12:48 at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732) 20:12:48 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614) 20:12:48 at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

  • Avatar of DatDamnKidAgain DatDamnKidAgain Dec 13, 2013 at 02:51 UTC - 0 likes

    I like this plugin a lot and never had a problem until now, when someone kills the dragon the msg that says in the chat that the end will be reset in x time doesn't displays, everything else works fine, im using craftbukkit 1.7.2 latest build! hope you update this sir and add some cool stuff!

    CraftTime Banner

  • Avatar of Phreak2600 Phreak2600 Aug 30, 2013 at 05:57 UTC - 0 likes

    Hello,

    First of all, thanks for the good plugin. I like it quite a bit & has enabled me to do some pretty creative things with the end and using Dragon Eggs as a form of currency!

    I did have a question & suggestion tho!

    1. When I spawn 4+ dragons, one ALWAYS glitches out in the middle of the end, it doesn't move and it can't be killed. Is this a known bug per chance?

    2, because of the above bug I decided to reset the end on a schedule every 3 hours instead of when all the dragons are dead. I thought it would be fun to randomize the number of dragons spawned each time. I accomplished this with a simple bash script, however it may be a neat feature to add into future releases!

    Thanks!

  • Avatar of Verthamon Verthamon Aug 08, 2013 at 01:30 UTC - 0 likes

    Looks good! Gonna try it out

  • Avatar of jamartinezm jamartinezm Aug 07, 2013 at 21:08 UTC - 0 likes

    @RCEKH: Go

    Glad to hear you like it. Unfortunately, the plugin doesn't hook into multiverse or any other plugin so it can't know what's a portal and what's not.

    The blocks around the multiverse portal will get replaced by the default block from the seed, but the actual portal information won't be affected. The portal will just be in the air.

  • Avatar of RCEKH RCEKH Aug 04, 2013 at 07:35 UTC - 0 likes

    like your description is your plugin very interessant.

    But if you regenerate the complete end-world, what is with the portals like, the MultiVerse Portals ? Did this portals recpected and doesnt build blocks there ?

  • Avatar of jamartinezm jamartinezm Aug 04, 2013 at 01:43 UTC - 0 likes

    @PaulBGD: Go

    ResetEnd

  • Avatar of PaulBGD PaulBGD Aug 04, 2013 at 00:52 UTC - 0 likes

    What does re stand for (in your commands)?

    Minecade

  • Avatar of Baffu Baffu Aug 03, 2013 at 15:10 UTC - 0 likes

    @Webman97: Go

    Good to know, thanks

Facts

Date created
Apr 03, 2012
Categories
Last update
Aug 03, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
BringBackTheEnd
Downloads
7,003
Recent files

Authors