Skip to content

fix(integration): import a passthrough deny global region as protected - #63

Merged
siracozmen01 merged 1 commit into
mainfrom
fix/guard-import-global-passthrough
Nov 4, 2026
Merged

siracozmen01 merged 1 commit into
mainfrom
fix/guard-import-global-passthrough

Conversation

@siracozmen01

Copy link
Copy Markdown
Member

Found while importing the lobby's WorldGuard regions (after #62).

  • The lobby protects its whole world the usual WorldGuard way: __global__ with passthrough: deny, so only members of the global region build. The importer treated every global region as open, so the import would have let everyone break and place blocks across the lobby. A global region with passthrough: deny now gets the membership default; a global region without it stays open, as before.
  • A flag the region sets itself now beats that default as it does in WorldGuard: use: allow lets everyone use (this already held through rule deduplication), and a flag denying an action to everyone also takes away the members' allow (block-break: deny stops members too).

Three importer tests cover both cases and the open global region. ./gradlew build is green.

Docs: UXPLIMA/docs (guard import page, same branch name).

…deny as members only, and let a region's own flags beat its membership default
@siracozmen01
siracozmen01 merged commit dda7687 into main Nov 4, 2026
5 checks passed
@siracozmen01
siracozmen01 deleted the fix/guard-import-global-passthrough branch November 4, 2026 14:12
siracozmen01 added a commit that referenced this pull request Nov 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.12.0](v0.11.0...v0.12.0)
(2026-11-04)


### ⚠ BREAKING CHANGES

* **core:** the `regions` module, `/regions` and its
`uxmessentials.regions.*` nodes are removed. Region placeholders keep
their `regions_*` names and are answered by guard; `regions_available`
now says whether guard is on.

### Features

* **command:** refuse with the catalog line, never Brigadier's text
([#65](#65))
([40d13cb](40d13cb))
* **config:** apply command-control edits on reload
([#56](#56))
([b180d89](b180d89))
* **config:** cover a whole plugin with one command-control entry
([#58](#58))
([4a15105](4a15105))
* **config:** read command-control entries down to their arguments
([#57](#57))
([a49ccea](a49ccea))
* **core:** add the guard module and remove regions
([#62](#62))
([98d7f41](98d7f41))
* **core:** hold the server's operators to an allowed list
([#59](#59))
([b90a389](b90a389))


### Bug Fixes

* **command:** let command words use the letters of every language
([#60](#60))
([57cb020](57cb020))
* **integration:** import a passthrough deny global region as protected
([#63](#63))
([dda7687](dda7687))
* **menu:** write the example menu title without colour
([#55](#55))
([18cb506](18cb506))
* **message:** describe /setspawn as the current world's spawn
([#61](#61))
([3eb993c](3eb993c))
* **message:** say how long a kit cooldown has left
([#64](#64))
([b745bf0](b745bf0))
* **message:** write the Latin-script languages in small capitals
([#53](#53))
([7b9219a](7b9219a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sirac Ozmen <siracozmen@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant