EnderRespawn
[1.4.6-R0.1] EnderRespawn v1.2
Features:
- Endermen can remake the Ender Crystals if they teleport with in a close range of where one was. (Takes quite a long time!)
- If the Endermen remake all the Ender Crystals an Ender Dragon will spawn (previous must be dead).
Config:
- Dragon respawn - Whether the dragon will respawn if all the crystals are remade.
- Distance from crystal to rebuild - How far endermen can rebuild the crystals from.
Setup:
- At the moment you must have this plugin running when The End is created. (Don't think I'll be able to change in the future)
- Plugin will make a file in the world folder called "EnderCrystalLocations.txt", this contains the coordinates of where the Ender Crystals were made, it is possible to manually add the locations of the old Ender Crystals if you wish.
Change Log:
v1.2:
- Added the distance endermen can rebuild the crystal from config.
- Changed the method of weather they are near the crystal or not.
v1.1:
- Added a config for whether the dragon should respawn if all the crystals are remade.
v1.0:
- Endermen can remake the Ender Crystals if they teleport with in a close range of where one was. (Takes quite a long time!)
- If the Endermen remake all the Ender Crystals an Ender Dragon will spawn (previous must be dead).
- In this version you must have this plugin running when The End is created.
- Plugin will make a file in the world folder called "EnderCrystalLocations.txt", this contains the coordinates of where the Ender Crystals were made, it is possible to manually add the locations of the old Ender Crystals if you wish.
Todo:
- Any suggestions?
Known bugs:
- New portals to leave are still made.
- If you find any please report them (Include all the usual information).
Disclaimer:
I have not used any ideas or code off other plugins, all the code is made by me and all feature thought up of by me. Please do not copy/steal ideas or code off of me. I can not be held responsible for this plugin causing errors or breaking anything, you are responsible for the safe use of this plugin. Plugin provided for non profitable use only, please contact me if you wish to use this plugin for commercial use. Any questions, please contact me.
Donations:
If you like the plugin, please consider donating to my community (The Derplin Network): [email protected] On PayPal. In the message please say rrama plugins or something indicating that you are donating because of me. This will inspire me to make more plugins.
Would love to see an updated version of this to optionally use timers for the dragon and crystals to respawn. I simply want to allow my users to experience the dragon battle (with crystals) more than once, and I'm struggling to find many decent plugins that handle restoring the crystals.
@llamasaylol
is it fixed now in the latest build?
If not any other plugins i can use to regenerate to end every so often?
@llamasaylol
Hello, Perhaps just put a timer for enderdragon's respawn ? in config file.
@Layania
Sorry for the late reply, I've had exams recently. This is currently number 4 on my list of plugins to fix/update, so please bare with me. I will test myself, but if I'm unable to replicate the bug then I won't be able to fix it (unless I find it in the code). EDIT: Found and fixed the bug, however the code still has other bugs, so please bare with me. Also it feels Emender don't want to teleport up on the pillars as much as they used to, could just be my imagination :/
i have same error and no endercrystallocations.txt Your plugin is start before ender creation
@Sfmplayer
Getting so many errors..
17:59:33 [SEVERE] Could not pass event ChunkPopulateEvent to EnderRespawn v1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.v1_4_6.ChunkProviderServer.getChunkAt(ChunkProvi derServer.java:243) at net.minecraft.server.v1_4_6.Chunk.a(Chunk.java:804) at net.minecraft.server.v1_4_6.ChunkProviderServer.getChunkAt(ChunkProvi derServer.java:143) at net.minecraft.server.v1_4_6.ChunkProviderServer.getChunkAt(ChunkProvi derServer.java:85) at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:29 5) at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:25 9) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java :149) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java: 399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:84 9) Caused by: java.lang.NullPointerException at me.rrama.EnderRespawn.main.AddCrystalSpawnerLocationToFile(main.java: 155) at me.rrama.EnderRespawn.main.onChunkPopulate(main.java:97) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 12 more
@llamasaylol
How can i see if this plugin works ?
@Sfmplayer
Should work however I just checked and I do have a new version and I can't remember if I tested it or not. Will upload it anyway and you can see if it works.
Is this plugin updated ?
@DerekZil @A1ter
It's my pleasure, hope you enjoy it.
Was looking for something like this, thanks :)
@llamasaylol
Thank you so much, because no other plugin does that.
<3
@DerekZil
I shall do the first thing. However the second thing has already been done in many other plugins. So use them.
Make it configurable if you just want the EnderCrystals to come back and the EnderDragon spawns.
Add it so once you kill it everyone is teleported to spawn and a message of who killed it with prizes/exp.