Showbones
This mod saves the locations of player bones in a text file "database" in the world directory. Player can use new chat command "/showbones" to show waypoints that are visible anywhere in world showing the direction and distance to all recorded bones up to the server limit (3 by default). Waypoints are removed and updated as player, or other players dig them. If player is online when another player digs thier bones, a chat message will appear letting him/her know of the crime. :)
If a player has left more than the server limit (default 3) of bones lying around the world, the oldest ones are removed from the world as the new one is created. Waypoints are numbered 1 - server limit. The newest/latest bones would be 1. Bones waypoints may be hidden by using the /showbones chat command again.
This mod was created in hopes of relieving the frusteration of players and admins trying to locate lost bones. There is also the added bonus that server admins will no longer need to clean up messy, discarded bones from all around the server. This mod will only track bones lost from the time of install. It also will not track bones placed from inventory.
License: Source code LGPL 2.1
Credits: PilzAdam - The creator of the bones mod. Some code copied (on_punch function) for a needed override.
And to Rubenwardy. His awesome modding book and this datastorage snippet that I based my storage off of.
Adds chat command: /showbones Adds privilege: None at this time
Dependencies: bones
Code quality: I don't want to talk about it. I'm completely new at lua.
Download zip from Github: https://github.com/ExeterDad/showbones/ ... master.zip
Browse code: https://github.com/ExeterDad/showbones
A quick screenshot recycled from another post. Taken at sunset to see waypoint text easier.

I guess this is my first mod that actually does something. I don't claim to know how to lua, so please be kind when reporting bugs or code improvements. I've much to learn and this was a fun exercise.
