Skip to content

Server title with double curly braces tag {{X}} is being removed when applied to game files #1396

@SatrosDev

Description

@SatrosDev

Operating System

Ubuntu 24.04.3 LTS

AMP Version and Build Date

2.6.5.0 - 20260114

AMP Release Stream

Mainline

I confirm that

  • I have searched for an existing bug report for this issue.
  • I am using the latest available version of AMP.
  • my operating system is up-to-date.

Intended Action

I am trying to input a literal "{{X}}" as part of a game's server title via a game's AMP configuration UI.

For example, under Server Name for a Counter-Strike source server, I enter {{X}} New AMP Server.

However these curly braces are getting removed by AMP in the actual game's setting files.

Expected Behaviour

The Server Name entered in the UI should be saved as hostname "{{X}} New AMP Server" in counter strike source's server.cfg

Actual Behaviour

The server name shows up in counter strike source's server.cfg as hostname "X New AMP Server" with the double curly braces removed.

Reproduction

  1. Install a game (I will use counter strike source as an example but this seemed to be an issue for every game)
  2. In the instance, go to Configuration and the game's settings (Counter-Strike: Source)
  3. Enter {{X}} New AMP Server as the Server Name
  4. Restart the game server
  5. Open the instance's File Manager and open cstrike/cfg/server.cfg
  6. You will see that the hostname setting is saved with the curly braces stripped

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions