This Datapack works in singleplayer and multiplayer.
The coordinates of your point of death are only messaged to you and no one else can see them to prevent others stealing your items!
Installation:
1) Open your world's folder
2) Go to world_name/datapacks/
3) Paste the DeathLocation.zip here
4) Open world_name and type /reload