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

Change server configuration #1

Open
1 task
jaller94 opened this issue Dec 28, 2017 · 0 comments
Open
1 task

Change server configuration #1

jaller94 opened this issue Dec 28, 2017 · 0 comments

Comments

@jaller94
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant