Tags
Creators
Details
Licensed MIT
Published 6 months ago
Updated 43 minutes ago
All versions
2.7.0+mc26.2-fabric
Release
WebGUI 2.7.0 (26.2 Fabric)43 minutes ago 3
Compatibility
Minecraft: Java Edition
26.2
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
2.7.0 - 2026-12-03
The mod and the Paper plugin.
Added
- Screens in the world. A page can now hang in the world: on a wall, over a spawn, flat on a table.
/webgui screen here <id> <width> <height> <url>puts one on the block face you look at,/webgui screen add <id> <x> <y> <z> <facing> <width> <height> <url>at a position;remove,list,url,resolution,transparentandemitmanage them. Screens are saved with the world (webgui-screens.jsonin the world folder on the mod,plugins/WebGUI/screens.jsonon Paper) and every player with WebGUI sees them. Other mods and plugins useputScreen,removeScreen,getScreen,screensandemitToScreenonWebviewApiandWebGUI. (#56)- Players click a screen with the crosshair, from up to 16 blocks, with either mouse button; the click goes to the page and the game neither swings nor uses an item. Hover works too.
- A page knows it is on a screen from
window.webgui.screen({ id, width, height }). Its events reach the server with a"screen"field the client sets, so a page cannot speak for another screen. It may play sounds only while the player is within 16 blocks, and it cannot close GUIs, hide the HUD, show toasts, chat or run commands. - What it costs is bounded on the client: only screens within 48 blocks get a page, nearest first, at most 4 at once, each a browser of its own; further away a screen is a dark panel. A page paints at 60 frames a second up close, 30 from 8 blocks, 15 from 24 and once a second while out of view, and its picture is uploaded only while the player can see it.
- A page is drawn with about as many pixels as it covers on the player's screen: further away it is drawn smaller, at the same layout, so a distant screen costs what it shows. All the pages in view together paint no more than the player's Screen quality allows (Low, Medium, High or Full; Medium by default), and past that the furthest paint slower, but never below 5 frames a second. On Medium, sixteen pages that animate every frame at 320 pixels per block cost the game about a quarter of a millisecond a frame; on Full the same wall costs about 6 ms (both on a Ryzen 5 5500).
- Players set how many screens may run at once and their quality, or turn them off, under Mods → WebGUI → Config.
- A screen lights itself like a display and shows a grey back from behind. A page with a transparent background has no casing: it shows from behind too, the right way round, and nothing at all while there is no page to show. Screens are drawn furthest first, so one behind a transparent page shows through it.
- A page is loaded only when the player comes near, which can be long after they joined, so the client asks the server for a fresh signed address first and the token is never stale.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:tDw1xQja:qeIT71Tv"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:tDw1xQja:qeIT71Tv"
}

