Update README to include new command

This commit is contained in:
Till Affeldt 2020-04-12 01:51:48 +02:00
parent e2220440ec
commit d5c611c9fc
1 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,8 @@ possibly resulting in conflict. This utility mod can help circumvent these issue
This mod comes with two commands to print or change the current moon phase. This mod comes with two commands to print or change the current moon phase.
- Use ``/moonphase`` to view the currently active phase. - Use ``/moonphase`` to view the currently active phase.
- Use ``/set_moonphase <phase>`` to change it. ``<phase>`` has to be a full number between 1 and 8. - Use ``/set_moonphase <phase>`` to change it. ``<phase>`` has to be a full number between 1 and 8.
- Use ``/set_moonstyle <style>`` to choose a texture preset. ``classic`` will result in a quadratic moon
inspired by default Minetest. ``realistic`` will result in 256x images of the real moon.
In order to change the phase, you will need the corresponding privilege. In order to change the phase, you will need the corresponding privilege.
Use ``/grant <player> moonphase`` to grant it. Use ``/grant <player> moonphase`` to grant it.
@ -28,11 +30,15 @@ The mod provides the option to change the length of the moon cycle.
By default, the moon texture will change every four (in-game) nights. By default, the moon texture will change every four (in-game) nights.
This results in a total cycle of 32 days. This results in a total cycle of 32 days.
You can also set the default texture style for all players. You can choose between the same options as with the ``/set_moonstyle`` command.
## LICENSE ## LICENSE
All source code is licensed under GNU LESSER GENERAL PUBLIC LICENSE version 3. All source code is licensed under GNU LESSER GENERAL PUBLIC LICENSE version 3.
You can find a copy of that license in the repository. You can find a copy of that license in the repository.
## Media ## Media
All included moon textures are resized versions of graphics from *NASA's Scientific Visualization Studio* by [Ernie Wright](https://svs.gsfc.nasa.gov/cgi-bin/search.cgi?person=1059). All moon textures marked as "classic" are made by me. You can use them under a CC0 license.
All included "realistic" moon textures are resized versions of graphics from *NASA's Scientific Visualization Studio* by [Ernie Wright](https://svs.gsfc.nasa.gov/cgi-bin/search.cgi?person=1059).
These images are part of the Public Domain as CC-BY-SA 3.0. These images are part of the Public Domain as CC-BY-SA 3.0.
You can access the entire (high resolution) album on [their website](https://svs.gsfc.nasa.gov/4769#28564). See [NASA's media guidelines](https://www.nasa.gov/multimedia/guidelines/index.html) for more information on licensing. You can access the entire (high resolution) album on [their website](https://svs.gsfc.nasa.gov/4769#28564). See [NASA's media guidelines](https://www.nasa.gov/multimedia/guidelines/index.html) for more information on licensing.