Better Coords - datapack created by k0siara

How to install:
1. Put the downloaded file into your world's datapacks folder (%appdata%/.minecraft/saves/WORLD_NAME/datapacks)
2. Run /reload command

How to use:
/trigger coords - Send your coordinates to all players
/trigger coordsDeath - Display coordinates of your last death (sends them to you in chat and displays on HUD)
/trigger coordsHUD - Display your coordinates above hotbar
/trigger coordsOfAll - Send all players' coordinates to you (disabled by default, see below how to enable)
/trigger coordsPortal - Multiplie/divide your coordinates by 8 to calculate the portal coordinates (sends them to you in chat and displays on HUD)
/trigger coordsSave - Save your coordinates (sends them to you in chat and displays on HUD)

To disable the display of coordsDeath/HUD/Portal/Save on the HUD, type this command again

You can use /gamerule sendCommandFeedback false to not see [​triggered coordsMode] message, but it may affect other datapacks/commands

How do enable /trigger coordsOfAllPlayers command:
1. In this datapack open file data/coords/functions/tick.mcfunction
2. Delete # in line 16 (#scoreboard players enable @a coordsOfAll)
3. Optionally, you can change selector @a, so that not everyone has access to the command, for example "scoreboard players enable k0siara coordsOfAllPlayers"
4. Save changes, run /reload command
In a similar way you can turn off other functions

How to uninstall:
1. Run /function coords:uninstall command (this removes scoreboards and disables the datapack)
2. Delete datapack from (%appdata%/.minecraft/saves/WORLD_NAME/datapacks)