33 lines
1.9 KiB
Markdown
33 lines
1.9 KiB
Markdown
# advmarkers
|
|
|
|
A marker/waypoint CSM for Minetest, designed for use with the [marker] mod.
|
|
|
|
To display markers, the server currently needs the [marker] mod installed,
|
|
otherwise "command not found" errors will be displayed, as CSMs cannot currently
|
|
create HUDs on their own.
|
|
|
|
## How to use
|
|
|
|
`advmarkers` introduces the following chatcommands:
|
|
|
|
- `.mrkr`: Opens a formspec allowing you to display or delete markers.
|
|
- `.add_mrkr`: Adds markers. You can use `.add_mrkr x,y,z Marker name` to add markers. Markers are (currently) cross-server, and adding a marker with (exactly) the same name as another will overwrite the original marker. If you replace `x,y,z` with `here`, the marker will be set to your current position, and replacing it with `there` will set the marker to the last `.coords` position.
|
|
- `.mrkr_export`: Exports your markers to an advmarkers string. Remember to not modify the text before copying it.
|
|
- `.mrkr_import`: Imports your markers from an advmarkers string (`.mrkr_import <advmarkers string>`). Any markers with the same name will not be overwritten, and if they do not have the same co-ordinates, `_` will be appended to the imported one.
|
|
- `.mrkrthere`: Sets a marker at the last `.coords` position.
|
|
|
|
If you die, a marker is automatically added at your death position, and will
|
|
update the last `.coords` position.
|
|
|
|
## Chat channels integration
|
|
|
|
advmarkers works with the `.coords` command from chat_channels ([GitHub],
|
|
[GitLab]), even without chat channels installed. When someone does `.coords`,
|
|
advmarkers temporarily stores this position, and you can set a temporary marker
|
|
at the `.coords` position with `.mrkrthere`, or add a permanent marker with
|
|
`.add_mrkr there Marker name`.
|
|
|
|
[marker]: https://github.com/Billy-S/kingdoms_game/blob/master/mods/marker
|
|
[GitHub]: https://github.com/luk3yx/minetest-chat_channels
|
|
[GitLab]: https://gitlab.com/luk3yx/minetest-chat_channels
|