Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WorkAdventure Dialogs Game State Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Zohren
WorkAdventure Dialogs Game State Server
Commits
664ee132
Commit
664ee132
authored
Apr 4, 2021
by
Jonas Zohren
Browse files
Options
Downloads
Patches
Plain Diff
Add basic Readme
parent
5abe24f5
No related branches found
No related tags found
No related merge requests found
Pipeline
#19229
passed
Apr 4, 2021
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-1
14 additions, 1 deletion
README.md
with
14 additions
and
1 deletion
README.md
+
14
−
1
View file @
664ee132
# WorkAdventure Dialogs Game State Server
Simple API-Server to save the state of quests in workadventure
# How it works
-
`HTTP GET /game/state/<someID>`
to load gameState as json from the server
-
`HTTP POST /game/state/<someID>`
to save gameState as json on server
-
Server stores each gameState in a json file. The filename is the sha265-hash of
<someID>
passed in the url.
-
Global ratelimit by IP, Header
`X-Forwarded-For`
is trusted.
# Config
This project uses
[
dotent
](
https://github.com/motdotla/dotenv#readme
)
so you can have a
`.env`
file or pass config to it via environment variables.
The variables and their defaults are listed in
[
`src/config.ts`
](
./src/config.ts
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment