Skip to content
This repository was archived by the owner on Nov 17, 2018. It is now read-only.
This repository was archived by the owner on Nov 17, 2018. It is now read-only.

Change server configuration #1

@jaller94

Description

@jaller94

As a user I want to upload a server configuration.

The following files should be editable:

  • bans.lst
  • mapcycle.cfg
  • server.cfg
  • serverinfo.txt
  • weapons_recoil.cfg

Considerations:

  • A running CS2D server will overwrite server.cfg file. A restart is required.
    • TODO: Create a list of those files
  • CS2D uses CRLF line breaks and file should possibly be converted to those.

Implementation:

Get configuration:

The files should be retrievable:
GET http://localhost/filesystem/sys/mapcycle.cfg

Set configuration:

The files should be:
PUT http://localhost/filesystem/sys/mapcycle.cfg

If file is sys/server.cfg and server is running send 403 Forbidden.

Provide a preload filesystem that gets applied to the server before the next start.
PUT http://localhost/filesystem-preload/sys/server.cfg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions