Skip to content

Commands

All Zelly's Guard operations run strictly under one command:

  • /zg

With no arguments, a player opens the user protection hub; the console receives a usage line. Unknown subcommands return a translated error, player-only subcommands are blocked from the console, and tab completion only suggests subcommands the sender is allowed to use.

Command reference

Command Permission Player only Description
/zg zguard.user yes Opens the player hub; console receives usage line
/zg menu zguard.user yes Opens the player hub dialog
/zg user zguard.user yes Opens the player hub dialog
/zg admin zguard.admin yes Opens the admin hub with the sections the viewer's tier allows
/zg config zguard.admin yes Opens the interactive global and modular configuration editor
/zg recommended zguard.admin no <all\|config\|modules\|<module>> [force] cascades recommended values (undo <target> restores them); rejects exclude (Nexus-only)
/zg help zguard.user no Lists every subcommand the sender can use
/zg reload zguard.admin.owner no Reloads configuration, world profiles, and translations, reporting elapsed time
/zg about zguard.user no About dialog for players; console prints version and metadata lines
/zg info zguard.user no Version, tagline, and platform runtime lines
/zg settings zguard.admin yes Opens the settings dialog
/zg lang zguard.admin no <en\|es\|menu> switches active language or opens language selector dialog
/zg claim zguard.user yes Claim management: wand, create [radius], abandon, trust <player>, untrust <player>, flag, list
/zg region zguard.user no Region management: here, info [region], list (create, delete, flag require zguard.admin.t2)
/zg stone zguard.user yes Protection stones: info, menu (no arguments opens the menu)
/zg lock zguard.user yes status or info reports the BlockProt Reloaded link state; create locks the block you stand in when the lock module allows it
/zg blockprot [admin] zguard.user yes Opens BlockProt Reloaded user or admin protection menu directly (requires use_menus: true in BPR)
/zg pvp zguard.user yes Personal PvP control: toggle, on, off, status, menu (no args opens PvP menu)
/zg graves zguard.user yes Grave recovery: info, list, locate, menu (no args opens graves menu)
/zg prank zguard.admin.t1 no Opens prank menu; /zg prank <player> <level> sends the prank text of a level (1-5, 5.5, 6)
/zg blacklist zguard.admin.t1 no Placeholder stub (BLACKLIST_UNAVAILABLE; disabled by default enabled: false)
/zg integrations zguard.admin.t1 no Opens integrations menu; console receives detected plugin list
/zg log zguard.admin.t1 no Action logging (enabled: false by default; inspect, lookup, rollback report unavailable when disabled)
/zg antixray zguard.admin.t1 no Placeholder stub (ANTIXRAY_UNAVAILABLE; disabled by default enabled: false)
/zg debug zguard.admin.t3 no Runs the diagnostics suite

Admin tiers

With admin_tiers.enabled: false (the default) zguard.admin grants every admin capability. With it set to true, the chain is zguard.admin.t1 (everyday moderation), zguard.admin.t2 (actions on other players and their items), zguard.admin.t3 (world and server settings) and zguard.admin.owner (reload and owner-tier controls). Each tier also satisfies the lower ones; zguard.admin.custom is declared opt-in (false) and is currently reserved/unused (not checked by commands or dialogs). Every click re-checks its node at click time in Paper dialogs and Bedrock forms.

Command details

/zg menu and /zg user

  • /zg menu - opens the main user protection hub.
  • /zg user - opens the user protection hub.

/zg lang

  • /zg lang [menu] - opens the interactive language selection dialog for players (or prints the active language in console).
  • /zg lang <en|es> - switches the active language directly.

/zg claim

Management always acts on the claim the player is standing in, matched by ownership.

  • abandon - abandons the claim you are standing in.
  • trust <player> - grants build trust to a player in that claim.
  • untrust <player> - revokes that trust.
  • list - lists names of all claims you own.

/zg region

  • here - shows region information for your exact current location.
  • info [region] - inspects world and priority of a specific region (or current location if omitted).
  • list - lists regions you own; staff with zguard.admin.t1 see all server regions.

/zg stone

  • info - shows your protection stone limit.
  • menu - opens the protection stone management menu.

/zg pvp

  • /zg pvp - opens the combat and PvP toggle menu.
  • /zg pvp toggle - toggles your personal PvP combat readiness.
  • /zg pvp on - enables your personal PvP mode.
  • /zg pvp off - disables your personal PvP mode.
  • /zg pvp status - displays whether your PvP is currently active.
  • /zg pvp menu - opens the combat menu.

/zg graves

  • /zg graves - opens the interactive graves menu.
  • /zg graves info - shows your active grave count, the expiration in minutes, the retained XP percentage and whether the compass and hologram are on.
  • /zg graves list - lists stored grave coordinates.
  • /zg graves locate - points your compass toward or reports coordinates of your latest grave.
  • /zg graves menu - opens the graves menu.

/zg lock and /zg blockprot

  • /zg lock, /zg lock status or /zg lock info - reports the status of the BlockProt Reloaded link.
  • /zg lock create - creates a lock on the block at your position (needs the locks module).
  • /zg blockprot - opens the BlockProt Reloaded user protection menu.
  • /zg blockprot admin - opens the BlockProt Reloaded administrative panel (zguard.admin.t1).

/zg prank

  • /zg prank - opens the interactive prank selection menu.
  • /zg prank <player> <level> - sends the prank text for a level to an online player. Accepted levels are 1 through 5, 5.5 and 6; 5.5 and 6 both send the level 6 text.

/zg blacklist

  • /zg blacklist - experimental block blacklist route (modules/blacklist/config.yml defaults enabled: false; returns disabled notice when off).

/zg integrations

  • /zg integrations - opens the ecosystem integrations menu for players; prints the integration status list in console.

/zg log

  • /zg log opens the logging menu for players.
  • inspect [on|off] - toggles the block inspector (players only).
  • lookup and rollback - take filters u:<user>, t:<time>, r:<radius> and a:<action>.
  • modules/logging/config.yml defaults enabled: false; inspect, lookup and rollback answer that the module is unavailable while it is off.

/zg antixray

  • menu and reports - experimental anti-xray routes; modules/antixray/config.yml defaults enabled: false and the command answers that the module is unavailable.

/zg debug

  • /zg debug - runs every diagnostic group.
  • /zg debug <group> - runs a single group.
  • /zg debug run [group] - runs all groups, or one group.

The diagnostics suite covers core, environment, configuration, localization, storage, persistence, listeners, commands and permissions, the user interface, utilities, player simulation, and one group per feature subsystem.

Permissions

Node Default Inherits
zguard.user everyone -
zguard.admin.t1 operators zguard.user
zguard.admin.t2 operators zguard.admin.t1
zguard.admin.t3 operators zguard.admin.t2
zguard.admin.owner operators zguard.admin.t3
zguard.admin.custom nobody zguard.user
zguard.bypass operators zguard.user

The admin tiers inherit downward: tier 2 includes tier 1, tier 3 includes tier 2, and the owner tier includes tier 3. zguard.bypass skips region protection checks, protection stone ownership checks, and the build/interact checks exposed to other plugins.