advmarkers-csm/README.md

47 lines
2.6 KiB
Markdown
Raw Normal View History

2018-12-30 00:09:58 +01:00
# advmarkers
2019-09-06 04:18:13 +02:00
## Warning
This is mostly useless if you use Minetest 0.4, as without the CSM HUD API this
CSM requires a `/mrkr` command to exist on the server. You probably want the
(nicer) [non-CSM](https://git.minetest.land/luk3yx/advmarkers) mod instead.
*This CSM does not co-operate with the server-side mod except for the fact that
it provides a `/mrkr` command, if you play on a server with the server-side mod
you don't need this.*
2019-09-06 04:18:13 +02:00
## Original README
2019-06-11 02:42:13 +02:00
A marker/waypoint CSM for Minetest, designed for use with the (now-defunct) marker mod.
2018-12-30 00:09:58 +01:00
This CSM works by itself on Minetest 5.0.0+, and with the server-side mod
installed on Minetest 0.4.
2018-12-30 00:09:58 +01:00
## How to use
2018-12-30 05:13:39 +01:00
`advmarkers` introduces the following chatcommands:
2018-12-30 00:09:58 +01:00
- `.mrkr`: Opens a formspec allowing you to display or delete markers.
2018-12-30 05:13:39 +01:00
- `.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.
2019-01-07 09:45:41 +01:00
- `.mrkr_export`: Exports your markers to an advmarkers string. Remember to not modify the text before copying it. You can use `.mrkr_export old` if you want an export string compatible with older versions of advmarkers (it should start with `M` instead of `J`). The old format will probably not work nicely with the planned server-side mod, however.
- `.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.
2019-01-07 23:08:23 +01:00
- `.mrkr_upload`: Uploads your markers to your current server's advmarkers
2019-06-11 02:42:13 +02:00
[server-side mod].
2018-12-30 05:13:39 +01:00
- `.mrkrthere`: Sets a marker at the last `.coords` position.
- `.clrmrkr`: Hides the currently displayed waypoint.
2018-12-30 00:09:58 +01:00
2018-12-30 05:23:49 +01:00
If you die, a marker is automatically added at your death position, and will
update the last `.coords` position.
2018-12-30 00:09:58 +01:00
2018-12-30 05:13:39 +01:00
## 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`.
[GitHub]: https://github.com/luk3yx/minetest-chat_channels
[GitLab]: https://gitlab.com/luk3yx/minetest-chat_channels
2019-06-11 02:42:13 +02:00
[server-side mod]: https://git.minetest.land/luk3yx/advmarkers