minetest_doc/README.md

58 lines
2.2 KiB
Markdown
Raw Permalink Normal View History

2016-12-12 03:42:18 -08:00
# Documentation System [`doc`]
2016-10-12 20:04:39 -07:00
This mod provides a simple and highly extensible form in which the user
2016-07-29 16:36:27 -07:00
can access help pages about various things and the modder can add those pages.
The mod itself does not provide any help texts, just the framework.
2016-12-12 03:42:18 -08:00
It is the heart of the Help modpack, on which the other Help mods depend.
2016-07-29 16:36:27 -07:00
2021-03-30 15:55:48 -07:00
Current version: 1.3.0
2016-07-29 16:36:27 -07:00
2016-12-20 05:01:06 -08:00
## For players
### Accessing the help
2016-08-01 15:04:43 -07:00
To open the help, there are multiple ways:
2016-12-12 04:09:17 -08:00
- Use the `/helpform` chat command. This works always.
2016-12-20 05:01:06 -08:00
- If you use one of these mods, there's a help button in the inventory menu:
- Unified Inventory [`unified_inventory`]
- Simple Fast Inventory Buttons [`sfinv_buttons`]
2016-12-28 05:10:21 -08:00
- Inventory++ [`inventory_plus`]
2016-08-01 15:04:43 -07:00
2016-12-12 03:42:18 -08:00
The help itself should be more or less self-explanatory.
2016-07-29 16:36:27 -07:00
This mod is useless on its own, you will only need this mod as a dependency
for mods which actually add some help entries.
### Hidden entries
Some entries are initially hidden from you. You can't see them until you
unlocked them. Mods can decide for themselves how particular entries are
revealed. Normally you just have to proceed in the game to unlock more
entries. Hidden entries exist to avoid spoilers and give players a small
sense of progress.
2016-12-20 05:07:10 -08:00
Players with the `help_reveal` privilege can use the `/help_reveal` chat
command to reveal all hidden entries instantly.
2016-12-20 05:04:59 -08:00
### Maintenance
The information of which player has viewed and revealed which entries is
stored in the world directory in the file `doc.mt`. You can safely reset
the viewed/revealed state of all players by deleting this file. Players
then need to start over revealing all entries.
2018-03-25 13:11:54 -07:00
## For modders and game authors
2016-12-20 05:07:10 -08:00
This mod helps you in creating extensive and flexible help entries for your
2018-03-25 13:11:54 -07:00
mods or game. You can write about basically anything in the presentation
2016-12-20 05:07:10 -08:00
you prefer.
2016-07-29 16:36:27 -07:00
To get started, read `API.md` in the directory of this mod.
2016-11-18 05:52:36 -08:00
Note: If you want to add help texts for items and nodes, refer to the API
2016-12-20 05:07:10 -08:00
documentation of `doc_items`, instead of manually adding entries.
For custom entities, you may also want to add support for `doc_identifier`.
2016-11-18 05:52:36 -08:00
## License of everything
2016-10-08 17:04:13 -07:00
MIT License
2019-03-20 05:40:12 -07:00
## Translation credits
2019-04-01 07:49:52 -07:00
French: Karamel
2019-03-20 05:40:12 -07:00
German: Wuzzy
Portuguese: BrunoMine