
You are viewing a potentially older version of this package. View Latest Version
Territory
Server-defined territories with ownership, member management, configurable protections, terrain customization, and map integration.Territory
Territories defined by the server, each with an owner, members and its own rules.
- Required on the server and on every client.
- Territories are created by the administrator, one CFG file per territory, on the server only.
For Players
- Entering a territory shows its name on screen and at the top-left of the minimap.
- On the large map, hovering a territory shows its name, owner and whether you have access.
- Without access, blocked actions show NO ACCESS at the spot.
- The owner, members and administrators are never blocked.
For Owners
Use the totem at the center of your territory (only the owner and administrators can open it).
- Territory: information and rename.
- Members: add online players with
+, remove with-. - Settings: push visitors out, and choose the biome and ground.
- Biome and ground changes have a waiting time between them.
For Administrators
Territory files
Create one .cfg per territory in BepInEx/config/Territory/ on the server. Changes are reloaded automatically.
[id_01]
Enabled = true
Name = Skjoldheim
OwnerID = 76561198000000000
Members =
KnownNames =
MaxMembers = 10
Priority = 1
Coordinates = -865, -3895
Size = 60
ProtectionBorderEnabled = true
ProtectionBorderWidth = 10
ForceGroundHeight = true
GroundHeight = 36
GroundSlopeWidth = 20
PushAway = false
NoBuild = true
NoPickaxe = true
NoInteract = false
NoAttack = false
NoPortals = false
NoInteractItems = false
NoInteractCraftingStation = false
NoInteractItemStands = false
NoInteractChests = false
NoInteractDoors = false
NoInteractPortals = false
NoMonsters = true
NoBuildDamage = false
NoStructureSupport = false
InfiniteFuel = false
InfiniteStamina = false
InfiniteEitr = false
NoDeathPenalty = false
NoItemLoss = false
MovementSpeedMultiplier = 1
ForceBiome = false
Biome = Meadows
CustomPaint = false
GroundPaint = Grass
The owner can also be set in the Admin tab of the totem. Any true/false option left out of the file is off.
| Option | Effect |
|---|---|
Enabled |
Turns the territory on or off |
Name |
Name shown on screen, minimap and map |
OwnerID |
Platform ID of the owner (a Steam number becomes Steam_...) |
Members |
Platform IDs of the members, separated by commas |
KnownNames |
Filled automatically with owner and member names for offline display |
MaxMembers |
Maximum number of members (the owner does not count) |
Priority |
When territories overlap, the higher value wins |
Coordinates |
Center of the territory (X, Z) |
Size |
Side of the square in meters |
ProtectionBorderEnabled |
Adds a protected ring around the main area |
ProtectionBorderWidth |
Width of that ring in meters, starting where the slope ends, so the whole changed terrain is always protected |
ForceGroundHeight |
Flattens the main area |
GroundHeight |
Height of the flattened ground |
GroundSlopeWidth |
Smooth, rounded slope around the flattened area in meters (0 = vertical edge) |
PushAway |
Pushes visitors out of the territory |
NoBuild |
Blocks building and removing pieces |
NoPickaxe |
Blocks pickaxe on terrain and rocks |
NoInteract |
Blocks all interaction |
NoAttack |
Blocks attacks |
NoPortals |
Blocks teleporting into or out of the territory |
NoInteractItems |
Blocks picking up items |
NoInteractCraftingStation |
Blocks crafting stations |
NoInteractItemStands |
Blocks item stands |
NoInteractChests |
Blocks chests |
NoInteractDoors |
Blocks doors |
NoInteractPortals |
Blocks using portals |
NoMonsters |
Monsters do not spawn |
NoBuildDamage |
Buildings take no damage |
NoStructureSupport |
Buildings never lose support |
InfiniteFuel |
Fireplaces, torches and braziers never run out of fuel |
InfiniteStamina |
Infinite stamina |
InfiniteEitr |
Infinite eitr |
NoDeathPenalty |
No skill loss on death |
NoItemLoss |
No tombstone on death |
MovementSpeedMultiplier |
Movement speed multiplier (1 = normal) |
ForceBiome |
Forces Biome inside the territory and lets the owner change it at the totem |
Biome |
Biome used when ForceBiome is on |
CustomPaint |
Paints the ground with GroundPaint and lets the owner change it at the totem |
GroundPaint |
Ground paint: Grass, Dirt, Cultivated or Paved |