Documentation

ItemRegions — Region Item Control

WorldGuard region-based item and effect restrictions for Minecraft servers.

This is a preserved product reference. Check the current listing for release-specific dependencies and support. Ask for help.

Reference information

Original guide version: v1.0 Original supported versions: Minecraft 1.21.x Original guide updated: September 2026

Marketplace listing

View the current product listing on BuiltByBit https://builtbybit.com/resources/itemregions-region-item-control.126947/

Overview

ItemRegions links independent restriction profiles to existing WorldGuard regions. Define which items, actions, potion effects, projectiles, and custom items players may use within each region and world. Outside matching enabled profiles, gameplay is unchanged. Profiles never create or alter WorldGuard regions. Region rules World scope, priority, BLACKLIST or WHITELIST mode, optional inheritance, exceptions, and reusable item groups. Gameplay control Materials, actions, consumables, custom items, normal/splash/lingering potions, tipped arrows, Wind Charges, Ender Pearls, Elytra, shields, Maces, and combat. Player feedback Chat, action bar, title, boss bar, sounds, particles, prefixes, region enter/exit messages, and notification cooldowns. Administration Commands and optional in-game GUI, diagnostics, validation, backups, restores, and atomic configuration reloads. No bypass Operator status and admin permissions grant management access, not a bypass for active gameplay restrictions.

Requirements & Compatibility

Designed for Spigot, Paper, Purpur, Pufferfish, Airplane, Leaf, and Folia 1.21.x. Folia also needs Folia-compatible WorldEdit and WorldGuard builds. Not supported: 1.20.x and older, versions beyond 1.21.x, Bedrock server software, or proxy-only installation. The packaged JAR and automated checks were verified on Java 21; a live-server end-to-end test was not available during release packaging.
DependencyRequirement
Java21
ServerBukkit-compatible Minecraft 1.21.x; compiled against Spigot API 1.21
WorldEditCompatible Bukkit build required alongside WorldGuard
WorldGuardCompatible 7.x build; compiled against 7.0.13
PlaceholderAPIOptional, only for placeholders from other installed expansions

Installation & Quick Start

1. Stop your server and install compatible WorldEdit and WorldGuard builds. 2. Put ItemRegions-1.0.jar in plugins/ and remove any older ItemRegions JARs. Do not put the documentation ZIP in plugins/. 3. Start normally to generate plugins/ItemRegions/config.yml; do not use Bukkit's /reload. 4. Create or identify an existing WorldGuard region, then create an ItemRegions profile for it using commands or YAML. 5. Run /ir validate, then /ir reload after manual YAML changes. Test the rule with /ir test and an actual in-game interaction. Quick in-game setup This links profile spawn_rules to an existing WorldGuard region called spawn in world. A player-created profile defaults to the player's current world; console defaults to * (all worlds) unless given a world. Equivalent minimal YAML Merge these keys into plugins/ItemRegions/config.yml and run /ir validate, /ir reload, then /ir testregion spawn WIND_CHARGE RIGHT_CLICK. Command edits save and activate immediately; manual file edits require a reload.
/ir create spawn_rules spawn world
/ir additem spawn_rules WIND_CHARGE
/ir additem spawn_rules ELYTRA
/ir addeffect spawn_rules POISON
/ir validate
/ir testregion spawn_rules WIND_CHARGE RIGHT_CLICK

config-version: 1
settings:
  strict-enforcement: true
  inventory-actions: false
regions:
  spawn:
    enabled: true
    worldguard-region: spawn
    worlds: [world]
    disabled-items: [WIND_CHARGE, ELYTRA]
    potions:
      disabled-effects: [POISON]

Configuration & Rules

HIGHEST_PRIORITY and LOWEST_PRIORITY resolve overlapping profiles by profile priority, then WorldGuard priority, then profile ID. Profiles support disabled-items, disabled-groups, blocked-actions, consumables, custom-items (material plus optional model data, name, lore or PDC key), and item-specific messages. Use action-specific restrictions only with strict-enforcement disabled. Notification cooldowns suppress repeated feedback, not enforcement. Potion delivery types Normal, splash, lingering, and tipped-arrow effects can be configured separately. potions.disabled: true disables normal, splash, and lingering delivery, but tipped arrows remain separately controlled. Effect filters support ANY, EXACT, ABOVE, BELOW, and inclusive RANGE for amplifier and duration; Bukkit amplifier values are zero-based. Messages and validation Customize defaults.notifications or profile notifications for chat, actionbar, title/subtitle, bossbar, sound, and particles. Prefixes can be global or per profile. Text supports legacy Minecraft colors, hex, MiniMessage gradients, rainbow, and decorations. Invalid startup configuration prevents activation; invalid /ir reload leaves the previous active snapshot intact. /ir validate checks named loaded worlds and their WorldGuard regions.
regions:
  arena:
    worldguard-region: arena
    worlds: [world]
    potions:
      disabled-effects: [POISON]
      splash:
        disabled-effects: [INSTANT_DAMAGE]
      lingering:
        disabled-effects: [WITHER]
      tipped-arrows:
        disabled-effects: [INSTANT_DAMAGE]
KeyBehavior
settings.strict-enforcementtrue by default: disabled-items block every captured gameplay interaction, even when action-specific entries exist
settings.inventory-actionsfalse by default: moving, dropping, picking up, and clearing restricted items remains possible; true restricts those actions too
region-priority.modeHIGHEST_PRIORITY (default), LOWEST_PRIORITY, or ALL; ALL blocks if any matching profile blocks
regions.<id>.worldsNamed worlds or * for all worlds; empty list matches none
regions.<id>.modeBLACKLIST (default) or WHITELIST with allowed-items and allowed-actions
regions.<id>.inheritOptional parent profile; missing parents and cycles are errors
regions.<id>.exceptionsMaterial exceptions take precedence over group restrictions

Commands

Base command: /itemregions; aliases: /itemregion and /ir. Unless noted as player-only, commands also work from the console. Profile names refer to ItemRegions IDs, not automatically created WorldGuard regions. Profile editing Groups & backups WorldGuard stays separate The profile editing commands never create, resize, rename, or delete WorldGuard geometry.
CommandPermissionPurpose
/ir help · /ir versionNoneHelp, version, platform, scheduler, and counters
/ir reloaditemregions.reloadValidate and atomically activate config.yml; clear temporary overrides
/ir list · /ir region listitemregions.listList loaded profiles
/ir info <profile> · /ir preview <profile>itemregions.infoInspect a profile
/ir test <online-player> <material-or-effect> [action]itemregions.testEvaluate a player's current location and decision path
/ir testregion <profile> <material-or-effect> [action]itemregions.testTest one profile without WorldGuard spatial query
/ir debug [online-player] [material] [action]itemregions.debugToggle diagnostics or run a detailed test; console must name a player
/ir validate · /ir configitemregions.adminValidate YAML/regions or inspect active version and counts
/ir preview-prefix <profile> · /ir preview-message <profile> [material]itemregions.info · playerPreview resolved prefix or denial message
/ir guiitemregions.gui · playerOpen optional administration GUI
CommandPermissionPurpose
/ir create <profile> <wg-region> [world-or-*]itemregions.modifyCreate profile; also /ir region create
/ir enable <profile> [--save] · /ir disable <profile> [--save]itemregions.modifyTemporary toggle; --save persists
/ir additem <profile> <material> · /ir removeitem <profile> <material>itemregions.modifyEdit simple disabled materials
/ir addeffect <profile> <effect> · /ir removeeffect <profile> <effect>itemregions.modifyEdit general disabled effects
/ir world <profile> <world-or-*>itemregions.modifySet profile world scope
/ir region set <profile> <wg-region>itemregions.modifyChange the linked WorldGuard ID
/ir rename <profile> <new-profile>itemregions.modifyRename and update inheritance references
/ir delete <profile> confirmitemregions.destructiveDelete unreferenced profile; also /ir region delete
CommandPermissionPurpose
/ir group list · /ir group info <group>itemregions.modifyInspect groups
/ir group create <group>itemregions.modifyCreate group
/ir group add <group> <material> · /ir group remove <group> <material>itemregions.modifyEdit materials in group
/ir group delete <group> [confirm]itemregions.modify + itemregions.destructiveReferenced groups require confirm
/ir backup · /ir restore <file> confirm · /ir reset confirmitemregions.destructiveBack up, validate and restore, or reset to defaults
/ir backupsitemregions.adminList backups

Permissions

All declared permissions default to operators. itemregions.admin includes child administrative permissions. There is no gameplay bypass permission; the legacy bypass-permission config key is ignored with a warning.
PermissionPurpose
itemregions.adminParent admin permission and command fallback
itemregions.guiOpen GUI
itemregions.modifySafe profile, group, item, and effect edits
itemregions.destructiveDelete, back up, restore, and reset
itemregions.reloadAtomic reload
itemregions.listList profiles
itemregions.infoInspect profiles and preview messages
itemregions.testRun decision tests
itemregions.debugLive diagnostics

Placeholders & Formatting

Built-in placeholders work in ItemRegions prefixes, denial messages, titles, boss bars, and region-event messages without PlaceholderAPI. ItemRegions does not register a PlaceholderAPI expansion; optional PlaceholderAPI resolves placeholders from other expansions inside ItemRegions text.
notifications:
  chat:
    enabled: true
    message: '<red>%item_name% is disabled in %region_display_name%.</red>'
  actionbar:
    enabled: true
    message: '<yellow>%player%</yellow><gray>, you cannot use </gray><aqua>%material%</aqua><gray> here.</gray>'
PlaceholderValue
%player% · %player_name%Player name
%world% · %world_name%World name
%region% · %region_display_name%WorldGuard region ID · formatted profile display name
%item% · %material% · %item_name%Material key · material key · readable item name
%effect% · %effect_name%Effect key · readable effect name
%potion_type%NORMAL, SPLASH, LINGERING, TIPPED_ARROW, or NONE
%action% · %block_reason%Normalized action · readable decision reason

Developer API

ItemRegions exposes a public Bukkit service API for integration and an observational ItemBlockedEvent for reporting blocked decisions. The event is not a way to bypass enforcement. Formatting libraries are packaged inside the plugin; no separate Adventure installation is needed.

FAQ & Troubleshooting

Nothing is blocked. What should I check? Check Java 21, one ItemRegions JAR, compatible WorldEdit/WorldGuard, an enabled profile, and exact region/world names. Run /ir validate and /ir test <player> WIND_CHARGE RIGHT_CLICK with that player inside the region. Why can players move or drop blocked items? settings.inventory-actions defaults to false, allowing inventory movement, pickup, and drops while gameplay use remains blocked. Set it to true to restrict inventory handling too. Can operators bypass restrictions? No. OP status and admin permissions do not bypass gameplay rules. Why didn't /ir reload apply my edits? The candidate config failed validation. Correct /ir validate errors; the previous active configuration remains in effect. How do overlapping regions work? Choose HIGHEST_PRIORITY, LOWEST_PRIORITY, or ALL under region-priority.mode. The first two compare profile priority, WorldGuard priority, then profile ID; ALL blocks if any matching profile blocks. Does it need a database, proxy plugin, license server, or internet? No. Configuration is local YAML and ItemRegions makes no network requests. Install on the Bukkit-compatible server. Does it provide %itemregions_*% PlaceholderAPI placeholders? No. Built-in placeholders render inside ItemRegions messages; it does not register a PlaceholderAPI expansion.
/ir version
/ir validate
/ir list
/ir test <player> WIND_CHARGE RIGHT_CLICK
/ir debug <player>

Support & Updates

For help, include /ir version, /ir validate, a test result, server software/version, Java version, WorldEdit/WorldGuard versions, relevant profile YAML, and the full IR-* error identifier or stack trace. Remove tokens, credentials, player IPs, and unrelated logs before sharing. Use the private support contact on the official marketplace page or Crystal Developments' contact page. For updates, stop the server, back up plugins/ItemRegions/, replace the old JAR while keeping config.yml, then restart normally. v1.0 accepts config-version: 1; newer schema versions are rejected rather than downgraded.

Changelog

v1.0 — September 19, 2026 • Initial release with independent WorldGuard region/world profiles and deterministic overlap modes. • Material, action, group, exception, whitelist, consumable, custom-item, projectile, combat, and potion/effect restrictions without permission bypass. • Optional inventory enforcement, customizable feedback, formatting, prefixes, and placeholders. • Commands, administration GUI, diagnostics, validation, backups, restore, and atomic reloads. • Public Bukkit service API, observational ItemBlockedEvent, and Bukkit/Folia scheduler adapters.