# WorldGuard

### What is included in WorldGuard support?

* Flags that help managing KGenerators on regions

### Flags

**Flag: kgenerators-pick-up**\
\&#xNAN;*Default: allow*\
When set to *deny* players will not be able to pick up generator, even if *breaking* is enabled.

**Flag: kgenerators-interact**\
\&#xNAN;*Default: allow*\
When set to *deny* players will not be able to perform any configured action on generator.

**Flag: kgenerators-only-gen-break**\
\&#xNAN;*Default: deny*\
When set to *allow* players will only be able to dig generators in the area. They wouldn't break any other blocks in region.\
**Warning! It doesnt override other flags!** If players do not have permission to break blocks in area, they still wont be able to break generators!

### How to create public generators?

If you want to create public generators make sure, that you:

* made region with higher priority than others **or** set child region
* set *kgenerators-pick-up* to *deny*
* set *kgenerators-only-gen-break* to *allow*
* set *kgenerators-interact* to *deny*
* also remember to set *block-break* to *allow*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kzone.gitbook.io/docs/kgenerators/supported-plugins/worldguard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
