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.
- Only after all players leave or
- 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
- Too low means increased disk access.
- Too high may cause the current tick count to be lost if the server is shut down incorrectly.
- Default is 5 minutes (600 seconds).
- 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.
Will you update it for 1.13.2?
Can confirm it works on 1.11, just wont properly reset end with a dragon and end portal.
Is this still working on 1.9 and 1.10 Servers ?
Is it possible to somehow hook this plugin too two different ends so both of them reset individualy when the dragon dies?
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)
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!
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!
Looks good! Gonna try it out
@RCEKH
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.
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 ?
@PaulBGD
ResetEnd
What does re stand for (in your commands)?
@Webman97
Good to know, thanks
Plugin works great for 1.6!
I really like to know how can I translate the plugin... could you help me? I like to translate to portuguese..
@zedadiaswick
Yes, please. This is exactly what I'm looking for. Thanks.
Can we get an update for 1.4.6 please?
This plugin has been really great on my server, would love to bring back the end again :)
I would be happy for multiverse supprt. Currently we can only reset the "main" end. Want to be able to say reset the normal end like once a day, and reset a special PayToFight end more often
The end, to be constructed, seems to be creating less towers and/or irregular towers.
Again, sorry for my basic english.
Hi,
How can I disable or translate the messages that warn that the end will reset? (Sorry for my basic english!).
Thanks.