AtlasBuildSectors

    AtlasBuildSectors 1.0.4

    Game version
    0.205.4
    AtlasBuildSectors

    Protected build zones for the Atlas mod suite. Allows server administrators to designate sectors where only permitted players and factions can interact with specific ships and stations.
    Depends on: AtlasCore
    Features

    • Per-sector entity registration (ships and stations that belong to the build zone)
    • Per-entity permission table — granular control over who can interact with each entity
    • Per-user permission overrides on top of global sector defaults
    • In-game Build Sectors dialog accessible from the top bar
    • HUD overlay drawn via BuildSectorHudDrawer (registered through RegisterWorldDrawersEvent)
    • Automatic stale-entity pruning via BuildSectorData.prune()
    Permission types

    Permissions are defined in BuildSectorData.PermissionTypes and can be toggled per-entity or globally for a user. Examples include spawn rights, AI control, turret management, and invulnerability overrides.
    Data model

    BuildSectorData

    Represents one protected sector. Contains:
    • Sector coordinates
    • A map of entityUID → BuildSectorEntityData
    • Per-user permission entries
    BuildSectorEntityData

    Represents one registered entity within a sector:
    • Entity UID and type (SHIP / STATION)
    • Per-user permission map (BuildSectorData.PermissionTypes → Boolean)
    Optional cross-mod integration

    Other Atlas modules can check build-sector membership without importing this module:
    Code:
    if (SubModRegistry.isLoaded("atlas_buildsectors")) {
        try {
            Class<?> bsData = Class.forName("atlas.buildsectors.data.BuildSectorData");
            // call getActiveSectorForPlayer(playerState) via reflection
        } catch (Exception ignored) {}
    }
    AtlasCore's ECCatalogScrollableListNew and AtlasExchange's ExchangeItemScrollableList both use this pattern to gate blueprint spawning.
    Build

    Code:
    gradle :buildsectors:jar
    Output: {starmade_root}mods/AtlasBuildSectors-{version}.jar
    Author
    VideoGoose
    Downloads
    79
    Views
    88
    First release
    Last update
    Rating
    0.00 star(s) 0 ratings

    More resources from VideoGoose

    • Contracts 2
      Contracts 2
      The long awaited sequel to the Contracts mod
    • StarBridge
      StarBridge
      Links Discord to StarMade chat [SERVER ONLY] [Java 8]
    • LorefulLoot
      LorefulLoot
      Adds randomly spawning shipwrecks with loot and lore.
    • LuaMade
      LuaMade
      Adds Lua scriptable computers to StarMade
    • AtlasBanking
      AtlasBanking
      Player banking system for the Atlas mod suite.

    Latest updates

    1. Update 1.0.4

      Fixed core mod setting.
    2. Update 1.0.3

      Fixed config issue.
    3. Update 1.0.2

      Fixed version