- check_circle Functions
- check_circle Loot Tables
- 5,032 views, 0 today
- 177 downloads, 1 today
9
Kill the Ender Dragon to revive all dead players!
When the Ender Dragon is killed all previously dead players on your hardcore server will respawn in the end around the end portal!
Any dead players who were offline at the time of the dragon being killed will be brought back next time they join the server.
Features include:
- Options menu for server admins (must be oped to use)
Accessible with the command /function drs:menu
- Option for Limited Revives per player
- Option for Limited times dragon kills will revive players
- Options for the dragon to drop commonly added items such as Elytra & Dragon Eggs
If you have any other ideas for features leave them in the comments below
Note: This pack modifies the dragon loot table to detect when the dragon is killed and thus may conflict with other packs that modify the dragon's loot table (such as dragon drop elytra packs).
If you are an admin and need to switch out of spectator to do something after you have died enter this command to prevent the pack from forcing you into spectator
/tag @s add drsAdmin
When the Ender Dragon is killed all previously dead players on your hardcore server will respawn in the end around the end portal!
Any dead players who were offline at the time of the dragon being killed will be brought back next time they join the server.
Features include:
- Options menu for server admins (must be oped to use)
Accessible with the command /function drs:menu
- Option for Limited Revives per player
- Option for Limited times dragon kills will revive players
- Options for the dragon to drop commonly added items such as Elytra & Dragon Eggs
If you have any other ideas for features leave them in the comments below
Note: This pack modifies the dragon loot table to detect when the dragon is killed and thus may conflict with other packs that modify the dragon's loot table (such as dragon drop elytra packs).
If you are an admin and need to switch out of spectator to do something after you have died enter this command to prevent the pack from forcing you into spectator
/tag @s add drsAdmin
Credit | CodedVoid |
Compatibility | Minecraft 1.16 |
to | Minecraft 1.18 |
Tags |
4 Update Logs
v1.2.2 : by RainbwRobyn 12/06/2021 9:09:47 pmDec 6th, 2021
- Updated pack.mcmeta
- Uninstall function now actually disables the pack (I didn't realize datapacks could use the /datapack function before)
- Uninstall function now actually disables the pack (I didn't realize datapacks could use the /datapack function before)
LOAD MORE LOGS
tools/tracking
5083047
119
draconic-respawning-for-hardcore-smp-servers
Create an account or sign in to comment.
I'm pretty sure that any pack that messes with lives and respawning wouldn't work with any other pack that does that kind of thing unless it was explicitly designed with the other pack in mind.
If you really want to try it do it on a test world first but I'm pretty sure it won't work properly.
You can also limit the number of times killing the dragon will revive players.
Just type the command /function drs:menu and you can look though the options to see if something works for you.
But I do have a suggestion, is it possible to reset the level and experience of a dead player after respawn (like non-hardcore mode)?That is more challenging (as hardcore mode should be), right?
Then, there is a little bit of a problem when running (not causing a crash), and there is a chance that every time the player dies there will be an incorrect log (inside the log), not every time the player dies, the game will continue normally when this log occurs.My server is a fabric vanila server(with carpet and some optimization mods).There is the part of log(when player die):
[11:06:14] [Server thread/INFO]: Xraye blew up
[11:06:15] [Server thread/FATAL]: Error executing task on Server
java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ObjectSet.remove(java.lang.Object)" because "?" is null
at net.minecraft.class_3204.method_14051(class_3204.java:202) ~[intermediary-server.jar:?]
at net.minecraft.class_3898.method_18713(MixinThreadedAnvilChunkStorage.java:1261) ~[intermediary-server.jar:?]
at net.minecraft.class_3215.method_14096(MixinServerChunkManager.java:467) ~[intermediary-server.jar:?]
at net.minecraft.class_3244.method_12063(class_3244.java:931) ~[intermediary-server.jar:?]
at net.minecraft.class_2828.method_12272(class_2828.java:122) ~[intermediary-server.jar:?]
at net.minecraft.class_2828$class_2829.method_11054(class_2828.java:56) ~[intermediary-server.jar:?]
at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-server.jar:?]
at net.minecraft.class_2600$$Lambda$5187/0x00000000c48b6110.run(Unknown Source) ~[?:?]
at net.minecraft.class_3738.run(class_3738.java:18) ~[intermediary-server.jar:?]
at net.minecraft.class_1255.method_18859(class_1255.java:144) [intermediary-server.jar:?]
at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_24306(MixinMinecraftServer.java:761) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_18859(MixinMinecraftServer.java:155) [intermediary-server.jar:?]
at net.minecraft.class_1255.method_16075(class_1255.java:118) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_20415(MixinMinecraftServer.java:743) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_16075(MixinMinecraftServer.java:737) [intermediary-server.jar:?]
at net.minecraft.class_1255.method_18857(class_1255.java:127) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_16208(MixinMinecraftServer.java:722) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.handler$bfn000$modifiedRunLoop(MixinMinecraftServer.java:5819) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MixinMinecraftServer.java:651) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MixinMinecraftServer.java:257) [intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer$$Lambda$4326/0x00000000c2f7f860.run(Unknown Source) [intermediary-server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Could you figure out what happened?
I know datapacks tend to not play well with non-vanilla servers though. If this error isn't causing any significant issues like lag spikes or crashes I think you can safely ignore it.
As for the xp not being lost it sounds like you have keepInventory on. Clearing the xp should be simple enough though. I'll have a patch for the pack out very shortly.
Again if it's not causing lag or crashing the server I think you can safely ignore it.
If it's doing anything or the datapack breaks, try removing fabric mods. If that doesn't help swap fabric versions.
If you wanted it to just drop as an item you just add it to the dragon's loot table (this pack has this and other items as a configurable drop)
If you wanted it as a block you should just be able to do a setblock command after the dragon has been killed. If you go for that method I would suggest setting the location for the egg a bit higher than the portal structure since I believe the height can vary a bit.