| title | WorldGuard, GriefPrevention & TeamsAPI |
|---|---|
| nav_order | 4 |
| parent | Integrations |
Use these integrations when you want EzRTP to avoid protected regions or claimed chunks.
When enabled, EzRTP validates candidate RTP locations against configured protection providers and rejects protected points.
Supported provider names in config:
worldguard— WorldGuard protected regionsgriefprevention— GriefPrevention claimsteamsapi— Chunk claims managed by any TeamsAPI-compatible team plugin- Also enables faction RTP claim routing with
/rtp factionand/f rtp(TeamsAPI subcommand API).
- Also enables faction RTP claim routing with
If a provider plugin is not installed, EzRTP continues with available providers (safe fallback behavior).
File: plugins/EzRTP/rtp.yml
protection:
avoid-claims: false
providers:
- worldguard
- griefprevention
- teamsapiprotection.avoid-claimstrue: reject locations inside supported protected areas.false: ignore protection checks.
protection.providers- Priority list of providers EzRTP can query.
- Keep only providers you actually use to simplify troubleshooting.
Why here: claim/region safety is part of RTP destination validation, so it belongs in rtp.yml.
TeamsAPI is a universal bridge between Minecraft team / faction plugins and consumer plugins.
When a team plugin that supports chunk claiming registers a TeamsClaimService with TeamsAPI,
EzRTP automatically detects this and avoids claimed chunks during RTP destination search.
Requirements:
- TeamsAPI plugin installed (soft-depend — not mandatory).
- A compatible team plugin with claim support installed alongside TeamsAPI.
Behaviour:
- If TeamsAPI is absent or no claim provider is registered, the
teamsapientry inprovidersis silently skipped. No errors are logged unlessavoid-claims: trueand all configured providers are unavailable. - Claim availability is re-checked dynamically, so a claim plugin that loads after EzRTP is picked up without requiring a reload.
When TeamsAPI is present, EzRTP registers a /f rtp subcommand that opens the
faction claim RTP GUI directly from the factions menu. This requires the
FactionClaimSelectionGuiManager to be active (see gui.yml).
[EzRTP] TeamsAPI integration: registered '/f rtp' subcommand.
This line is logged once at startup when TeamsAPI is detected. If TeamsAPI is not installed, the subcommand is silently skipped and no error is logged.
You can also enable region-centric command routing:
File: plugins/EzRTP/rtp.yml (and compatibility mirror in config.yml)
worldguard:
region-command:
enabled: false
autocomplete: false- Enable this to allow
/rtp <regionId>behavior. - Useful for servers with curated gameplay regions.
- Survival / Towny-like protection-heavy servers: set
avoid-claims: true. - Factions / Teams servers using TeamsAPI: set
avoid-claims: trueand ensureteamsapiis inproviders. - Minigame / event servers with custom handling: keep
avoid-claims: falseunless conflicts occur. - Mixed networks: enable only on servers where claim boundaries matter.