View Code? Open in Web Editor
NEW
Web-based administration interface for CS2D gaming server
License: GNU Affero General Public License v3.0
Lua 3.94%
HTML 30.23%
TypeScript 59.13%
CSS 6.70%
cs2d-webadmin's Introduction
- ๐ญ Iโm currently working on
- Matrix.org clients, bridges, widgets and bots
- ๐ฑ Iโm currently learning
- ๐ฏ Iโm looking to collaborate on
- Matrix Wrench
- Web of Things Wrench
- ๐ค Iโm looking for help with
- ๐ฌ Ask me about
- Matrix
- OpenStreetMap in Kaohsiung or Berlin
- ๐ซ How to reach me: https://chrpaul.de/about
- For my blog at chrpaul.de
cs2d-webadmin's People
Contributors
Stargazers
cs2d-webadmin's Issues
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.
- 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