Foxhole Global V2.1
The project is currently in a complete disarray, unmaintained and deprecated. Some people still use it.
Build
You can set environment variables by creating ./mysecretenv
as environmentfile. Example:
KEY=90XXXXXXXXXREDACTEDXXXXXXXXXXX47
LINK=https://example.com:3000/
For the steam login you need to specify:
LINK
: URL to this website ending on/
KEY
: steam API key (get from steamcommunity.com/dev/apikey)
Detailed docs for that are at passportjs.org passport-steam.
There is also some discord bot which takes some DISCORD_TOKEN
.
Build and run the server with DOCKER_BUILDKIT=1 docker-compose up --build
. It...
- mounts the
./.data
folder to save the database at - exposes the service on port
1337
Contribute
Please conform to prettier --check src
auto-formatting.
Shortcuts
MAP LIST https://war-service-live.foxholeservices.com/api/worldconquest/maps/
WAR INFO https://war-service-live.foxholeservices.com/api/worldconquest/war
DYNAMIC https://war-service-live.foxholeservices.com/api/worldconquest/maps/DeadLandsHex/dynamic/public
STATIC https://war-service-live.foxholeservices.com/api/worldconquest/maps/DeadLandsHex/static
WAR REPORT https://war-service-live.foxholeservices.com/api/worldconquest/warReport/DeadLandsHex
a bit of warapi documentation