WebGUI

Embed any web page — React, Vue, plain HTML — as a full-screen GUI or transparent HUD overlay inside Minecraft. Powered by Chromium (MCEF).
Back to Files

WebGUI 2.9.0 (26.1.2 Fabric)

File namewebgui-fabric-2.9.0-mc26.1.2.jar
Uploader
KoSHeroffKoSHeroff
Uploaded
Dec 6, 2026
Downloads
5
Size
659.3 KB
Mod Loaders
Fabric
File ID
10091136
Type
R
Release
Supported game versions
  • 26.1.2
  • 26.1.1
  • 26.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:webgui-1625265:10091136"

Learn more about Curse Maven

What's new

2.9.0 - 2026-12-06

The mod and the Paper plugin.

Added

  • Pages bound to blocks. /webgui bind block <pos> <url> [cancel_interaction] makes a right click on a block open a page: a lectern that is a rules board, a sign that is a shop terminal, a button that opens a quest log, without an NPC. /webgui unbind block <pos> removes it. The binding belongs to the position in the dimension the command runs in, survives restarts (config/webgui/block_bindings.json on the mod, with the entity bindings on Paper) and /webgui reload, and, with cancel_interaction, stops the block's own interaction. The page finds the block in window.webgui.block ({ id, pos: { x, y, z }, dimension }), with a webgui:block event when it arrives, and the URL can carry {block_pos} (12,64,-3), {block_id} and {block_dimension}. Other mods call WebviewApi.bindBlock, unbindBlock and getBlockBinding. (#49)
  • Items that open pages. Any item whose custom data has "webgui:url" opens that page on right click, in the air or on a block: /give @p compass[custom_data={"webgui:url":"webgui://quests.html"}], or the same from a datapack, a loot table or a plugin, with nothing to register (on 1.20.1, an NBT tag of the same name: /give @p compass{"webgui:url":"webgui://quests.html"}). The item's own use is cancelled. The page finds the item in window.webgui.item ({ id, name, count }), with a webgui:item event, and the URL can carry {item_id}. A bound block wins over a bound item in the hand. (#49)
    • Every page gets the player's signed token, and anyone in creative can make such an item and hand it to someone else. So an item opens the server's own webgui:// pages, and other sites only when their origin is listed in the new itemUrlOrigins setting; it is empty by default. Anything else is refused with a line in the server log, and the item works as usual.
  • Hotkeys for the HUD page. webgui.registerHotkey({ id: 'journal', key: 'J' }) gives the HUD page a key of its own: it hears webgui:hotkey with { id } when the key goes down and webgui:hotkeyup when it comes up, while the player plays and the page does not have the keyboard. Enough for "press J for the journal" or "hold G for the quest tracker" without interactive mode. unregisterHotkey(id) takes a key back. (#52)
    • Keys are letters, digits, F1–F25, Tab, Space, Enter, Backspace, Insert, Delete, Home, End, PageUp, PageDown and the arrows, also in KeyboardEvent.code spelling (KeyJ, Digit7, Numpad7). The promise resolves to false for a key the game or another mod already has bound, for a page that is not the HUD, and when the player has switched page hotkeys off. Tab is the player list in a vanilla game, so most pages will get false for it.
    • Keys fire only while no screen is open, chat and inventory included, like the game's own. They go when the HUD page closes or goes to another address, and when the player leaves the server.
    • Players switch them off under Mods → WebGUI → Config → Page hotkeys.
  • Minecraft 26.4, on Fabric, as a beta. Built against 26.4-rc-1 with Fabric API 0.169.1+26.4, and listed on Modrinth under that release candidate until 26.4 is out; then it leaves beta. 26.4 replaced the game's texture classes, so the browser hands the game its picture through 26.4's own texture handles. NeoForge follows once it has a 26.4 build. (#63)

This mod has no additional files