2020-06-16 15:59:36 -07:00
# Magic Compass
2020-12-17 10:07:06 -08:00
Teleport system for Minetest
2022-05-18 16:04:36 -07:00
2020-06-17 08:32:01 -07:00
< a href = "https://liberapay.com/Zughy/" > < img src = "https://i.imgur.com/4B2PxjP.png" alt = "Support my work" / > < / a >
2020-12-17 10:07:06 -08:00
< img src = "https://content.minetest.net/uploads/1j9d672Pie.png" / >
2020-06-17 08:35:39 -07:00
2020-06-17 08:32:01 -07:00
### How to use it
2020-07-27 07:25:11 -07:00
Look for the "Magic Compass" item in your creative inventory, put it in your hand and left click it to open the locations menu
2020-06-17 08:32:01 -07:00
### Customisation
2022-05-18 16:04:36 -07:00
1. be sure the world has been launched at least once with Magic Compass active
2. go to `your world folder/magic_compass`
3. open an existing `.yml` file or create a new one (Magic Compass can read multiple locations from multiple files)
4. follow the template down below, where ID is an actual number
```yml
ID:
description:
icon:
teleport_to: X, Y, Z
cooldown: (optional, default none)
requires: (optional privileges required to use the teleport: separate them with `, ` , default none)
hidden_by_default: (optional, put `true` to hide the icon to players who don't have the required privileges)
```
For more information, check out the `instructions.txt` file inside that folder.
For using the API, check out the [DOCS ](/DOCS.md ).
2020-06-17 08:32:01 -07:00
### Want to help?
Feel free to:
* open an [issue ](https://gitlab.com/zughy-friends-minetest/magic-compass/-/issues )
* submit a merge request. In this case, PLEASE, do follow milestones and my [coding guidelines ](https://cryptpad.fr/pad/#/2/pad/view/-l75iHl3x54py20u2Y5OSAX4iruQBdeQXcO7PGTtGew/embed/ ). I won't merge features for milestones that are different from the upcoming one (if it's declared), nor messy code
2022-05-18 16:12:01 -07:00
* contact me on Matrix, on my server [dev room ](https://matrix.to/#/!viLipqDNOHxQJqQRGI:matrix.org )
2020-07-27 14:04:29 -07:00
2021-02-26 15:29:56 -08:00
### Credits
* Deny sound by [suntemple ](https://freesound.org/people/suntemple/sounds/249300/ ) (tweaked by me)
2022-05-18 16:12:01 -07:00
* Images by me, under [CC BY-SA 4.0 ](https://creativecommons.org/licenses/by-sa/4.0/ )