Configuration with HumanitZ - Import configuration via CLI?

System Information

Field Value
Operating System Linux - Ubuntu 24.04.3 on x86_64
Product AMP ‘Phobos’ v2.6.5.0 (Mainline)
Virtualization QEMU_KVM
Application HumanitZ
Module GenericModule
Running in Container No
Current State Ready

Problem Description

Issue

I can’t modify TSSGame/GameServerSettings.ini without executing " Right click > Import Configuration " However I need to be able to do this remotely via automated functions, how do I do that? Like via ssh and then execute “ampmgr import config instance file” or something similar? Furthermore, can I restart the gameserver somehow as well via ssh? I can only find on how to restart the full instance, but I only want to target the gameserver not instance. Thanks! :slight_smile:

Reproduction Steps

  • N/A - See description
  • N/A2 - See description
  • N/A3 - See description

You’d have to invoke AMPs API to do that. It’s not something that can be done via the command line.

What’s the use case for needing to automate this?

Well being able to change configuration without having to be hands on is the use case I guess.
But for this specific one it’s a boolean flag I want to change using schedules with jenkins the actual process works fine it’s just that it’s a bit difficult since it’s not static files :slight_smile: and I wanted to test to shut down the server (not instance) and then change → turn on again to see if that would work.,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.