Skip to content

Entry and Exit

Ghost edited this page Nov 15, 2026 · 1 revision

🚪 Entry, Exit and Messages

Fabric Guard 1.7.10 includes region entry/exit flags, group targeting, notification options, and custom messages.

Basic entry and exit

/rg flag staff_area entry deny
/rg flag staff_area exit allow

Restricting exit can trap users if misconfigured. Always provide a working administrative recovery route.

Target specific groups

For entry and exit, use the special -g branch:

/rg flag staff_area -g nonmembers entry deny
/rg flag staff_area -g nonmembers exit allow

Supported group identifiers are:

  • all
  • members
  • owners
  • nonmembers
  • nonowners

The -g syntax is specifically implemented for entry and exit. Do not assume that every other state flag supports it.

entry-group and exit-group are also registered flags. If manipulating these directly, use one of the supported group names and inspect the result with /rg list <id>.

Custom messages

/rg flag spawn greeting Welcome to Spawn!
/rg flag spawn farewell Thanks for visiting!
/rg flag staff_area entry-deny-message This area is for staff only.

Other message flags include greeting-title, farewell-title, exit-deny-message, and deny-message.

Notifications and advanced options

Flag Type Purpose
notify-enter Boolean Control entry notification behavior.
notify-leave Boolean Control exit notification behavior.
exit-via-teleport State Separate policy for teleport-related exits.
exit-override Boolean Advanced exit behavior switch.

Testing entry rules

  1. Verify the region boundaries (/rg info <id>).
  2. Test with an outsider, a member, an owner, and a privileged operator.
  3. Test walking, teleporting and dimension transitions.
  4. Confirm that players are never trapped unintentionally.

See Owners-and-Members, Permissions and Flags.

Clone this wiki locally