EndReset
EndReset
Overview
This plugin was requested by Delois.
What if a player on a server kills the dragon? A useless The End? No! Simply reset it!
EndReset will do that for you! After the dragon died and all players left The End it will regenerate it.
Commands
/EndReset X Where X is the time in minutes to wait for the regeneration after the last player left The End.
/EndReset To force the regeneration of a world. Use this only for debugging or in case of emergency!
Since v1.0
/EndReset ignore World_Name To ignore (or unignore) a world. If the world is ignored it will not reset after the dragon has died.
/EndReset force add World_Name X To force a regeneration of World_Name every X hours. This will force a regeneration even if your world is ignored (see above)!
/EndReset amount World_Name X To configure the amount of dragons that will be spawned in World_Name after a reset.
/Update EndReset To update this plugin. Have a look here for more information.
Permissions
endreset.config
To use /EndReset
autoupdate.announce
Users with this node will be notified about new updates. Defaults to op.
autoupdate.update.endreset
Users with this node will be able to use /update this plugin. Defaults to op.
for more information about the autoupdate nodes have a look here.
Multiworld
This plugin will automatically detect all The End worlds and handle them, don't worry. :)
@JoneKone Could you give a bit more information?
Currently it won't reset the world by it self...
@Kommy000 It doesn't generate a config cause it doesn't need/use one. All it needs is the savefile. :)
For the problem that the command doesn't return anything: Double check your permissions (you need endreset.config). If you don't use permissions at all: Be op.
Installed endreset for the first time v0.3. It shows it installed but nothing happens, It doesn't generate config file or EndReset folder in plugins. It does generate a .sav file. I connected to server tried the /EndReset command and there nothing happens, no denial or confirmation for setting minutes. Am I missing something? I restarted the server and it still did not generate any config files or a folder.
It could print something to the public or admins
(End Reseting in 10 seconds) or (End Reset in 9 seconds)
Both would do.. But something like that...
/EndReset doesn't work, it just comes up with dialogue telling you to use /EndReset X
@kalez238
I actually have the same issue.. 2 Dragons.. I put it in HardCore mode an thought that was the reason for it..
Well, KCZerg, you can actually set the delay to a large value that equals hours or days. However, what I'm gathering is every time someone goes to the End and then leaves again, it resets the delayed task. Unless I'm wrong, the problem with this is I know people are going to be checking periodically for the dragon. So I assume the approach this plugin takes works best when an admin desires a very short delay. But I don't. That's why I was wondering if I could schedule the reset.
It says "minutes" in the game when I set it, yet the documentation says seconds. So I looked at the code to verify, and it looks you set /endreset x in minutes, not seconds. The documentation should be updated.
0.3 1597
just downloaded this and went into the end, but for some reason there was no dragon, so i reset went back in again, and there were 2 :P
@RealityIntern
Im with you, I would like to know if this plugin can have a longer interval than seconds. Im looking for a plug to do this but every 1-2 days and in multpile locations...
@RealityIntern What do you mean with "regeneration method"? Want technical information? It adds a version number to the chunks and after the dragon is killed it puts +1 to the needed number... Then, when a chunk loads it checks the version of the chunk against the needed number... ;)
- No
- It should. If it doesn't there's a bug...
Works great!!
- What is the regeneration method?
- Can I just use the manual reset command with a scheduler? (to, say, regenerate The End once every day)
- Does the wait in seconds carry over a restart?
Yes! Force reset works.. But when i put /endreset 1 it will say to me "endreset x"
[First try]
No errors..
Can you put an enforce command in there, cos when I do the /resetend 1 command it will say 1minute.. and for debug purposes it is way too long.
[Second Try]
I have all so disabled the load world in memory part... From Multiverse.. No effect
[This is my third try]
Actually at the first try, the .sav file was 0 bytes Now however it has some content
Ok waited over 1 minute nothing it gave me in the console and nothing happened in the end.
[Fourth try]
I have stopped server deleted the end directory and deleted the .sav file. Now I will restart server.
It just won't start the procedure.
Hmm no console output and it WORKS!.. I had to wait for 40 min for it to get resetted... Update, afte this I /stop and started the server and in startup it gave me the error.. can't read .sav file
http://pastebin.com/XvbSBH5v <- multiverse file.
Log report
Found this when it starts up the server.
2011-12-20 11:20:42 [INFO] [EndReset] ERROR: can't read savefile!
However I have restarted the server several times .. and only ones it gave me this.. (I'm thinking cos the .sav file was empty?)
2011-12-20 11:20:42 [INFO] [EndReset] disabled!
@JoneKone So you don't have the line
[EndReset] ERROR: Cant read savefile!
in your logs? EndReset tries to disable the "keep spawn in memory" function. I'll have a look into it.
@Tombikos
ME 3 !!!
Great WORK!!! Love you man.. :( Was hoping this would be a part of MultiVerse.. But those guys seem to just like to sit on their asses..
Anyways :( Can't get it to work.. It won't reset..
Yes using multiverse and probably the end is in memory loaded all the time cos it is so small and "it has spawn"