{"id":93324,"date":"2026-06-05T11:04:28","date_gmt":"2026-06-05T08:04:28","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/"},"modified":"2026-06-05T11:04:28","modified_gmt":"2026-06-05T08:04:28","slug":"leukocyte","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/","title":{"rendered":"Leukocyte"},"content":{"rendered":"<p># Leukocyte<br \/>\nLeukocyte is a simple world protection mod for Fabric providing optional integration with player-roles.<\/p>\n<p>The basis of world protection with leukocyte is an &#8220;authority&#8221;. An authority is responsible for applying specific rules<br \/>\nto players within it. An authority has a unique name, as well as a priority (&#8220;level&#8221;), and set of player exclusions. <\/p>\n<p>### creating authorities<br \/>\nTo create an empty authority, run: `\/protect add <name>`.<br \/>\nAlternatively, an authority can be created to apply within a specific area like:<br \/>\n &#8211; `\/protect add <name> with universe` (applies universally)<br \/>\n &#8211; `\/protect add <name> with <dimension>` (applies within a specific dimension)<br \/>\n &#8211; `\/protect add <name> with <min> <max>` (applies within a cuboid between two block coordinates)<\/p>\n<p>An authority can be later removed with `\/protect remove <name>`.<\/p>\n<p>### setting rules<br \/>\nLeukocyte provides various rules that can be applied within authorities. These rules are:<br \/>\n &#8211; `break` controls whether players can break blocks<br \/>\n &#8211; `place` controls whether players can place blocks<br \/>\n &#8211; `block_drops` controls whether blocks drop items when broken<br \/>\n &#8211; `interact_blocks` controls whether players can interact with blocks<br \/>\n &#8211; `interact_entities` controls whether players can interact with entities<br \/>\n &#8211; `interact` controls global interaction over blocks and entities<br \/>\n &#8211; `attack` controls whether players can attack other entities<br \/>\n &#8211; `pvp` controls whether players can attack other players<br \/>\n &#8211; `portals` controls whether players can construct portals<br \/>\n &#8211; `crafting` controls whether players can craft items<br \/>\n &#8211; `fall_damage` controls whether players should receive fall damage<br \/>\n &#8211; `hunger` controls whether players will become hungry<br \/>\n &#8211; `throw_items` controls whether players can throw items from their inventory<br \/>\n &#8211; `pickup_items` controls whether items can be picked up by players or other entities<br \/>\n &#8211; `unstable_tnt` controls tnt automatically igniting when placed<br \/>\n &#8211; `ignite_tnt` controls whether tnt can be ignited<br \/>\n &#8211; `spawn_withers` controls whether withers can be summoned<br \/>\n &#8211; `fire_tick` controls whether fire tick is enabled within the authority. Defaults to gamerule if not set<br \/>\n &#8211; `fluid_flow` controls whether fluids flow<br \/>\n &#8211; `ice_melt` controls whether ice and frosted ice melt<\/p>\n<p>To set a rule as `allow` or `deny` on an authority, use `\/protect set rule <authority> <rule> <result>`.  <\/p>\n<p>For example: `\/protect set example place deny` will disallow block placement within the authority named `example`.<\/p>\n<p>### making shapes<br \/>\nOften, you may want to protect an area with a weird shape that is not just a simple box.<br \/>\nTo achieve this, it is possible to combine multiple simple shapes into a more complex one which will be used to apply rules.<\/p>\n<p>To start, run: `\/protect shape start`. This will begin the construction of a shape.<br \/>\nNext, to add primitives to this shape, run:<br \/>\n &#8211; `\/protect shape add universe` to add the universe into this shape<br \/>\n &#8211; `\/protect shape add <dimension>` to add a dimension into this shape<br \/>\n &#8211; `\/protect shape add <min> <max>` to add a cuboid between two block coordinates into this shape<\/p>\n<p>These commands can be run multiple times to compose your shape.<\/p>\n<p>Once you have finished composing a shape, you can run: `\/protect shape finish <name> to <authority>`.<br \/>\nThis will add a shape with the given name to the given authority.<\/p>\n<p>This shape can be removed in the future with `\/protect shape remove <name> from <authority>`.<\/p>\n<p>### setting levels<br \/>\nWhen dealing with multiple authorities, you may want one to take priority over another.<br \/>\nFor example, you may want a global authority to disallow griefing everywhere *except* specific areas for building.<\/p>\n<p>This is where levels come in: a level is just any number, where a higher level indicates higher priority, and a lower level indicates lower priority.<br \/>\nGiven an authority with a level of -1, an overlapping authority with a level of 10 will override the rules of the first.<\/p>\n<p>Levels can be set on an authority with: `\/protect set level <authority> <level>`. <\/p>\n<p>### adding exclusions<br \/>\nIt may not be desirable for the rules of an authority to apply to everyone.<br \/>\nIn this case, it is possible to exclude specific players, or entire roles from being affected by a given authority.<\/p>\n<p>This is achieved through running: `\/protect exclusion add <authority> player <name>` or `\/protect exclusion add <authority> role <name>`.<\/p>\n<p>These exclusions can additionally be later removed with `\/protect exclusion remove`.<\/p>\n<p>### putting it together: an example<br \/>\nThat was a lot of things! Let&#8217;s put this knowledge together on a simple example.<\/p>\n<p>Our example server will want to have global grief protection, except in our survival dimension and free-build areas.<br \/>\nWe additionally want to be able to exclude certain players from building in the free-build areas by use of a role.<\/p>\n<p>Let&#8217;s consider the two dimensions: `minecraft:overworld` and `example:survival`, as well as the role `builders`.<\/p>\n<p>First, let&#8217;s create an authority named `global`. Since we will mostly want protection everywhere, it makes sense to<br \/>\nglobally apply protection and then specifically override this in specific areas.<br \/>\n &#8211; `\/protect add global with universe`<\/p>\n<p>Next, we can set the rules on this authority:<br \/>\n &#8211; `\/protect set rule global place deny`<br \/>\n &#8211; `\/protect set rule global break deny`<\/p>\n<p>Done! Now, let&#8217;s override this behavior in our survival dimension.<br \/>\n &#8211; `\/protect add survival with example:survival`<br \/>\n &#8211; `\/protect set rule survival place allow`<br \/>\n &#8211; `\/protect set rule survival break allow`<\/p>\n<p>But wait..! How will the mod know to apply the rules of `global` or `survival`, since `global` also applies in the survival dimension?<br \/>\nHere, we can make use of levels: the default level for an authority is `0`, and a larger value means higher priority.<br \/>\nSo: let&#8217;s set the level of our `global` authority to `-1` such that anything we add in the future overrides it by default.<br \/>\n &#8211; `\/protect set level global -1`<\/p>\n<p>Now we can similarly add our free build areas as exclusions too! Let&#8217;s say we have two free build areas, creatively named `free_build_1` and `free_build_2`.<br \/>\nFirst, we should create an empty authority that applies to both of them, since they both have the same rules.<br \/>\n &#8211; `\/protect add free_build`<br \/>\n &#8211; `\/protect set rule free_build place allow`<br \/>\n &#8211; `\/protect set rule free_build break allow`<\/p>\n<p>Next, let&#8217;s compose the shape for `free_build_1`:<br \/>\n &#8211; `\/protect shape start`<br \/>\n &#8211; `\/protect shape add -10 0 -10 10 255 10`<br \/>\n &#8230; and add it to our authority<br \/>\n &#8211; `\/protect shape finish free_build_1 to free_build`<\/p>\n<p>And repeat the same for `free_build_2`:<br \/>\n  &#8211; `\/protect shape start`<br \/>\n  &#8211; `\/protect shape add -100 0 -10 90 255 10`<br \/>\n  &#8230; and add it to our authority<br \/>\n  &#8211; `\/protect shape finish free_build_2 to free_build`<\/p>\n<p>Done! Now the free-build areas should be editable by any player- except, we want to create exclusions such that we can &#8216;ban&#8217; players from the areas.<br \/>\nLet&#8217;s do that with a `free_build_banned` role:<br \/>\n &#8211; `\/protect exclusion add free_build role free_build_banned`<\/p>\n<p>With that, all our protection should be set up nicely! \ud83d\ude42<\/p>\n<p>### testing! querying and checking rules<br \/>\nOkay, we&#8217;ve set up authorities, but how can we easily check which rules are set and by what?<\/p>\n<p>A few commands may come in handy:<br \/>\n &#8211; `\/protect test`: tests all the rules that apply at a given location, and shows from which authority they originate<br \/>\n &#8211; `\/protect list`: lists all authorities in the world<br \/>\n &#8211; `\/protect display <authority>`: displays the rules and shape of the given authority<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Server-side, region-based protection controllable by API or commands<\/p>\n","protected":false},"featured_media":93325,"template":"","meta":{"_minecraft_slug":"leukocyte","_minecraft_project_id":"hsRVgp6Q","_minecraft_author":"Patbox","_minecraft_license":"LGPL-3.0-only","_minecraft_downloads":8296,"_minecraft_follows":49,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"leukocyte.zip","_minecraft_size_bytes":4291876,"_minecraft_version_count":17,"_minecraft_updated_at":"2026-05-16T22:20:53.492321Z","_minecraft_date_created":"2021-12-17T18:13:44.590742Z","_minecraft_date_modified":"2026-05-03T21:41:26.915998Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/leukocyte","_minecraft_icon_attachment_id":93325,"_minecraft_imported_at":"2026-06-05T08:04:28+00:00","_minecraft_import_hash":"6719180801b88d2e8d5452cad38aa670","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,126,98,92],"mod_loader":[99,100],"minecraft_version":[51,53,54,55,57,58,690,59,36,60,94,102,37,40,74,38,78,80,81,82,163],"class_list":["post-93324","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-management","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-18","minecraft_version-1-18-2","minecraft_version-1-19","minecraft_version-1-19-1","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-19-4-rc2","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-4","minecraft_version-1-20-6","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-26-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Leukocyte - 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\/leukocyte\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Leukocyte - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Server-side, region-based protection controllable by API or commands\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/\",\"name\":\"Leukocyte - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leukocyte-icon-icon.png\",\"datePublished\":\"2026-06-05T08:04:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leukocyte-icon-icon.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leukocyte-icon-icon.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leukocyte\\\/#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\":\"Leukocyte\"}]},{\"@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":"Leukocyte - 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\/leukocyte\/","og_locale":"en_US","og_type":"article","og_title":"Leukocyte - Minecraft","og_description":"Server-side, region-based protection controllable by API or commands","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/","name":"Leukocyte - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leukocyte-icon-icon.png","datePublished":"2026-06-05T08:04:28+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leukocyte-icon-icon.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leukocyte-icon-icon.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leukocyte\/#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":"Leukocyte"}]},{"@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\/93324","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\/93325"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=93324"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=93324"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=93324"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=93324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}