{"id":137005,"date":"2026-06-08T05:18:16","date_gmt":"2026-06-08T02:18:16","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/"},"modified":"2026-06-08T05:18:16","modified_gmt":"2026-06-08T02:18:16","slug":"selenium-thegwimweeper","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/","title":{"rendered":"Selenium"},"content":{"rendered":"<p># Selenium<br \/>\nA simple mod that allows YOU to make your own gui complete with editable hud.<br \/>\nThis mod aims at easing the lives of developers who don&#8217;t wish to spend the excessive time needed to create a gui.<br \/>\nThey can directly use this mod&#8217;s api to easily add buttons that control their functions.<\/p>\n<p>This includes:<br \/>\n&#8211; creating main tabs<br \/>\n&#8211; creating settings<br \/>\n&#8211; creating child settings<br \/>\n&#8211; choosing type (CHECK, NUMBER, TEXT)<br \/>\n&#8211; setting default value<br \/>\n&#8211; marking them as HUD<br \/>\n&#8211; reading\/writing your values later<\/p>\n<p># The current api includes the following features<br \/>\nEnsures a main tab exists in Selenium.<br \/>\n&#8220;`<br \/>\nSeleniumApi.ensureMainTab(name)<br \/>\n&#8220;`<br \/>\nRegisters a top-level setting with default locked API permissions.<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerSetting(ownerModId, key, mainTab, label, type, renderType, defaultValue, hud, subSettings)<br \/>\n&#8220;`<\/p>\n<p>Registers a top-level setting with explicit player-edit permissions.<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerSetting(ownerModId, key, mainTab, label, type, renderType, defaultValue, hud, subSettings, permissions)<br \/>\n&#8220;`<\/p>\n<p>Registers a child setting under an existing parent with default locked API permissions.<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerChildSetting(ownerModId, key, mainTab, parentId, label, type, renderType, defaultValue, hud, subSettings)<br \/>\n&#8220;`<\/p>\n<p>Registers a child setting under an existing parent with explicit player-edit permissions.<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerChildSetting(ownerModId, key, mainTab, parentId, label, type, renderType, defaultValue, hud, subSettings, permissions)<br \/>\n&#8220;`<\/p>\n<p>Checks whether a Selenium setting with that id exists.<br \/>\n&#8220;`<br \/>\nSeleniumApi.hasSetting(id)<br \/>\n&#8220;`<\/p>\n<p>Reads a check\/toggle setting as a boolean.<br \/>\n&#8220;`<br \/>\nSeleniumApi.getToggle(id)<br \/>\n&#8220;`<\/p>\n<p>Sets a check\/toggle setting value.<br \/>\n&#8220;`<br \/>\nSeleniumApi.setToggle(id, enabled)<br \/>\n&#8220;`<\/p>\n<p>Reads a number setting as a double.<br \/>\n&#8220;`<br \/>\nSeleniumApi.getNumber(id)<br \/>\n&#8220;`<\/p>\n<p>Sets a number setting value.<br \/>\n&#8220;`<br \/>\nSeleniumApi.setNumber(id, value)<br \/>\n&#8220;`<\/p>\n<p>Reads a text setting value.<br \/>\n&#8220;`<br \/>\nSeleniumApi.getText(id)<br \/>\n&#8220;`<\/p>\n<p>Sets a text setting value.<br \/>\n&#8220;`<br \/>\nSeleniumApi.setText(id, value)<br \/>\n&#8220;`<\/p>\n<p>Declares a boolean on\/off setting type<br \/>\n&#8220;`<br \/>\nSeleniumApi.SettingType.CHECK<br \/>\n&#8220;`<\/p>\n<p>Declares a numeric setting type.<br \/>\n&#8220;`<br \/>\nSeleniumApi.SettingType.NUMBER<br \/>\n&#8220;`<\/p>\n<p>Declares a text\/string setting type.<br \/>\n&#8220;`<br \/>\nSeleniumApi.SettingType.TEXT<br \/>\n&#8220;`<\/p>\n<p>Defines what the player is allowed to do to an API-created setting.<br \/>\n&#8220;`<br \/>\nSeleniumApi.Permissions(allowHudEdits, allowGuiAdd, allowGuiEdit, allowHiding)<br \/>\n&#8220;`<\/p>\n<p>Returns the default API permissions: locked editing, hiding allowed.<br \/>\n&#8220;`<br \/>\nSeleniumApi.Permissions.defaults()<br \/>\n&#8220;`<\/p>\n<p>Returns permissions that let the player fully edit the setting and HUD.<br \/>\n&#8220;`<br \/>\nSeleniumApi.Permissions.fullyEditable()<br \/>\n&#8220;`<\/p>\n<p>Add a color setting type (stores the color as hex #RRGGBB)<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerSetting(ownerModId, key, mainTab, label, SeleniumApi.SettingType.COLOR, renderType, &#8220;#FFFFFF&#8221;, hud, subSettings, permissions)<br \/>\n&#8220;`<\/p>\n<p>Add a bounded slider setting type (min\/max\/step)<br \/>\n&#8220;`<br \/>\nSeleniumApi.registerSetting(ownerModId, key, mainTab, label,<br \/>\n    SeleniumApi.SettingType.SLIDER, renderType, &#8220;50&#8221;,<br \/>\n    Map.of(&#8220;min&#8221;, &#8220;0&#8221;, &#8220;max&#8221;, &#8220;100&#8221;, &#8220;step&#8221;, &#8220;1&#8221;),<br \/>\n    hud, subSettings, permissions)<br \/>\n&#8220;`<br \/>\n>You can pass metadata via a &#8220;`Map<String, String>&#8220;` parameter to set the min\/max\/steps.<br \/>\nThe default value is set by &#8220;50&#8221; by hardcoding it (This is where the slider starts by default)<\/p>\n<p>Add a selectable choice setting type (comma separated options)<br \/>\n&#8220;`SeleniumApi.registerSetting(ownerModId, key, mainTab, label,<br \/>\n    SeleniumApi.SettingType.CHOICE, renderType, &#8220;Medium&#8221;,<br \/>\n    Map.of(&#8220;options&#8221;, &#8220;Low, Medium, High&#8221;),<br \/>\n    hud, subSettings, permissions)<br \/>\n&#8220;`<br \/>\n>Same as slider, the metadata can be passed via a &#8220;`Map<String, String>&#8220;` parameter to set the choices. The default chocie is set by hardcoding it<\/p>\n<p>### Commands<\/p>\n<p>Selenium adds a few commands, namely:<\/p>\n<p>&#8220;`\/selenium gui&#8220;`<\/p>\n<p>>   Opens the main gui, listing all the options allowing enabling\/disabling options<\/p>\n<p>&#8220;`\/selenium edithud&#8220;`<\/p>\n<p>>   Allows the editing of the hud, by dragging and resizing the elements<\/p>\n<p>&#8220;`\/selenium editgui&#8220;`<\/p>\n<p> >  Allows the creation\/deletion of new buttons<\/p>\n<p>>  Editing is disbaled by default, unless the develpoer chooses to enable it.<\/p>\n<p>&#8220;`\/selenium tutorial&#8220;`<\/p>\n<p>>  Opens the tutorial screen<\/p>\n<p>## Hud rendering<br \/>\n![A simple example of how the hud renders](https:\/\/cdn.modrinth.com\/data\/cached_images\/ab51bca48232d12e964de9cb82365a48faeda0ce.png)<\/p>\n<p>## The main UI<br \/>\n![The main UI](https:\/\/cdn.modrinth.com\/data\/cached_images\/6e2b61b104f986fac1a63dfc62f309f0c631a7ff_0.webp)<\/p>\n<p>## Editing main tab<br \/>\n![Editing main tab](https:\/\/cdn.modrinth.com\/data\/cached_images\/5f611a9c1542057dd2c02611d92cc17f2481cf5a_0.webp)<\/p>\n<p>## Editing an existing setting<br \/>\n![Editing an existing setting](https:\/\/cdn.modrinth.com\/data\/cached_images\/2454fb2102b0ab89384e8e5445396e905dded99e_0.webp)<\/p>\n<p>## Creating a main tab (shown on the left side of the ui)<br \/>\n![Creating a main tab (shown on the left side of the ui)](https:\/\/cdn.modrinth.com\/data\/cached_images\/37d72f413c48a30c260dc41ce6a7ad8c0db4d51c_0.webp)<\/p>\n<p>## Easily hide settings and access them<br \/>\n![Easily hide settings and access them](https:\/\/cdn.modrinth.com\/data\/cached_images\/3f64c379d3ac8892b8ef56226914d49395607b87_0.webp)<\/p>\n<p>## The tutorial screen<br \/>\n![The tutorial screen](https:\/\/cdn.modrinth.com\/data\/cached_images\/f1e8544547db80a52838dcffcca836b497619690.png)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple mod that allows the player to create and customise their own gui. Mainly useful for other mod developers who don&#8217;t want to spend the time and energy in creating a gui<\/p>\n","protected":false},"featured_media":137006,"template":"","meta":{"_minecraft_slug":"selenium-thegwimweeper","_minecraft_project_id":"RU1tqjn2","_minecraft_author":"thegwimweeper","_minecraft_license":"MIT","_minecraft_downloads":10,"_minecraft_follows":0,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"selenium-thegwimweeper.zip","_minecraft_size_bytes":125074,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-16T13:12:56.429579Z","_minecraft_date_created":"2026-05-05T21:35:26.574843Z","_minecraft_date_modified":"2026-04-23T20:28:46.342796Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/selenium-thegwimweeper","_minecraft_icon_attachment_id":137006,"_minecraft_imported_at":"2026-06-08T02:18:17+00:00","_minecraft_import_hash":"e754a81b089e32edf61cba295555971a","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,126,123,92],"mod_loader":[99],"minecraft_version":[41],"class_list":["post-137005","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-management","mod_category-technology","mod_category-utility","mod_loader-fabric","minecraft_version-1-21-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Selenium - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Selenium - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A simple mod that allows the player to create and customise their own gui. Mainly useful for other mod developers who don&#039;t want to spend the time and energy in creating a gui\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/\",\"name\":\"Selenium - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp\",\"datePublished\":\"2026-06-08T02:18:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/selenium-thegwimweeper\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Selenium\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Selenium - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/","og_locale":"en_US","og_type":"article","og_title":"Selenium - Minecraft","og_description":"A simple mod that allows the player to create and customise their own gui. Mainly useful for other mod developers who don't want to spend the time and energy in creating a gui","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/","name":"Selenium - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp","datePublished":"2026-06-08T02:18:16+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/selenium-thegwimweeper-icon-44ca6b1cfd1074657c4c5b0a79570e41d79c2a8e_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/selenium-thegwimweeper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Selenium"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/137005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/137006"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=137005"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=137005"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=137005"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=137005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}