Skip to content

Feature Request: OrbisGuard Integration #10

@derrickmehaffy

Description

@derrickmehaffy

Feature Request

Description

Add integration with OrbisGuard, the popular WorldGuard-like region management mod for Hytale.

Use Cases

  1. Automatic Region Creation - When a faction claims territory, optionally create corresponding OrbisGuard regions with appropriate flags
  2. Protection Delegation - Allow server admins to use OrbisGuard's more granular flag system for faction territories instead of HyperFactions' built-in protection
  3. Region Overlap Detection - Prevent factions from claiming chunks that are already protected by OrbisGuard regions (e.g., spawn areas, admin builds)
  4. Entry/Exit Integration - Leverage OrbisGuard's entry/exit command flags for faction territory notifications or effects

Proposed Implementation

Soft Dependency

  • Detect OrbisGuard at runtime (similar to HyperPerms integration)
  • All features work without OrbisGuard installed
  • Integration enables additional functionality when present

Configuration Options

{
  "orbisguard": {
    "enabled": true,
    "createRegionsOnClaim": false,
    "respectExistingRegions": true,
    "regionNameFormat": "faction_{faction_name}_{chunk_x}_{chunk_z}",
    "defaultFlags": {
      "build": "members",
      "pvp": "allow"
    }
  }
}

API Integration Points

  • Check OrbisGuard regions before allowing claims
  • Optionally sync faction membership with OrbisGuard region membership
  • Support OrbisGuard's polygonal regions for non-chunk-based faction territories (future)

Benefits

  • Leverages OrbisGuard's battle-tested protection system
  • Allows admins familiar with WorldGuard to use similar workflows
  • Enables more granular control over faction territory permissions
  • Compatible with OrbisGuard-Mixins for complete bypass protection

References

Priority

Low - This is a nice-to-have integration for servers already using OrbisGuard. HyperFactions' built-in protection system is sufficient for most use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions