Closed TheGoofBall64 closed 1 year ago
The respawn commands still dont work. They activate upon respawn, and essentials announces in chat the kit was given. But I assume its trying to give me the kit on the same tick I clicked respawn. effectively giving a player that for technically for a tick or two doesn't have an inventory yet.
Im suggesting adding a few tick delay to the respawn command
Try this ExpensiveDeaths.zip
Works
Description of the bug
Adding a command doesnt make it happen when you respawn, the command happens at the moment of death. While this could be useful for many, and probably in most cases I assume people would use it this way. Adding an option to have the command happen the moment of respawn would also be nice (and also considering you added it specifically because I asked, and you told me to put this here :P ).
Link to latest.log file
https://paste.gg/p/anonymous/62d2580d64d947859c5de9662a95b841
Steps to reproduce the problem
Put a command, such as a give command, into the player commands death spot in the config. die. it gives it to you the moment of death not respawn. So the items get left at your body or don't get given at all (essentials announces the kit was given though, so the command works), probably because the command ran while the player was dead.
Expected behavior
The player gets the kit "death" upon respawn
Output of
/version
[22:15:49 INFO]: Checking version, please wait... [22:15:50 INFO]: This server is running Paper version git-Paper-420 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: 81d7ff6) You are 6 version(s) behind Download the new version at: https://papermc.io/downloads
Output of
/version ExpensiveDeaths
[22:11:28 INFO]: ExpensiveDeaths version 1.1.4 [22:11:28 INFO]: Clear someone's balance when they die [22:11:28 INFO]: Website: https://github.com/SilverstoneMC/ExpensiveDeaths [22:11:28 INFO]: Author: JasonHorkles
ExpensiveDeaths config.yml
Additional info
Minecraft is fun