Page 1 of 1

Mod Documentation

PostPosted: Sat Apr 14, 2012 17:46
by hmmm
I think that all mods should contain it's own documentation inside the mod. Like html files and pictures.
Then add a feature in the game which allows the player to view a list of all the mods installed which allows the player to select a mod and open it's documentation inside the game. That way, instead of having to check a server's website or forum page and then look up all the mods it uses, the player can find all the information they need in one location all while playing the game and not having to open a browser and switch back and forth from the game and the browser.

PostPosted: Sat Apr 14, 2012 19:16
by Calinou
Then... do it? 8)
Ingame mod documentation would be great, yeah, but it's (probably) hard to code.

PostPosted: Sat Apr 14, 2012 20:13
by jordan4ibanez
Calinou wrote:Ingame mod documentation would be great, yeah, but it's (probably) hard to code.

NAH!
Code: Select all
minetest.register_on_chat_message(function(name, message, playername, player)
    local cmd = "/modhelp"
    if message:sub(0, #cmd) == cmd then
        if message == '"/modhelp' then
        local player = minetest.env:get_player_by_name(name)
        minetest.chat_send_player(player:get_player_name(), "put your documentation on your mods commands/abilities/features here \n -BLAH \n BLAH \n BLAH")
        return true
        end
    end
end)

PostPosted: Sat Apr 14, 2012 21:33
by Calinou
That modhelp command should probably have sub-sections:
- /modhelp moreores items > would print info about items for "moreores" (if there is an "items" category).
- /modhelp moreblocks > prints all categories of help for "moreblocks".

PostPosted: Sat Apr 14, 2012 21:45
by jordan4ibanez
Calinou wrote:That modhelp command should probably have sub-sections:
- /modhelp moreores items > would print info about items for "moreores" (if there is an "items" category).
- /modhelp moreblocks > prints all categories of help for "moreblocks".

Yes that would be very good!

PostPosted: Sat Apr 14, 2012 21:51
by NakedFury
what about:
/modlist for showing a complete list of all mods you have installed.

PostPosted: Sat Apr 14, 2012 23:06
by lkjoel
that too would be awesome!