Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Players can Claim in Worldguard Regions #174

Open
Zenoxez opened this issue Feb 4, 2025 · 2 comments
Open

Players can Claim in Worldguard Regions #174

Zenoxez opened this issue Feb 4, 2025 · 2 comments
Labels
question Further information is requested

Comments

@Zenoxez
Copy link

Zenoxez commented Feb 4, 2025

Hello,

The plugin is allowing players to make claims in worldguard regions. Protection integration is set to true in the config.

[00:43:54 INFO]: [XC] Enabling XClaim v1.15.3
[00:43:54 INFO]: [XC] Locating JAR file
[00:43:54 INFO]: [XC] Checking for Dynmap
[00:43:55 INFO]: [XC] Loading trusted players
[00:43:55 INFO]: [XC] Loading claims
[00:43:55 INFO]: [XC] Unpacking claims
[00:43:55 INFO]: [PlaceholderAPI] Successfully registered internal expansion: xclaim [1.15.3]
[00:43:55 INFO]: [XC] Initializing chunk editor
[00:43:55 INFO]: [XC] Loading command manager
[00:43:55 INFO]: [XC] Registering default commands
[00:43:55 INFO]: [org.reflections.Reflections] Reflections took 185 ms to scan 1 urls, producing 6 keys and 28 values
[00:43:55 INFO]: [XC] Starting movement routine
[00:43:55 INFO]: [XC] Refreshing grace routine
[00:43:55 INFO]: [XC] Done

Thanks

@WasabiThumb
Copy link
Owner

WasabiThumb commented Feb 4, 2025

The region is ignored if the claiming player is permitted for BUILD, BLOCK_BREAK, ENTRY, EXIT, USE, INTERACT and PASSTHROUGH with rules defined here and enforced here. Make sure in your testing that this is not the case; e.g. you are not an operator and do not own the region. Only responding as the integration essentially works the exact same way in v2.

Also, the rule for a WorldGuard region to be considered as "in a chunk" is if it contains any blocks in the chunk at Y=0. If the region does not extend down to Y=0, it's effectively invisible to XClaim (code here).

@WasabiThumb WasabiThumb added the question Further information is requested label Feb 4, 2025
@Zenoxez
Copy link
Author

Zenoxez commented Feb 4, 2025

I just had to set one of those flags to a "deny" value and it worked for me. Thank you for the response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants