No description
Find a file
2025-08-22 02:33:02 +02:00
textures first commit 2025-08-22 02:33:02 +02:00
init.lua first commit 2025-08-22 02:33:02 +02:00
mod.conf first commit 2025-08-22 02:33:02 +02:00
README.txt first commit 2025-08-22 02:33:02 +02:00

i3_extrabuttons

Dieses Mod erlaubt es beliebig viele "Zusatzbuttons" für das i3-Inventar anzulegen. 
Andere Mods registrieren ihre Extra Buttons über

    i3_extrabuttons.new_tab("name", {...})

Die Syntax ist identisch zu i3.new_tab, nur dass sie unter "Extras" gelistet werden.

Beispiel:

    if minetest.global_exists("i3_extrabuttons") then
        i3_extrabuttons.new_tab("pubinv", {
            description = "Public Inventory",
            image = "ui_icon_pubinv.png",
            fields = function(player, data, fields)
                -- Deins...
                pubinv.open(player:get_player_name())
            end,
        })
    end