StructureToggle

Free StructureToggle 1.1

This resource is free
StructureToggle

Toggle nearby forge-like structures with /forge on|off — server-side radius, class filters, and safe reload.

StructureToggle enables or disables target structures around a player using a simple chat command, with server-defined radius and configurable class filters.

Features

Chat command toggle: /forge on and /forge off (configurable via ChatCommand)

Server-side radius only (Radius, in Unreal units / uu) — players cannot override it in command

Class filtering by runtime short class name using ClassNameKeywords (contains match, case-insensitive)

OnlySameTribe option to affect only same-tribe structures

Fast actor lookup (octree class query + class cache) for low overhead

Console reload: StructureToggle.reload reloads config.json without restart (when supported by your setup)

Reload feedback in chat only to the player who ran the command

Configuration

Code:
{
  "Enabled": true,
  "ChatCommand": "/forge",
  "Messages": {
    "Sender": "Server",
    "On": "Enabled",
    "Off": "Disabled",
    "Usage": "Usage: {command} on|off"
  },
  "Radius": 5000.0,
  "OnlySameTribe": true,
  "Log": false,
  "ClassNameKeywords": [
    "forge"
  ]
}

Code:
// StructureToggle — strip every // comment (whole line or end-of-line), then save as config.json beside the DLL. Console: StructureToggle.reload. SANTA — https://discord.gg/APnqrYegeb
{
    "Enabled": true, // Master switch: false = command does nothing
    "ChatCommand": "/forge", // Custom chat command. If no "/" prefix, plugin adds it automatically
    "Messages": {
        "Sender": "Server", // Sender name shown in game chat
        "On": "Enabled", // Text shown after: {command} on
        "Off": "Disabled", // Text shown after: {command} off
        "Usage": "Usage: {command} on|off" // Simple usage text; supports {command}
    },
    "Radius": 5000.0, // Server-side radius in Unreal units (uu)
    "OnlySameTribe": true, // true = affect only structures with same TargetingTeam as player
    "Log": false, // true = extra logs in server console
    "ClassNameKeywords": [ // Match by runtime UClass short name (lowercase contains)
        "forge"
    ]
}

Notes

Requirements: ARK: Survival Evolved dedicated server; Ark Server API 3.56 or newer (MinApiVersion 3.56)

Radius is controlled by server config only (Radius); command argument does not change radius

Keep config.json next to the DLL

config.json must be valid JSON — no // comments. Use commented_config.json as a guide, strip //, then save as config.json.

Install

Place plugin files in your ArkApi plugins folder as usual

Edit config.json: Enabled, ChatCommand, Radius, OnlySameTribe, ClassNameKeywords, etc.

Use StructureToggle.reload after config changes

Support / Questions

I do not monitor this site on a daily basis. Support and questions are handled on Discord.

discord_join.png

Author: SANTA — more plugins and info: santadevs.ru
Author
SANTA_DEVS
Downloads
2
Views
58
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from SANTA_DEVS

  • AutoDinoXP
    Free AutoDinoXP
    Exact dino XP after tame or claim — configurable target, exclusions, optional wild-tame-only mode.
Back
Top