WebGUI 2.10.0 (26.1.2 Fabric)
Curse Maven Snippet
What's new
2.10.0 - 2026-12-07
Pages that work with the server's plugins, and more ways to open them: on join, from any block of a type, from other plugins' items, from Citizens NPCs and WorldGuard regions.
Added
- Pages that work with the server's plugins. A page asks on one of WebGUI's own channels and the plugin answers with the same
id, so a page needs no backend of its own for any of the below. Nothing to install on the client: any 2.x client sends what these need. Each integration starts by itself when its plugin is there and stays away when it is not. The client library 1.13.0 wraps all of them, with hooks that keep a value up to date. Documentation: Plugin integrations. - Vault.
webgui:economygives the player's balance, the products the server sells and buying them. Products live in the newproductssetting, each with aprice, an optionalpermissionand the consolecommandsthat deliver it ({player_name},{player_uuid}and PlaceholderAPI filled in). The page only names a product: the server checks the permission and the balance, takes the money and runs the commands, and refuses a product whose command no plugin provides before taking anything. Every page the player has open hears the new balance. - LuckPerms, on Paper and on the mod.
webgui:permissionsanswers whether the player has up to 64 permissions at a time, and the primary group, groups with their display names and weights, prefix, suffix and the meta keys listed in the newpageMetaKeyssetting. Pages hear{ op: "changed" }when the player's permissions or groups change. On Paper the permission check works with any permissions plugin; on Fabric and NeoForge everything needs the LuckPerms mod. - Velocity and BungeeCord.
webgui:proxylists the servers behind the proxy with their player counts and sends the player to one, through the proxy's ownBungeeCordchannel, so nothing goes on the proxy. Only servers in the newproxyServerssetting can be reached from a page; it is empty by default. - AuthMe. A player who still has to log in gets a page for it:
loginPageUrl,webgui://login.htmlby default, which WebGUI writes the first time it finds AuthMe. The password goes to AuthMe as the player's own/loginor/register, so AuthMe's attempt limits, captcha and bans still apply. Until the login, pages get no token, the main-menu key opens the login page and the server ignores what pages send apart from the login; the HUD opens after it, and the login page comes back after a logout. AuthMe 6's own dialogs should be turned off. - Skript. With Skript 2.10 or newer:
open webgui [page|hud] %string% to %players%,send webgui event %string% [with data %string%] to %players%,show webgui toast ..., the condition%players% have webgui, the eventon webgui event [%string%]and, inside it,webgui event dataandwebgui event value %string%. - Quests and BetonQuest.
webgui:questslists the player's quests with their objectives and progress, from Quests by PikaMug or BetonQuest 3 (with the journal), and pages hear{ op: "changed" }when one starts, advances, finishes or is dropped. - A page on join. The new
joinPagesetting (url,firstJoinOnly,delayTicks) opens a full-screen page once a player has joined: rules, news, a welcome. It comesdelayTicksafter the auto HUD (40 by default), carries the player's token, and{first_join}in its URL tells a first visit from the others. With AuthMe it waits for the login. Mod and Paper. - Pages for every block of a type or tag.
/webgui bind blocktype <block|#tag> <url> [cancel_interaction]and/webgui unbind blocktype <block|#tag>: every lectern, or every block in#minecraft:signs, opens the page, with the samewebgui.blockand placeholders as a block bound by position. A block bound by position wins, then the block's own type, then its tag, then the item in the hand. Kept inblock_type_bindings.json, where a binding can also be limited to onedimension. In code:WebviewApi.bindBlockTypeon the mod,WebGUI.bindBlockTypeon Paper. - Pages for other plugins' items. Rules in
item_bindings.jsonmatch an item withoutwebgui:urlby an id another plugin keeps in its custom data (tag, with an optionalequals) or by its look (material,name,nameContains,lore,customModelData,itemModel); every field a rule gives must match, and the first matching rule wins./webgui bind item hand <url> [cancel_interaction]writes a rule from the held item: the id of ExecutableItems, Oraxen, Nexo, Slimefun, zMenu, ItemsAdder, MMOItems or ItemJoin when it has one, otherwise its material and name./webgui bind item listnumbers the rules and/webgui unbind item hand|<number>removes one.{item_tag}is the id the rule matched. The item's own use is stopped unless the rule says otherwise. These rules are the server's own, soitemUrlOriginsdoes not apply to them. Mod and Paper. - Citizens NPCs (Paper).
/webgui bind npc <id|selected> <url> [cancel_interaction]and/webgui unbind npc <id|selected>bind a page to an NPC by its Citizens id, which survives restarts and the NPC respawning. The page gets the entity's details plusnpcIdandnpcName;{npc_id}and{npc_name}go in the URL. Kept innpc_bindings.json;WebGUI.bindNpcin code. - WorldGuard regions (Paper).
/webgui bind region <region> <url> [enter|leave] [gui|hud]and/webgui unbind region <region>open a page when a player walks, teleports or respawns into or out of a region. A HUD opened on entering goes when the player leaves: the auto HUD comes back, or an empty one when there is none.{region}goes in the URL andwebgui.entityhaskind: "region"; a page does not open again for the same region within 3 seconds. Kept inregion_bindings.json.
Changed
- An item's
webgui:urlis also found underPublicBukkitValues, where a Paper plugin's PersistentDataContainer keeps it, so a plugin can make such items withmeta.getPersistentDataContainer().set(new NamespacedKey("webgui", "url"), ...). Mod and Paper.
This mod has no additional files