diff --git a/.gitignore b/.gitignore index 52906c2..8d8097f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .idea *.iml .env* -node_modules/ +dayz \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..28d48e3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,35 @@ +FROM debian:bookworm-slim + +# Set debconf to run non-interactively +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections + +# Install _only_ the necessary packages +RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \ + locales \ + nano \ + procps + +# Set the locale +#RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen +#ENV LANG en_US.UTF-8 +#ENV LANGUAGE en_US:en +#ENV LC_ALL en_US.UTF-8 + +# Setup a non-privileged user +ARG USER_ID + +RUN groupadd -g ${USER_ID} user && \ + useradd -l -u ${USER_ID} -m -g user user && \ + mkdir -p /home/user && \ + chown -R user:user /home/user + +ADD --chown=user:user start.sh /usr/bin/start.sh + +# Use our non-privileged user +USER user + +# The dayzserver script expects a home directory to itself. +WORKDIR /home/user + +# Run the container +CMD ["start.sh"] diff --git a/README.md b/README.md index 29fa7c3..3199f0d 100644 --- a/README.md +++ b/README.md @@ -1,272 +1,112 @@ # DayZDockerServer -A Linux [DayZ](https://dayz.com) server in a [Docker](https://docs.docker.com/) container. The main script's functionality is derived from [this project](https://github.com/thelastnoc/dayz-sa_linuxserver). That functionality is described [here](https://steamcommunity.com/sharedfiles/filedetails/?id=1517338673). The goal is to reproduce some of that functionality but also add more features. +A Linux [DayZ](https://dayz.com) server in a [Docker](https://docs.docker.com/) container. -The main goal is to provide a turnkey DayZ server with mod support that can be spun up with as little as a machine running Linux with Docker and Docker Compose installed. +The goal is to provide a vanilla DayZ server that can be spun up with as little as a machine running Linux with Docker and Docker Compose Plugin installed. -This project started when the Linux DayZ server was released for DayZ experimental version 1.14 on 09/02/2021. As of 02/20/2024, there is now an official Linux DayZ server, but... +## Features -## Caveats +This branch is called `simple`, because that's the intent: To keep things simple: -* Some mods are known to crash the server on startup: - * [DayZ Expansion AI](https://steamcommunity.com/sharedfiles/filedetails/?id=2792982069) - * [Red Falcon Flight System Heliz](https://steamcommunity.com/workshop/filedetails/?id=2692979668) - Bug report [here](https://feedback.bistudio.com/T176564) -* Some mods work, but have bugs: - * [DayZ Expansion Groups](https://steamcommunity.com/sharedfiles/filedetails/?id=2792983364) - * The save file becomes corrupted and when the server restarts so the changes do not persist. -* There are other bugs: - * (Server doesn't stop with SIGTERM)[https://feedback.bistudio.com/T170721] - -This project is a work in progress: See the [roadmap](ROADMAP.md). +* One container. The server runs in the same container used to manage it. +* One local bind mount. All files are stored in a directory on the host machine. +* No root requirement. The container and its files are owned by the host user and kept entirely in that user's home directory. +* Everything is left to the user to run by hand using commands similar to the official documentation. ## Configure and Build -Ensure [Docker](https://docs.docker.com/engine/install/) and [Docker compose](https://docs.docker.com/compose/install/) are properly installed. This means setting it up so it runs as your user. Make sure you're running these commands as your user, in your home directory. +Ensure [Docker](https://docs.docker.com/engine/install/) and [Docker compose plugin](https://docs.docker.com/compose/install/) are installed. -Clone the repo, and change into the newly created directory: +Clone the repo, and change into the newly created directory, and check out the `simple` branch: ```shell git clone https://ceregatti.org/git/daniel/dayzdockerserver.git cd dayzdockerserver +git checkout simple ``` -Create a `.env` file for the web container that contains your user id. Usually the `${UID}` shell variable has this: +Create a `.env` file that contains your user id. The output of `id` has it: ```shell -echo "export USER_ID=${UID}" | tee .env +echo "export USER_ID=$(id)" | tee .env ``` -Repeat the above for server1, which uses .env1 (and so on): +Build the Docker image and bring the container up in the background: + ```shell -echo "export USER_ID=${UID}" | tee .env1 +docker compose up -d --build ``` -But each server must also set its own unique ports: +This will bring up a single container where the server will run. + +## Usage + +Everything is done in a shell inside the running container. All commands are run from this shell. Invoke the shell with: + ```shell -echo "export SERVER_PORT=2302" | tee -a .env1 -echo "export RCON_PORT=2303" | tee -a .env1 -echo "export STEAM_PORT=27016" | tee -a .env1 +docker compose exec dayz bash ``` -Repeat the above for each server you want to run, making sure the ports are unique across all servers: -```shell -echo "export USER_ID=${UID}" | tee .env2 -echo "export SERVER_PORT=2312" | tee -a .env2 -echo "export RCON_PORT=2313" | tee -a .env2 -echo "export STEAM_PORT=27116" | tee -a .env2 +A custom prompt will indicate when you are in the container. The prompt will look like this: - -```shell -Build the Docker images: - -```shell -docker compose build +``` +user@dayzdockerserver:~ $ ``` ### Steam Integration -[SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) is used to manage Steam downloads. A vanilla DayZ server can be installed with the `anonymous` Steam user, but most mods cannot. If the goal is to add mods, a real Steam login must be used. Login: +Use [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) to login: -```shell -docker compose run --rm web dz login +```docker +steamcmd +login 'MySteamLogin' +quit ``` -Follow the prompts. Hit enter to accept the default, which is to use the `anonymous` user, otherwise use your real username and keep following the prompts to add your password and Steam Guard code. This process will wait indefinitely until the code is entered. - -The credentials will be managed by [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD). This will store a session token in the `homedir` docker volume. All subsequent SteamCMD commands will use this. so this process does not need to be repeated unless the session expires or the docker volume is deleted. - -To manage the login credentials, simply run the above command again. See [Manage](#manage). +Follow the prompts for the password and Steam Guard code. This process will wait indefinitely until both are entered. Once logged in, this process will not need to be repeated as long as the same username is used for the +login argument and the host directory containing the files is not deleted. ## Install The base server files must be installed before the server can be run: -```shell -docker compose run --rm web dz install + +```docker +steamcmd +login 'MySteamLogin' +force_install_dir /home/user/dayz/serverfiles +app_update 223350 validate +quit ``` This will download about 2.9G of files. -## Run +## Setup -Edit `files/serverDZ.cfg` and set the values of any variables there. See the [documentation](https://forums.dayz.com/topic/239635-dayz-server-files-documentation/) if you want, but most of the default values are fine. At the very least, change the server name: +Edit the server config file. One way is to do it within the container using the `nano` editor, the only one installed in the container: -``` -hostname = "Something other than Server Name"; // Server name +```docker +nano /home/user/dayz/serverfiles/serverDZ.cfg ``` -Install the server config file: +Another option is to edit it directly on the host, as at this point that file is also available there: ```shell -docker compose run --rm server1 dz c +${EDITOR} ~/dayzdockerserver/serverfiles/serverDZ.cfg ``` - -The maintenance of the config file is a work in progress. The goal is to create a facility for merging changes into the config file and maintain a paper trail of changes. - -Launch the stack into the background: -```shell -docker compose up -d -``` - -There will be nothing in mpmissions when a server container starts for the first time. A pristine copy of `dayzOffline.chernarusplus` will be copied from the `mpmission` volume to the server container. This will be the default map. To install other maps, see [Maps](#maps). - -To see the server log: - -```shell -docker compose logs -f server1 -``` -## Stopping the server - -To stop the DayZ server: -```shell -docker compose exec server1 dz stop -``` - -If it exits cleanly, the container will also stop. Otherwise a crash is presumed and the server will restart. Ideally, the server would always exit cleanly, but... it's DayZ. - -To stop the containers: -```shell -docker compose stop -``` - -To bring the entire stack down: -```shell -docker compose down -``` - -## Manage - -### Maps - -Installing another map requires installing its mod and mpmissions files. Some maps maintain github repositories or public web sites for their mpmissions, while others do not. This project aims to support DayZ maps whose mpmissions are easily accessible "Out of the box" by maintaining configuration files for them. - -The following management commands presume the server has been brought [up](#run). - -### RCON - -A terminal-based RCON client is included: https://github.com/indepth666/py3rcon. -The dz script manages what's necessary to configure and run it: - -```shell -docker compose exec server1 dz rcon -``` - -To reset the RCON password in the Battle Eye configuration file, simply delete it, and a random one will be generated on the next server startup: - -```shell -docker compose run --rm server1 rm serverfiles/battleye/baserver_x64_active* -``` - -Don't expect much from this RCON at this time. - -### Update the DayZ server files - -It's probably not a good idea to update the server files while a server is running. Bring everything down first: - -```shell -docker compose down -``` - -Then run the command: - -```shell -docker compose run --rm web dz update -``` - -This will update the server base files as well as all installed mods. - -Don't forget to [bring it back up](#run). - -### Stop the DayZ server - -To stop the server: -```shell -docker compose exec server1 dz stop -``` - -The above sends the SIGINT signal to the server process. The server sometimes fails to stop with this signal. It may be necessary to force stop it with the SIGKILL: - -```shell -docker compose exec server1 dz force -``` - -When the server exits cleanly, i.e. exit code 0, the container also stops. Otherwise, a crash is presumed, and the server will be automatically restarted. - -To bring the entire stack down: -```shell -docker compose down -``` - -### Workshop - Add / List / Remove / Update mods - -Interactive interface for managing mods. +Set the values of any variables there. See the [documentation](https://forums.dayz.com/topic/239635-dayz-server-files-documentation/) if you want, but most of the default values are fine. At the very least, change the server name: ``` -docker compose exec server1 dz activate id | add id1 | deactivate id | list | modupdate | remove id -docker compose exec server1 dz a id | add id1 | d id | l | m | r id +hostname = "My Cool Server"; // Server name ``` -Look for mods in the [DayZ Workshop](https://steamcommunity.com/app/221100/workshop/). Browse to one. In its URL will be -an `id` parameter. Here is the URL to SimpleAutoRun: https://steamcommunity.com/sharedfiles/filedetails/?id=2264162971. To -add it: +## Start -``` -docker compose exec web dz add 2264162971 +Start the server: + +```docker +cd /home/user/dayz/serverfiles +./DayZServer_x64 -config=serverDZ.cfg ``` -Adding and removing mods will add and remove their names from the `-mod=` parameter. +## Stop -Optionally, to avoid re-downloading large mods, the `activate` and `deactivate` workshop commands will -simply disable the mod but keep its files. Keep in mind that mod updates will also update deactivated -mods. - -The above is a bad example, as SimpleAutorun depends on Community Framework, which must also be installed, as well as made to load first. - -### Looking under the hood - -All the server files persist in a docker volume that represents the container's unprivileged user's home directory. Open a bash shell in -the running container: - -``` -docker compose exec web bash +```docker +# Hit control c to stop the server in the shell where it's running in the foreground. ``` -Or open a shell into a new container if the docker stack is not up: -``` -docker compose run --rm web bash -``` +Otherwise, open a new shell in the container and kill the process: -All the files used by the server are in a docker volume. Any change made will be reflected upon the next container startup. - -Use this shell cautiously. - -# Development mode - -Add the following to the `.env` file: - -```shell -export DEVELOPMENT=1 -``` - -Bring the stack down then back up. Now, instead of the server starting when the server container comes up it will simply block, keeping the container up and accessible. - -This allows access to the server container using exec. You can then start and stop the server manually, using `dz`: - -```shell -# Go into the server container -docker compose exec server1 bash -# See what the server status is -dz s -# Start it -dz start -``` - -To stop the server, hit control c. - -Caveat: Some times the server doesn't stop with control c. If that's the case, control z, exit, then `dz f`. YMMV. - -## TODO - -* Create web management tool: - * It shells out to `dz` (for now) for all the heavy lifting. -* Create some way to send messages to players on the server using RCON. -* Implement multiple ids for mod commands. (In progress) +```docker diff --git a/ROADMAP.md b/ROADMAP.md deleted file mode 100644 index f3d69d3..0000000 --- a/ROADMAP.md +++ /dev/null @@ -1,34 +0,0 @@ -# Roadmap - -## 1.0.0 - -* Web interface - * Login to Steam - * Install base files - * Search for mods - * Currently using the Steam Web API, which requires a developer key. - * Add / Remove / Update mods - * Create a server - * Server manager - * Activate / Deactivate mods - * Change mod settings - * Change server settings - * Update server files - * Start / Stop / Restart server - * Start / Stop / Restart server - * Server RCON UI - * Send commands - -* Server management - * Spin up a server - * Activate / Deactivate mods - * Change server settings via a UI - * RCON - * XML / JSON file manager - * Add / remove / update values. - * Validate XML / JSON - - -Unsorted: - -Server status shows storage age, stats \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 9e05112..025fa85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,111 +1,22 @@ -volumes: - # Only in the web container. - # For steamcmd files and resource files used by the scripts. - homedir_main: - # Shared by all containers. - # Mods. - mods: - # Where the server files will be installed - serverfiles: - # Upstream mission files - servermpmissions: - # Server-specific volumes - # For Steam, for now - homedir_server1: - homedir_server2: - # Server mission files - mpmissions1: - mpmissions2: - # Server profile files - profiles1: - profiles2: - services: - - web: + dayz: build: - context: web + context: . args: - USER_ID user: ${USER_ID} volumes: - - homedir_main:/home/user - - serverfiles:/serverfiles - - servermpmissions:/serverfiles/mpmissions - - mods:/serverfiles/steamapps/workshop/content - - mods:/mods - - ./files:/files - - ./web:/web - ports: - - "8001:8001/tcp" - - "8000:8000/tcp" - restart: always - env_file: - - .env - - server1: - build: - context: server - args: - - USER_ID - user: ${USER_ID} - volumes: - # Common volumes - - ./files:/files - - mods:/mods - - ./server:/server - - serverfiles:/serverfiles - - servermpmissions:/mpmissions:ro - # Server-specific volumes - - homedir_server1:/home/user - - mpmissions1:/serverfiles/mpmissions - - profiles1:/profiles - # To have the server show up in the LAN tab of the DayZ launcher, - # it must run under host mode. + - ./dayz:/home/user network_mode: host # The above is mutually exclusive with the below. If you don't need # the server to show up on the LAN, comment out the network_mode above # and uncomment the port mappings below. -# ports: -# # Game port -# - 2302:2302/udp -# # RCON port -# - 2303:2303/udp -# # Steam port -# - 27016:27016/udp - # The server script execs itself when the server exits, unless told not to by `dz stop` - restart: no - # Allows attaching a debugger from the host -# cap_add: -# - SYS_PTRACE - # Allows core files to be created within the container. These are VERY LARGE! Enable only for debugging! - # One must also set the sysctl kernel.core_pattern parameter ON THE HOST to a path that is writable within the container. YMMV -# ulimits: -# core: -# soft: -1 -# hard: -1 + # ports: + # # Game port + # - 2302:2302/udp + # # RCON port + # - 2303:2303/udp + # # Steam port + # - 27016:27016/udp env_file: - - .env1 - - # Copy and paste this for every other server you want to run, replacing 2 with 3, and so on. - server2: # <-- here - build: - context: server - args: - - USER_ID - user: ${USER_ID} - volumes: - # Common volumes - - ./files:/files - - mods:/mods - - ./server:/server - - serverfiles:/serverfiles - - servermpmissions:/mpmissions:ro - # Server-specific volumes - - homedir_server2:/home/user # <-- here - - mpmissions2:/serverfiles/mpmissions # <-- here - - profiles2:/profiles # <-- here - network_mode: host - restart: no - env_file: - - .env2 # <-- here + - .env diff --git a/files/bin/dz-common b/files/bin/dz-common deleted file mode 100755 index ba08f99..0000000 --- a/files/bin/dz-common +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env bash - -set -eEa - -# If you want/need the server and rcon ports to be different, set them here. -# The steam query port is set in serverDZ.cfg. - -# Server port. Set these in the .env file for the container. -export port=${SERVER_PORT} -export rcon_port=${RCON_PORT} - -# Don't change anything else. - -# Colors -export default="\e[0m" -export red="\e[31m" -export green="\e[32m" -export yellow="\e[93m" -export lightblue="\e[94m" -export blue="\e[34m" -export magenta="\e[35m" -export cyan="\e[36m" - -# DayZ release server Steam app ID. -# Now that the Linux server is released, the binaries will come from this ID. -export release_server_appid=223350 - -# Leaving the experimental server appid here to allow for the use of the experimental server. -#export release_server_appid=1042420 - -# DayZ release client SteamID. This is for mods, as only the release client has them. -export release_client_appid=221100 - -# Server container profile directory -export SERVER_PROFILE="/profiles" - -# Common container base directories -export FILES="/files" -export SERVER_FILES="/serverfiles" - -# Used to check if dayZ is installed -export SERVER_INSTALL_FILE="${SERVER_FILES}/DayZServer" - -# Steam files -export STEAM_LOGIN="${HOME}/steamlogin" -export STEAMCMD=steamcmd - -# Other stuff -export YES="${green}yes${default}" -export NO="${red}no${default}" - -# Convenience function -prompt_yn(){ - echo -n "${1} (y|N) " >&2 - read -s -n 1 a - a=$(echo ${a} | tr A-Z a-z) - echo - if [[ "${a}" = "y" ]] - then - return 0 - else - return 1 - fi -} - -# List mods -list(){ - X=1 - C="${green}" - spaces=" " - FIRST=1 - for link in $(ls -d ${SERVER_FILES}/@* 2> /dev/null | sort) - do - if [[ ${FIRST} = 1 ]] - then - echo - echo -e " ID Name URL Size" - echo "------------------------------------------------------------------------------------------------------------------------" - FIRST=0 - fi - ID=$(readlink ${link} | awk -F/ '{print $NF}') - MODNAME=$(get_mod_name ${ID}) - SIZE=$(du -sh "${WORKSHOP_DIR}/${ID}" | awk '{print $1}') - printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}+1}" ${ID} ${SIZE} - X=$((X+1)) - done - echo -} - -# Get mod name by ID or index -get_mod_name(){ - # Check for an ID - if ! [ -d "${WORKSHOP_DIR}/${1}" ] - then - echo "Mod ID ${1} doesn't exist" >&2 - exit 1 - fi - NAME=$(grep name "${WORKSHOP_DIR}/${1}/meta.cpp" | cut -d '"' -f2 | tr -cd "[:alnum:]") - if [[ ${NAME} = "" ]] - then - echo "Could not get metadata. See above. Exiting..." - exit 1 - fi - echo -n ${NAME} -} - -get_mod_id(){ - # If we were passed a valid mod id, just return it - if [ -d "${WORKSHOP_DIR}/${1}" ] - then - echo -n ${1} - return - fi - # If we have a second argument, we want to iterate over active server mods - DIR=${SERVER_FILES} - ARG="-d" - if [[ ${2} = "0" ]] - then - ARG="-tdr" - DIR=${SERVER_PROFILE} - fi -# echo "DIR: ${DIR}, ARG: ${ARG}" >&2 - X=1 - # Loop over mods - for link in $(ls ${ARG} ${DIR}/@* 2> /dev/null) - do - ID=$(readlink ${link} | awk -F/ '{print $NF}') - if [[ "${X}" = "${1}" ]] - then - echo -n ${ID} - return - fi - X=$((X+1)) - done -} - -get_mods(){ - workshoplist="" - for link in $(ls -d ${SERVER_FILES}/@* 2> /dev/null | sort) - do - ID=$(readlink ${link} | awk -F/ '{print $NF}') - MODNAME=$(get_mod_name ${ID}) - workshoplist+=" +workshop_download_item ${release_client_appid} ${ID}" - done - get_mod_command_line -} - -get_mod_command_line(){ - mod_command_line="" - for link in $(ls -tdr ${SERVER_PROFILE}/@* 2> /dev/null) - do - ID=$(readlink ${link} | awk -F/ '{print $NF}') - MODNAME=$(get_mod_name ${ID}) - mod_command_line+="@${MODNAME};" - done - if [[ ${mod_command_line} != "" ]] - then - mod_command_line='-mod='${mod_command_line::-1} - fi -} diff --git a/files/bin/map.sh b/files/bin/map.sh deleted file mode 100755 index 7b53124..0000000 --- a/files/bin/map.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env bash - -set -eE - -TERM="map" -if [[ ${1} =~ ^[0-9]+$ ]] -then - TERM="mod id" -fi - -if [ -f "/files/mods/${1}/map.env" ] -then - source "/files/mods/${1}/map.env" -else - echo "map.env not found for ${TERM} ${1}..." - exit 1 -fi - -if [[ ${2} = "uninstall" ]] -then - echo "Backing up, as uninstalling will remove the ${MAP} mpmissions directory" - dz backup - rm -rf "${SERVER_FILES}/mpmissions/${MPDIR}" -elif [[ ${2} = "update" ]] || [[ ${2} = "install" ]] -then - cd /tmp - if [ -d "${DIR}" ] - then - pushd "${DIR}" > /dev/null - git pull - popd > /dev/null - else - git clone "${REPO}" - fi - rm -rf "${SERVER_FILES}/mpmissions/${MPDIR}" - cp -a "${DIR}/${MPDIR}" "${SERVER_FILES}/mpmissions" -fi diff --git a/files/bin/xml.sh b/files/bin/xml.sh deleted file mode 100755 index c949197..0000000 --- a/files/bin/xml.sh +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/env bash - -# A generic script that retrieves XML files from mods, either upstream in remote endpoints, or -# locally from the downloaded mod directory, or from project files. - -set -eE - -ID=${1} - -if ! [ -f ${FILES}/mods/${ID}/xml.env ] -then - exit 0 -fi - -source ${FILES}/mods/${ID}/xml.env - -# Iterate over the file names we can handle -for i in cfgeventgroups.xml cfgenvironment.xml cfgeventspawns.xml cfggameplay.json cfgspawnabletypes.xml cfgweather.xml events.xml init.c types.xml -do - FILE=$(echo ${i} | cut -d. -f1) - TYPE=$(echo ${i} | cut -d. -f2) - UP=${FILE^^} - VAL=${!UP} - DIR="${WORKSHOP_DIR}/${ID}" - OUT="${DIR}/${i}" - if echo ${VAL} | grep -qE "^http" - then - echo - echo "${i} is a URL, downloading to ${OUT}" - curl -so ${OUT} ${VAL} - elif echo ${VAL} | grep -qE "^local" - then - echo - echo "${i} comes from mod integration, copying to ${OUT}" - echo -n " " - cp -v "${FILES}/mods/${ID}/${i}" "${OUT}" - elif echo ${VAL} | grep -qE "^\./" - then - echo - echo "${FILE} comes from the mod as ${VAL}, copying to ${OUT}" - echo -n " " - cp -v "${DIR}/${VAL}" "${OUT}" - fi - if [ -f ${OUT} ] - then - if [[ ${TYPE} = "xml" ]] - then - xmllint --noout ${OUT} 2> /dev/null && ( - echo -e " ${green}${OUT} passes XML lint test!${default}" - ) || ( - echo -e " ${yellow}${OUT} does not pass XML lint test!${default}" - ) - # TODO - validate against schema - https://github.com/rvost/DayZ-Central-Economy-Schema/tree/master - elif [ "${TYPE}" == "json" ] - then - jq -e . ${OUT} > /dev/null || ( - echo -e " ${yellow}${OUT} does not pass JSON lint test!${default}" - ) && ( - echo -e " ${green}${OUT} passes JSON lint test!${default}" - ) - fi - fi -done - -if [ -f "${FILES}/mods/${ID}/start.sh" ] -then - echo - echo "Copy ${FILES}/mods/${ID}/start.sh -> ${DIR}/start.sh" - cp "${FILES}/mods/${ID}/start.sh" "${DIR}/start.sh" - echo -fi diff --git a/files/custom/README.md b/files/custom/README.md deleted file mode 100644 index df56471..0000000 --- a/files/custom/README.md +++ /dev/null @@ -1,124 +0,0 @@ -# Custom Server Changes - -## These are the custom integrations possible with dayzdockerserver - -### Lowered login/logout time - -To lower the login/logout time from the default 15 seconds. - -Go into the server container: - -```shell -docker compose exec server bash -``` - -Make a new directory in /profiles/custom called login and go into it: - -```shell -mkdir -p /profiles/custom/login -cd /profiles/custom/login -``` - -Generate a globals.xml with the changed values: - -```shell -cat > globals.xml << EOF - - - - - -EOF -``` - -Restart the server. - -### No food - -For a more survival-oriented experience, one can prevent food from spawning in the world, forcing players to hunt and fish for food. - -Food still spawns on the infected and in containers. Any other mod that adds food will also be unaffected. - -Go into the server container: - -```shell -docker compose exec server bash -``` - -Make a new directory in /profiles/custom called no-food and go into it: - -```shell -mkdir -p /profiles/custom/no-food -cd /profiles/custom/no-food -``` - -Generate the types.xml override file from your current mpmissions type.xml (presumes dayzOffline.chernarusplus): - -```shell -xmlstarlet ed \ - -s / -t elem -n food \ - -m "/types/type[category[contains(@name, 'food')]]" "/food" \ - -d /types \ - -r food -v types \ - -u //nominal -v 0 \ - /serverfiles/mpmissions/dayzOffline.chernarusplus/db/types.xml \ - > types.xml -``` - -Always lint any XML file that is created/merged (Any output from this command means there is a problem. No output means the XML file is valid): - -```shell -xmllint --noout types.xml -``` - -Restart the server for the changes to take effect. - -Explanation: -* Start xmlstarlet in edit mode -* Add a new XML node at the root named "food" -* Move all `` nodes where `` root node -* Rename `` to `` -* Set all remaining nodes to have `0` -* Do this for every mpmissions types.xml file (dayzOffline.chernarusplus shown here) -* Save it to a new types.xml file in the current directory, the one we made above. - -This file will now serve as a types.xml override for all food items when the server starts! - -Every directory under /profiles/custom will be added as a new Economy Core entry when the server is started. - -### Change starting gear - -To change player starting gear, using examples from [the BI DayZ Wiki](https://community.bistudio.com/wiki/DayZ:Spawning_Gear_Configuration): - -Go into the server container: - -```shell -docker compose exec server bash -``` - -Copy the custom integration directory: - -```shell -mkdir -p /profiles/custom -cp -a /files/custom/starting-gear /profiles/custom/ -``` - -Restart the server. - -### No personal light - -The personal light is usually configured using the `disablePersonalLight` setting in [serverDZ.cfg](../serverDZ.cfg), but if a cfggameplay.json file is present, which is the default being employed for this project, that setting must be overridden there. To configure the personal light: - -```shell -mkdir -p /profiles/custom -cp -a /files/custom/no-personal-light /profiles/custom -``` - -Restart the server. - -### References - -[BI DayZ Wiki - Spawning Gear Configuration](https://community.bistudio.com/wiki/DayZ:Spawning_Gear_Configuration) - -[BI DayZ Wiki - Central Economy Mission Files Modding](ttps://community.bistudio.com/wiki/DayZ:Central_Economy_mission_files_modding) diff --git a/files/custom/no-personal-light/cfggameplay.json b/files/custom/no-personal-light/cfggameplay.json deleted file mode 100644 index f06027c..0000000 --- a/files/custom/no-personal-light/cfggameplay.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "PlayerData": { - "disablePersonalLight": true - } -} diff --git a/files/custom/starting-gear/cfggameplay.json b/files/custom/starting-gear/cfggameplay.json deleted file mode 100644 index 606bfc5..0000000 --- a/files/custom/starting-gear/cfggameplay.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "PlayerData":{ - "spawnGearPresetFiles": [ - "custom_starting-gear/medic.json", - "custom_starting-gear/military.json", - "custom_starting-gear/vanilla.json" - ] - } -} diff --git a/files/custom/starting-gear/medic.json b/files/custom/starting-gear/medic.json deleted file mode 100644 index d2d6c5e..0000000 --- a/files/custom/starting-gear/medic.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "spawnWeight": 1, - "name": "medic", - "attachmentSlotItemSets": [ - { - "slotName": "shoulderR", - "discreteItemSets": [ - { - "itemType": "PipeWrench", - "spawnWeight": 2, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Crowbar", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8 - }, - "quickBarSlot": 2 - } - ] - }, - { - "slotName": "Vest", - "discreteItemSets": [ - { - "itemType": "PressVest_LightBlue", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Back", - "discreteItemSets": [ - { - "itemType": "TortillaBag", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "CoyoteBag_Green", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - } - ] - }, - { - "slotName": "Eyewear", - "discreteItemSets": [ - { - "itemType": "ThinFramesGlasses", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "", - "spawnWeight": 1 - } - ] - }, - { - "slotName": "Body", - "discreteItemSets": [ - { - "itemType": "MedicalScrubsShirt_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Legs", - "discreteItemSets": [ - { - "itemType": "MedicalScrubsPants_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Feet", - "discreteItemSets": [ - { - "itemType": "WorkingBoots_Yellow", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - } - ], - "discreteUnsortedItemSets": [ - { - "name": "Medic Cargo 1", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 1.0, - "quantityMin": 0.6, - "quantityMax": 0.8 - }, - "complexChildrenTypes": [ - { - "itemType": "FirstAidKit", - "attributes": { - "healthMin": 0.7, - "healthMax": 0.8, - "quantityMin": 0.05, - "quantityMax": 0.1 - }, - "quickBarSlot": 3, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "BloodBagIV", - "BandageDressing" - ] - } - ], - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "Rag", - "SheepSteakMeat" - ] - }, - { - "name": "Medic Cargo 2", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 1.0, - "quantityMin": 0.6, - "quantityMax": 0.8 - }, - "complexChildrenTypes": [ - { - "itemType": "FirstAidKit", - "attributes": { - "healthMin": 0.7, - "healthMax": 0.8, - "quantityMin": 0.05, - "quantityMax": 0.1 - }, - "quickBarSlot": 3, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "TetracyclineAntibiotics", - "BandageDressing" - ] - } - ], - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "Canteen", - "Rag", - "Apple" - ] - } - ] -} \ No newline at end of file diff --git a/files/custom/starting-gear/military.json b/files/custom/starting-gear/military.json deleted file mode 100644 index 6046aa0..0000000 --- a/files/custom/starting-gear/military.json +++ /dev/null @@ -1,337 +0,0 @@ -{ - "spawnWeight": 1, - "name": "Military - AKM", - "characterTypes": [ - "SurvivorF_Judy", - "SurvivorM_Lewis" - ], - "attachmentSlotItemSets": [ - { - "slotName": "shoulderL", - "discreteItemSets": [ - { - "itemType": "AKM", - "spawnWeight": 3, - "attributes": { - "healthMin": 0.5, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1, - "complexChildrenTypes": [ - { - "itemType": "AK_PlasticBttstck", - "attributes": { - "healthMin": 0.4, - "healthMax": 0.6, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "PSO1Optic", - "attributes": { - "healthMin": 0.1, - "healthMax": 0.2, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1, - "simpleChildrenUseDefaultAttributes": true, - "simpleChildrenTypes": [ - "Battery9V" - ] - }, - { - "itemType": "Mag_AKM_30Rnd", - "attributes": { - "healthMin": 0.5, - "healthMax": 0.5, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ], - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "AK_PlasticHndgrd", - "AK_Bayonet" - ] - }, - { - "itemType": "AKM", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1, - "complexChildrenTypes": [ - { - "itemType": "AK_WoodBttstck", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "PSO11Optic", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1, - "simpleChildrenUseDefaultAttributes": true, - "simpleChildrenTypes": [ - "Battery9V" - ] - }, - { - "itemType": "Mag_AKM_30Rnd", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ], - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "AK_WoodHndgrd", - "AK_Bayonet" - ] - } - ] - }, - { - "slotName": "shoulderR", - "discreteItemSets": [ - { - "itemType": "BaseballBat", - "spawnWeight": 2, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Shovel", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8 - }, - "quickBarSlot": 2 - } - ] - }, - { - "slotName": "Vest", - "discreteItemSets": [ - { - "itemType": "PlateCarrierVest", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "PlateCarrierHolster" - ] - } - ] - }, - { - "slotName": "Back", - "discreteItemSets": [ - { - "itemType": "TaloonBag_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "Mag_AKM_Drum75Rnd" - ] - }, - { - "itemType": "TaloonBag_Orange", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3, - "simpleChildrenUseDefaultAttributes": true, - "simpleChildrenTypes": [ - "Mag_AKM_30Rnd", - "Mag_AKM_30Rnd" - ] - } - ] - }, - { - "slotName": "Eyewear", - "discreteItemSets": [ - { - "itemType": "AviatorGlasses", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "", - "spawnWeight": 1 - } - ] - }, - { - "slotName": "Body", - "discreteItemSets": [ - { - "itemType": "GorkaEJacket_Flat", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Legs", - "discreteItemSets": [ - { - "itemType": "GorkaPants_Flat", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Feet", - "discreteItemSets": [ - { - "itemType": "MilitaryBoots_Bluerock", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - } - ], - "discreteUnsortedItemSets": [ - { - "name": "Obelix", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 1.0, - "quantityMin": 0.6, - "quantityMax": 0.8 - }, - "complexChildrenTypes": [ - { - "itemType": "Pot", - "attributes": { - "healthMin": 0.1, - "healthMax": 0.8, - "quantityMin": 0.1, - "quantityMax": 0.1 - }, - "quickBarSlot": -1, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "BoarSteakMeat", - "BoarSteakMeat" - ] - }, - { - "itemType": "Mag_AKM_30Rnd", - "attributes": { - "healthMin": 0.1, - "healthMax": 0.8, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ], - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "Rag", - "BoarSteakMeat", - "BoarSteakMeat", - "BoarSteakMeat", - "FNX45", - "Mag_FNX45_15Rnd", - "AmmoBox_45ACP_25rnd" - ] - }, - { - "name": "Asterix", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.5, - "healthMax": 1.0, - "quantityMin": 0.6, - "quantityMax": 0.8 - }, - "simpleChildrenUseDefaultAttributes": false, - "simpleChildrenTypes": [ - "Canteen", - "Rag", - "Apple", - "AmmoBox_762x39_20Rnd", - "CZ75", - "Mag_CZ75_15Rnd", - "AmmoBox_9x19_25rnd" - ] - } - ] -} diff --git a/files/custom/starting-gear/vanilla.json b/files/custom/starting-gear/vanilla.json deleted file mode 100644 index dcd2b07..0000000 --- a/files/custom/starting-gear/vanilla.json +++ /dev/null @@ -1,769 +0,0 @@ -{ - "spawnWeight": 1, - "name": "Player", - "characterTypes": [ - "SurvivorM_Mirek", - "SurvivorM_Boris", - "SurvivorM_Cyril", - "SurvivorM_Denis", - "SurvivorM_Elias", - "SurvivorM_Francis", - "SurvivorM_Guo", - "SurvivorM_Hassan", - "SurvivorM_Indar", - "SurvivorM_Jose", - "SurvivorM_Kaito", - "SurvivorM_Lewis", - "SurvivorM_Manua", - "SurvivorM_Niki", - "SurvivorM_Oliver", - "SurvivorM_Peter", - "SurvivorM_Quinn", - "SurvivorM_Rolf", - "SurvivorM_Seth", - "SurvivorM_Taiki", - "SurvivorF_Eva", - "SurvivorF_Frida", - "SurvivorF_Gabi", - "SurvivorF_Helga", - "SurvivorF_Irena", - "SurvivorF_Judy", - "SurvivorF_Keiko", - "SurvivorF_Linda", - "SurvivorF_Maria", - "SurvivorF_Naomi", - "SurvivorF_Baty" - ], - "attachmentSlotItemSets": [ - { - "slotName": "Body", - "discreteItemSets": [ - { - "itemType": "TShirt_Beige", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_Black", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_Green", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_OrangeWhiteStripes", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_Red", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_RedBlackStripes", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_White", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "TShirt_Grey", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Legs", - "discreteItemSets": [ - { - "itemType": "CanvasPantsMidi_Beige", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "CanvasPantsMidi_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "CanvasPantsMidi_Grey", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "CanvasPantsMidi_Red", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "CanvasPantsMidi_Violet", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - }, - { - "slotName": "Feet", - "discreteItemSets": [ - { - "itemType": "AthleticShoes_Black", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "AthleticShoes_Blue", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "AthleticShoes_Brown", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "AthleticShoes_Green", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - }, - { - "itemType": "AthleticShoes_Grey", - "spawnWeight": 1, - "attributes": { - "healthMin": 0.45, - "healthMax": 0.65, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": -1 - } - ] - } - ], - "discreteUnsortedItemSets": [ - { - "name": "Cargo1", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Red", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Pear", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo2", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Green", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Pear", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo3", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Yellow", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Pear", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo4", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_White", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Pear", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo5", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Red", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Plum", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo6", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Green", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Plum", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo7", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Yellow", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Plum", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo8", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_White", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Plum", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo9", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Red", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Apple", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo10", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Green", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Apple", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo11", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_Yellow", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Apple", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - }, - { - "name": "Cargo12", - "spawnWeight": 1, - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "complexChildrenTypes": [ - { - "itemType": "BandageDressing", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 2 - }, - { - "itemType": "Chemlight_White", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 1 - }, - { - "itemType": "Apple", - "attributes": { - "healthMin": 1.0, - "healthMax": 1.0, - "quantityMin": 1.0, - "quantityMax": 1.0 - }, - "quickBarSlot": 3 - } - ] - } - ] -} diff --git a/files/messages.xml b/files/messages.xml deleted file mode 100644 index 1fb0cbb..0000000 --- a/files/messages.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - 240 - 1 - The server will restart in #tmin minutes... - - - 1 - 30 - 1 - Welcome to #name! - - diff --git a/files/mods/1602372402/map.env b/files/mods/1602372402/map.env deleted file mode 100644 index cd9c52d..0000000 --- a/files/mods/1602372402/map.env +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -eE - -MAP="DeerIsle" -DIR="DayZ-Deerisle-Stable" -REPO="https://github.com/johnmclane666/${DIR}.git" -MPDIR="empty.deerisle" diff --git a/files/mods/1617874376/xml.env b/files/mods/1617874376/xml.env deleted file mode 100644 index 0bf2ad7..0000000 --- a/files/mods/1617874376/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./info/types.xml diff --git a/files/mods/1646187754/xml.env b/files/mods/1646187754/xml.env deleted file mode 100644 index 1dc617c..0000000 --- a/files/mods/1646187754/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./xml/types.xml diff --git a/files/mods/1710977250/xml.env b/files/mods/1710977250/xml.env deleted file mode 100644 index f01b6ce..0000000 --- a/files/mods/1710977250/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./info/BBP_types.xml diff --git a/files/mods/1891132304/init.c.empty.deerisle b/files/mods/1891132304/init.c.empty.deerisle deleted file mode 100644 index 5003c03..0000000 --- a/files/mods/1891132304/init.c.empty.deerisle +++ /dev/null @@ -1,58 +0,0 @@ ---- init.c 2023-11-17 20:59:30.977503823 +0000 -+++ init.c.new 2023-11-17 21:01:06.501035495 +0000 -@@ -1,46 +1,18 @@ - void main() - { -- //INIT WEATHER BEFORE ECONOMY INIT------------------------ -- //Weather weather = g_Game.GetWeather(); -- //weather.MissionWeather(false); // false = use weather controller from Weather.c -- //weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0); -- //weather.GetRain().Set( 0, 0, 1); -- //weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0); -- -- //INIT ECONOMY-------------------------------------- -- Hive ce = CreateHive(); -- if ( ce ) -- ce.InitOffline(); -- -- //DATE RESET AFTER ECONOMY INIT------------------------- -+ CreateHive(); -+ GetHive().InitOffline(); - int year, month, day, hour, minute; -- int reset_month = 9, reset_day = 20; -- -- GetGame().GetWorld().GetDate(year, month, day, hour, minute); -+ GetGame().GetWorld().GetDate( year, month, day, hour, minute ); - -- if ((month == reset_month) && (day < reset_day)) -- { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -- } -- else -+ //Change here the dates for whatever months you desire -+ if ( month < 12 ) - { -- if ((month == reset_month + 1) && (day > reset_day)) -- { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -- } -- else -- { -- if ((month < reset_month) || (month > reset_month + 1)) -- { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -- } -- } -+ year = 2011; -+ month = 12; -+ day = 25; -+ GetGame().GetWorld().SetDate( year, month, day, hour, minute ); - } -- -- //CEApi TestHive = GetCEApi(); -- //TestHive.ExportProxyProto(); -- //TestHive.ExportProxyData( "8096 0 8096", 16384 ); -- //TestHive.ExportClusterData() ; - } - - class CustomMission: MissionServer diff --git a/files/mods/1964490092/xml.env b/files/mods/1964490092/xml.env deleted file mode 100644 index fb1f7b1..0000000 --- a/files/mods/1964490092/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./types-v6.xml diff --git a/files/mods/1991570984/xml.env b/files/mods/1991570984/xml.env deleted file mode 100644 index d6bf0b7..0000000 --- a/files/mods/1991570984/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./extras/msp_types.xml \ No newline at end of file diff --git a/files/mods/2291785437/xml.env b/files/mods/2291785437/xml.env deleted file mode 100644 index fb188e1..0000000 --- a/files/mods/2291785437/xml.env +++ /dev/null @@ -1,4 +0,0 @@ -CFGSPAWNABLETYPES=https://raw.githubusercontent.com/ExpansionModTeam/DayZ-Expansion-Missions/master/Template/Chernarus/expansion_ce/expansion_spawnabletypes.xml -CFGEVENTSPAWNS=https://raw.githubusercontent.com/ExpansionModTeam/DayZ-Expansion-Missions/master/Template/Chernarus/cfgeventspawns.xml -EVENTS=https://raw.githubusercontent.com/ExpansionModTeam/DayZ-Expansion-Missions/master/Template/Chernarus/expansion_ce/expansion_events.xml -TYPES=https://raw.githubusercontent.com/ExpansionModTeam/DayZ-Expansion-Missions/master/Template/Chernarus/expansion_ce/expansion_types.xml diff --git a/files/mods/2415195639/map.env b/files/mods/2415195639/map.env deleted file mode 100644 index 0e2e69a..0000000 --- a/files/mods/2415195639/map.env +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -eE - -MAP="Banov" -DIR="Banov" -REPO="https://github.com/KubeloLive/${DIR}.git" -MPDIR="empty.banov" diff --git a/files/mods/2443122116/xml.env b/files/mods/2443122116/xml.env deleted file mode 100644 index d3a6347..0000000 --- a/files/mods/2443122116/xml.env +++ /dev/null @@ -1,2 +0,0 @@ -TYPES=./xml_and_clasnames/snafu_types.xml -CFGSPAWNABLETYPES=./xml_and_clasnames/snafuspawnabletypes25percent.xml diff --git a/files/mods/2489196158/xml.env b/files/mods/2489196158/xml.env deleted file mode 100644 index 0bf2ad7..0000000 --- a/files/mods/2489196158/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./info/types.xml diff --git a/files/mods/2663169692/xml.env b/files/mods/2663169692/xml.env deleted file mode 100644 index 9ebe5a3..0000000 --- a/files/mods/2663169692/xml.env +++ /dev/null @@ -1,5 +0,0 @@ -CFGSPAWNABLETYPES=./files/spawnabletypes/mmg_cfgspawnabletypes.xml -# Merge all the XML files into a single types.xml file: -# cd /mods/221100/2663169692/files/types -# xmlmerge -o types.xml *.xml -TYPES=local diff --git a/files/mods/2684950452/xml.env b/files/mods/2684950452/xml.env deleted file mode 100644 index 2d97b61..0000000 --- a/files/mods/2684950452/xml.env +++ /dev/null @@ -1,5 +0,0 @@ -CFGENVIRONMENT=./cfgenvironment.xml -CFGSPAWNABLETYPES=./spawnabletypes.xml -CFGEVENTSPAWNS=./cfgeventspawns.xml -EVENTS=./events.xml -TYPES=./types.xml diff --git a/files/mods/2692979668/xml.env b/files/mods/2692979668/xml.env deleted file mode 100644 index d4572a5..0000000 --- a/files/mods/2692979668/xml.env +++ /dev/null @@ -1,7 +0,0 @@ -CFGSPAWNABLETYPES=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/RFFSHelis_cfgspawnabletypes.xml -#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Banov/RFFSHelis_cfgeventspawns.xml -CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Chernarus/RFFSHelis_cfgeventspawns.xml -#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/DeerIsle/RFFSHelis_cfgeventspawns.xml -#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Namalsk/RFFSHelis_cfgeventspawns.xml -EVENTS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/RFFSHelis_events.xml -TYPES=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Types.XML/RFFSHelis_Types.xml diff --git a/files/mods/2878980498/xml.env b/files/mods/2878980498/xml.env deleted file mode 100644 index fe9bac3..0000000 --- a/files/mods/2878980498/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./extras/types/rag_baseitems.xml diff --git a/files/mods/2906371600/xml.env b/files/mods/2906371600/xml.env deleted file mode 100644 index 9cccf42..0000000 --- a/files/mods/2906371600/xml.env +++ /dev/null @@ -1,4 +0,0 @@ -CFGSPAWNABLETYPES=https://raw.githubusercontent.com/RedFalconKen/RedFalconWatercraft/main/Config%20Files/Event%20Spawn%20Config/cfgspawnabletypes.xml -CFGEVENTSPAWNS=https://github.com/RedFalconKen/RedFalconWatercraft/blob/main/Config%20Files/Event%20Spawn%20Config/DeerIsle/cfgeventspawns.xml -EVENTS=https://raw.githubusercontent.com/RedFalconKen/RedFalconWatercraft/main/Config%20Files/Event%20Spawn%20Config/events.xml -TYPES=https://raw.githubusercontent.com/RedFalconKen/RedFalconWatercraft/main/Config%20Files/Types.XML/RFWC_Types.xml diff --git a/files/mods/2929038098/map.env b/files/mods/2929038098/map.env deleted file mode 100755 index b107384..0000000 --- a/files/mods/2929038098/map.env +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -MAP="Pripyat" -DIR="PripyatMissionFiles" -REPO="https://github.com/FrenchiestFry15/${DIR}.git" -MPDIR="serverMission.Pripyat" diff --git a/files/mods/2950280649/cfgenvironment.xml b/files/mods/2950280649/cfgenvironment.xml deleted file mode 100644 index aa69e54..0000000 --- a/files/mods/2950280649/cfgenvironment.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/2950280649/events.xml b/files/mods/2950280649/events.xml deleted file mode 100644 index 3a8e6a0..0000000 --- a/files/mods/2950280649/events.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - 3 - 0 - 50 - 33 - 15 - 40 - 0 - 0 - - fixed - mixed - 1 - - - - - - diff --git a/files/mods/2950280649/types.xml b/files/mods/2950280649/types.xml deleted file mode 100644 index e536773..0000000 --- a/files/mods/2950280649/types.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - 0 - 1800 - 0 - 0 - -1 - -1 - 100 - - - - 0 - 1800 - 0 - 0 - -1 - -1 - 100 - - - - 0 - 14400 - 0 - 0 - -1 - -1 - 100 - - - - - 0 - 14400 - 0 - 0 - -1 - -1 - 100 - - - - - 0 - 14400 - 0 - 0 - -1 - -1 - 100 - - - - diff --git a/files/mods/2950280649/xml.env b/files/mods/2950280649/xml.env deleted file mode 100644 index f3f80d4..0000000 --- a/files/mods/2950280649/xml.env +++ /dev/null @@ -1,5 +0,0 @@ -# banov, chernarus, livonia, namalsk, yiprit -TERRITORIES=./rat_territories/chernarus/rat_territories.xml -CFGENVIRONMENT=local -TYPES=local -EVENTS=local diff --git a/files/mods/2971190303/cfgeventspawns_deerisle.xml b/files/mods/2971190303/cfgeventspawns_deerisle.xml deleted file mode 100644 index 6a19bb5..0000000 --- a/files/mods/2971190303/cfgeventspawns_deerisle.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/2971190303/xml.env b/files/mods/2971190303/xml.env deleted file mode 100644 index 7b27f64..0000000 --- a/files/mods/2971190303/xml.env +++ /dev/null @@ -1,4 +0,0 @@ -CFGSPAWNABLETYPES=./spawnabletypes.xml -CFGEVENTSPAWNS=./cfgeventspawns_chernarus.xml -#EVENTS=events.xml -#TYPES=types.xml diff --git a/files/mods/2981609048/cfggameplay.json b/files/mods/2981609048/cfggameplay.json deleted file mode 100644 index d56baed..0000000 --- a/files/mods/2981609048/cfggameplay.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "WorldsData":{ - "environmentMinTemps": [-7.0, -5.0, -3.0, -2.0, 0.0, 2.0, 5.0, 10.0, 7.0, 5.0, 1.0, -2.0], - "environmentMaxTemps": [-3.0, -1.0, 2.0, 5.0, 7.0, 10.0, 12.0, 16.0, 13.0, 10.0, 7.0, 2.0] - } -} diff --git a/files/mods/2981609048/cfgweather.xml b/files/mods/2981609048/cfgweather.xml deleted file mode 100644 index 626ae17..0000000 --- a/files/mods/2981609048/cfgweather.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - 13 - - - - diff --git a/files/mods/2981609048/init.c.chernarus b/files/mods/2981609048/init.c.chernarus deleted file mode 100644 index c433712..0000000 --- a/files/mods/2981609048/init.c.chernarus +++ /dev/null @@ -1,54 +0,0 @@ ---- init.c 2023-12-22 09:06:49.416111938 +0000 -+++ init.c.new 2023-12-22 09:08:58.365653156 +0000 -@@ -1,34 +1,19 @@ - void main() - { -- //INIT ECONOMY-------------------------------------- -- Hive ce = CreateHive(); -- if ( ce ) -- ce.InitOffline(); -- -- //DATE RESET AFTER ECONOMY INIT------------------------- -+ CreateHive(); -+ GetHive().InitOffline(); - int year, month, day, hour, minute; -- int reset_month = 9, reset_day = 20; -- GetGame().GetWorld().GetDate(year, month, day, hour, minute); -+ GetGame().GetWorld().GetDate( year, month, day, hour, minute ); - -- if ((month == reset_month) && (day < reset_day)) -+ //Change here the dates for whatever months you desire -+ if ( month < 12 ) - { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -+ year = 2011; -+ month = 12; -+ day = 25; -+ GetGame().GetWorld().SetDate( year, month, day, hour, minute ); - } -- else -- { -- if ((month == reset_month + 1) && (day > reset_day)) -- { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -- } -- else -- { -- if ((month < reset_month) || (month > reset_month + 1)) -- { -- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); -- } -- } -- } --} -+} - - class CustomMission: MissionServer - { -@@ -95,4 +80,4 @@ - Mission CreateCustomMission(string path) - { - return new CustomMission(); --} -\ No newline at end of file -+} diff --git a/files/mods/2981609048/types.xml b/files/mods/2981609048/types.xml deleted file mode 100644 index 03f6d84..0000000 --- a/files/mods/2981609048/types.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - 0 - 1209600 - 0 - 0 - -1 - -1 - 100 - - - - diff --git a/files/mods/2981609048/xml.env b/files/mods/2981609048/xml.env deleted file mode 100644 index 3974fba..0000000 --- a/files/mods/2981609048/xml.env +++ /dev/null @@ -1,4 +0,0 @@ -TYPES=local -INIT=local -CFGGAMEPLAY=local -CFGWEATHER=local diff --git a/files/mods/3029439021/xml.env b/files/mods/3029439021/xml.env deleted file mode 100644 index 86ff591..0000000 --- a/files/mods/3029439021/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./xmls/ugbtypes.xml diff --git a/files/mods/3115714092/README.md b/files/mods/3115714092/README.md deleted file mode 100644 index bb43c98..0000000 --- a/files/mods/3115714092/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# HypeTrain - -## Reference - -The files used to integrate the [HypeTrain mod](https://steamcommunity.com/sharedfiles/filedetails/?id=3115714092) came from -[here](https://steamcommunity.com/workshop/filedetails/discussion/3115714092/4032475029247848861/). - -## Goals - -To spawn exactly one large complete train (7-8 cars) somewhere in Chernarus, in one of many possible locations, and having all cars persist - -Later, to spwan exactly one smaller train in the same manner as above, but then to spawn in more cars over time, in random places. - -## Mod Integration Files - -5 files are required to run the mod. Two are map-specific and the rest are common to all maps: - -These are map-specific. The ones included in this repository are for Chernarus: - -* `cfgeventgroups.xml` - Defines "sets of trains", one for every possible spawn point. -* `cfgeventspawns.xml` - The possible spawn point locations within Chernarus. - -These files are commong to all maps: - -* `cfgspawnabletypes.xml` - -* `events.xml` - An event that spawns a complete train -* `types.xml` - All types from the mod. - -The `start.sh` script is for doing extra stuff, but programatically. See the comments within it for details. - -## Generic Mod Installation (Windows) - -Using the [Central Economy](https://community.bistudio.com/wiki/DayZ:Central_Economy_mission_files_modding) method: - -* Create a new folder in your mpmissions map folder. Name it HypeTrain. -* Put the 3 files common to the server in that folder - -``` -+C:\ - +DayZ Server - +mpmissions - +dayzOffline.chernarusplus - +HypeTrain - -cfgspawnabletypes.xml - -events.xml - -types.xml -``` -Edit the server's `cfgeconomycore.xml` and add the following under ``: - -``` - - - - - -``` - -The other two files must be manually merged to the mpmissions equivalents: diff --git a/files/mods/3115714092/cfgeventgroups.xml b/files/mods/3115714092/cfgeventgroups.xml deleted file mode 100644 index 8030120..0000000 --- a/files/mods/3115714092/cfgeventgroups.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/3115714092/cfgeventspawns.xml b/files/mods/3115714092/cfgeventspawns.xml deleted file mode 100644 index e576048..0000000 --- a/files/mods/3115714092/cfgeventspawns.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/3115714092/cfgspawnabletypes.xml b/files/mods/3115714092/cfgspawnabletypes.xml deleted file mode 100644 index 9603753..0000000 --- a/files/mods/3115714092/cfgspawnabletypes.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/files/mods/3115714092/events.xml b/files/mods/3115714092/events.xml deleted file mode 100644 index 69996b5..0000000 --- a/files/mods/3115714092/events.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 1 - 0 - 0 - 3888000 - 0 - 500 - 500 - 200 - - fixed - child - 1 - - - diff --git a/files/mods/3115714092/start.sh b/files/mods/3115714092/start.sh deleted file mode 100644 index b3c54be..0000000 --- a/files/mods/3115714092/start.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -# This is run in the directory with the target files - -# Remove static trains -xmlstarlet ed -L -d '//eventposdef/event[@name="StaticTrain"]' cfgeventspawns.xml - -# Remove spawn locations of former trains to prevent floating loot on tracks -xmlstarlet ed -L -d '//map/group[starts-with(@name,"Land_Train_")]' mapgrouppos.xml diff --git a/files/mods/3115714092/types.xml b/files/mods/3115714092/types.xml deleted file mode 100644 index f0a8c53..0000000 --- a/files/mods/3115714092/types.xml +++ /dev/null @@ -1,247 +0,0 @@ - - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 0 - 3888000 - 1800 - 0 - -1 - -1 - 100 - - - - 4 - 14400 - 1800 - 2 - -1 - -1 - 100 - - - - - - 5 - 14400 - 1800 - 2 - -1 - -1 - 100 - - - - - - 15 - 14400 - 1800 - 7 - -1 - -1 - 100 - - - - - - 15 - 14400 - 1800 - 7 - -1 - -1 - 100 - - - - - - 15 - 14400 - 1800 - 7 - -1 - -1 - 100 - - - - - - 15 - 14400 - 1800 - 7 - -1 - -1 - 100 - - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 20 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - 14 - 14400 - 0 - 10 - -1 - -1 - 100 - - - - - - - - diff --git a/files/mods/3115714092/xml.env b/files/mods/3115714092/xml.env deleted file mode 100644 index fe147de..0000000 --- a/files/mods/3115714092/xml.env +++ /dev/null @@ -1,6 +0,0 @@ -# The following two files are specific to chernarus, but livonia, and namalsk are also *currently* supported. -CFGEVENTGROUPS=local -CFGEVENTSPAWNS=local -CFGSPAWNABLETYPES=local -TYPES=local -EVENTS=local diff --git a/files/mods/3118784990/xml.env b/files/mods/3118784990/xml.env deleted file mode 100644 index 11d2334..0000000 --- a/files/mods/3118784990/xml.env +++ /dev/null @@ -1 +0,0 @@ -TYPES=./xml/dieseljerrycan_types.xml diff --git a/files/mods/@Banov b/files/mods/@Banov deleted file mode 120000 index 9e5a060..0000000 --- a/files/mods/@Banov +++ /dev/null @@ -1 +0,0 @@ -2415195639 \ No newline at end of file diff --git a/files/mods/@BaseBuildingPlus b/files/mods/@BaseBuildingPlus deleted file mode 120000 index d1f99fd..0000000 --- a/files/mods/@BaseBuildingPlus +++ /dev/null @@ -1 +0,0 @@ -1710977250 \ No newline at end of file diff --git a/files/mods/@CodeLock b/files/mods/@CodeLock deleted file mode 120000 index 5908137..0000000 --- a/files/mods/@CodeLock +++ /dev/null @@ -1 +0,0 @@ -1646187754 \ No newline at end of file diff --git a/files/mods/@DayZBicycle b/files/mods/@DayZBicycle deleted file mode 120000 index dc05f69..0000000 --- a/files/mods/@DayZBicycle +++ /dev/null @@ -1 +0,0 @@ -2971190303 \ No newline at end of file diff --git a/files/mods/@DayZExpansionVehicles b/files/mods/@DayZExpansionVehicles deleted file mode 120000 index ac46ee0..0000000 --- a/files/mods/@DayZExpansionVehicles +++ /dev/null @@ -1 +0,0 @@ -2291785437 \ No newline at end of file diff --git a/files/mods/@DayZRat b/files/mods/@DayZRat deleted file mode 120000 index 7ad01cb..0000000 --- a/files/mods/@DayZRat +++ /dev/null @@ -1 +0,0 @@ -2950280649 \ No newline at end of file diff --git a/files/mods/@DeerIsle b/files/mods/@DeerIsle deleted file mode 120000 index 48a8d7c..0000000 --- a/files/mods/@DeerIsle +++ /dev/null @@ -1 +0,0 @@ -1602372402 \ No newline at end of file diff --git a/files/mods/@DieselJerrycan b/files/mods/@DieselJerrycan deleted file mode 120000 index 91d2e2c..0000000 --- a/files/mods/@DieselJerrycan +++ /dev/null @@ -1 +0,0 @@ -3118784990 \ No newline at end of file diff --git a/files/mods/@HypeTrain b/files/mods/@HypeTrain deleted file mode 120000 index ad627c3..0000000 --- a/files/mods/@HypeTrain +++ /dev/null @@ -1 +0,0 @@ -3115714092 \ No newline at end of file diff --git a/files/mods/@Lightsword b/files/mods/@Lightsword deleted file mode 120000 index 1d74a19..0000000 --- a/files/mods/@Lightsword +++ /dev/null @@ -1 +0,0 @@ -1964490092 \ No newline at end of file diff --git a/files/mods/@MMGMightysMilitaryGear b/files/mods/@MMGMightysMilitaryGear deleted file mode 120000 index 138044c..0000000 --- a/files/mods/@MMGMightysMilitaryGear +++ /dev/null @@ -1 +0,0 @@ -2663169692 \ No newline at end of file diff --git a/files/mods/@MuchStuffPack b/files/mods/@MuchStuffPack deleted file mode 120000 index edabe1a..0000000 --- a/files/mods/@MuchStuffPack +++ /dev/null @@ -1 +0,0 @@ -1991570984 \ No newline at end of file diff --git a/files/mods/@OPBaseItems b/files/mods/@OPBaseItems deleted file mode 120000 index 142c502..0000000 --- a/files/mods/@OPBaseItems +++ /dev/null @@ -1 +0,0 @@ -1617874376 \ No newline at end of file diff --git a/files/mods/@Pripyat b/files/mods/@Pripyat deleted file mode 120000 index 26c7a32..0000000 --- a/files/mods/@Pripyat +++ /dev/null @@ -1 +0,0 @@ -2929038098 \ No newline at end of file diff --git a/files/mods/@RaG_BaseItems b/files/mods/@RaG_BaseItems deleted file mode 120000 index d0d3363..0000000 --- a/files/mods/@RaG_BaseItems +++ /dev/null @@ -1 +0,0 @@ -2878980498 \ No newline at end of file diff --git a/files/mods/@RedFalconFlightSystemHeliz b/files/mods/@RedFalconFlightSystemHeliz deleted file mode 120000 index 04fa5f4..0000000 --- a/files/mods/@RedFalconFlightSystemHeliz +++ /dev/null @@ -1 +0,0 @@ -2692979668 \ No newline at end of file diff --git a/files/mods/@RedFalconWatercraft b/files/mods/@RedFalconWatercraft deleted file mode 120000 index e5070bc..0000000 --- a/files/mods/@RedFalconWatercraft +++ /dev/null @@ -1 +0,0 @@ -2906371600 \ No newline at end of file diff --git a/files/mods/@SNAFU_Weapons b/files/mods/@SNAFU_Weapons deleted file mode 120000 index cfe8702..0000000 --- a/files/mods/@SNAFU_Weapons +++ /dev/null @@ -1 +0,0 @@ -2443122116 \ No newline at end of file diff --git a/files/mods/@SpurglesBagZ b/files/mods/@SpurglesBagZ deleted file mode 120000 index fa29a71..0000000 --- a/files/mods/@SpurglesBagZ +++ /dev/null @@ -1 +0,0 @@ -2489196158 \ No newline at end of file diff --git a/files/mods/@UndergroundBases b/files/mods/@UndergroundBases deleted file mode 120000 index 253cf36..0000000 --- a/files/mods/@UndergroundBases +++ /dev/null @@ -1 +0,0 @@ -3029439021 \ No newline at end of file diff --git a/files/mods/@WinterChernarusV2 b/files/mods/@WinterChernarusV2 deleted file mode 120000 index 94b4f33..0000000 --- a/files/mods/@WinterChernarusV2 +++ /dev/null @@ -1 +0,0 @@ -2981609048 \ No newline at end of file diff --git a/files/mods/@WinterDeerIsle b/files/mods/@WinterDeerIsle deleted file mode 120000 index a340bff..0000000 --- a/files/mods/@WinterDeerIsle +++ /dev/null @@ -1 +0,0 @@ -1891132304 \ No newline at end of file diff --git a/files/mods/@dbo_raptors b/files/mods/@dbo_raptors deleted file mode 120000 index 26c84be..0000000 --- a/files/mods/@dbo_raptors +++ /dev/null @@ -1 +0,0 @@ -2684950452 \ No newline at end of file diff --git a/files/mods/README.md b/files/mods/README.md deleted file mode 100644 index bcad425..0000000 --- a/files/mods/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Mods - -## Custom mod integrations - -The goal is to provide the ability to quickly and easily integrate a mod's extra files: - -* Custom map mods that require mission files to be installed. -* Mods that require extra files to be merged into mission files. -* Mods that require extra integration steps in the profiles directory. - -### [Banov](https://steamcommunity.com/sharedfiles/filedetails/?id=2415195639) - -A custom map mod. The integration script installs the mission files from their github. - -### [Raptors](https://steamcommunity.com/sharedfiles/filedetails/?id=2684950452) - -... - -### [Red Falcon Flight System Heliz](https://steamcommunity.com/sharedfiles/filedetails/?id=2692979668) - -A mod that adds helicopters. The integration merges `types.xml`, `events.xml`, `cfgspawnabletypes.xml`, and `cfgeventspawns.xml` into the mission files. This allows for configuring spawn points on all the [supported maps](https://github.com/RedFalconKen/RedFalconFlightSystem-Heliz/tree/main/Config%20Files/Event%20Spawn%20Config), what helicopters spawn, how many, their parts, etc.. diff --git a/files/mods/enoch/map.env b/files/mods/enoch/map.env deleted file mode 100644 index 7c2a888..0000000 --- a/files/mods/enoch/map.env +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -MAP="Enoch" -DIR="DayZ-Central-Economy" -REPO="https://github.com/BohemiaInteractive/${DIR}.git" -MPDIR="dayzOffline.enoch" diff --git a/files/serverDZ.cfg b/files/serverDZ.cfg deleted file mode 100644 index 2d8685c..0000000 --- a/files/serverDZ.cfg +++ /dev/null @@ -1,96 +0,0 @@ -hostname = "Something other than Server Name"; // Server name - -password = ""; // Password to connect to the server -passwordAdmin = ""; // Password to become a server admin - -maxPlayers = 60; // Maximum amount of players - -verifySignatures = 2; // Verifies .pbos against .bisign files. (only 2 is supported) - -forceSameBuild = 0; // When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1) - -disableVoN = 0; // Enable/disable voice over network (value 0-1) -vonCodecQuality = 30; // Voice over network codec quality, the higher the better (values 0-30) - -disable3rdPerson=0; // Toggles the 3rd person view for players (value 0-1) -disableCrosshair=1; // Toggles the cross-hair (value 0-1) - -serverTime="SystemTime"; // Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" . -serverTimeAcceleration=3; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour. -serverNightTimeAcceleration = 4; // Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. - // Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. - // An entire night would pass in 3 hours. - -serverTimePersistent=1; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value. - -guaranteedUpdates=1; // Communication protocol used with game server (use only number 1) - -loginQueueConcurrentPlayers=5; // The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time. -loginQueueMaxPlayers=500; // The maximum number of players that can wait in login queue - -instanceId = 1; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files -storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) -motd[] = {"", ""}; // Message of the day displayed in the in-game chat - -respawnTime = 0; // Sets the respawn delay (in seconds) before the player is able to get a new character on the server, when the previous one is dead -motdInterval = 300; // Time interval (in seconds) between each message -maxPing= 200; // Max ping value until server kick the user (value in milliseconds) - -timeStampFormat = "Short"; // Format for timestamps in the .rpt file (value Full/Short) -logAverageFps = 3600; // Logs the average server FPS (value in seconds), needs to have -dologs launch parameter active -logMemory = 3600; // Logs the server memory usage (value in seconds), needs to have the -dologs launch parameter active -logPlayers = 3600; // Logs the count of currently connected players (value in seconds), needs to have the -dologs launch parameter active -logFile = "server_console.log"; // Saves the server console log to a file in the folder with the other server logs - -adminLogPlayerHitsOnly = 0; // 1 - log player hits only / 0 - log all hits ( animals/infected ) -adminLogPlacement = 0; // 1 - log placement action ( traps, tents ) -adminLogBuildActions = 0; // 1 - log basebuilding actions ( build, dismantle, destroy ) -adminLogPlayerList = 0; // 1 - log periodic player list with position every 5 minutes - -enableDebugMonitor = 0; // shows info about the character using a debug window in a corner of the screen (value 0-1) - -steamQueryPort = 27016; // defines Steam query port, should fix the issue with server not being visible in client server browser - -allowFilePatching = 1; // if set to 1 it will enable connection of clients with "-filePatching" launch parameter enabled - -simulatedPlayersBatch = 20; // Set limit of how much players can be simulated per frame (for server performance gain) - -multithreadedReplication = 1; // enables multi-threaded processing of server's replication system - // number of worker threads is derived by settings of jobsystem in dayzSettings.xml by "maxcores" and "reservedcores" parameters (value 0-1) - -speedhackDetection = 1; // enable speedhack detection, values 1-10 (1 strict, 10 benevolent, can be float) - -networkRangeClose = 20; // network bubble distance for spawn of close objects with items in them (f.i. backpacks), set in meters, default value if not set is 20 -networkRangeNear = 150; // network bubble distance for spawn (despawn +10%) of near inventory items objects, set in meters, default value if not set is 150 -networkRangeFar = 1000; // network bubble distance for spawn (despawn +10%) of far objects (other than inventory items), set in meters, default value if not set is 1000 -networkRangeDistantEffect = 4000; // network bubble distance for spawn of effects (currently only sound effects), set in meters, default value if not set is 4000 - -defaultVisibility=1375; // highest terrain render distance on server (if higher than "viewDistance=" in DayZ client profile, clientside parameter applies) -defaultObjectViewDistance=1375; // highest object render distance on server (if higher than "preferredObjectViewDistance=" in DayZ client profile, clientside parameter applies) - -lightingConfig = 1; // 0 for brighter night, 1 for darker night -disablePersonalLight = 1; // disables personal light for all clients connected to server - -disableBaseDamage = 0; // set to 1 to disable damage/destruction of fence and watchtower -disableContainerDamage = 0; // set to 1 to disable damage/destruction of tents, barrels, wooden crate and seachest -disableRespawnDialog = 0; // set to 1 to disable the respawn dialog (new characters will be spawning as random) - -lootHistory = 1; // How many persistence history files should be kept by instance, number is looped over during save -storeHouseStateDisabled = false; // Disable houses/doors persistence (value true/false), usable in case of problems with persistence - -enableCfgGameplayFile = 1; - -// Mission to load on server startup. . -class Missions -{ - class DayZ - { - template="dayzOffline.chernarusplus"; // Chernarus -// template="dayzOffline.enoch"; // Livonia -// template="empty.banov"; // Banov -// template="empty.deerisle"; // Deer Isle -// template="serverMission.Pripyat"; // Pripyat -// template="hardcore.namalsk"; // Hardcore Namalsk -// template="regular.namalsk"; // Regular Namalsk - }; -}; diff --git a/server/Dockerfile b/server/Dockerfile deleted file mode 100644 index d90635b..0000000 --- a/server/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -FROM debian:bookworm-slim - -# Replace shell with bash so we can source files -RUN rm /bin/sh && ln -s /bin/bash /bin/sh - -# Set debconf to run non-interactively -RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections - -# Add backports and contrib -RUN sed -i /etc/apt/sources.list.d/debian.sources -e 's/Components: main/Components: main contrib non-free/g' - -# Install _only_ the necessary packages -RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \ - binutils \ - gwenhywfar-tools \ - jq \ - libxml2-utils \ - locales \ - nano \ - patch \ - procps \ - wget \ - xmlstarlet - -# Set the locale -RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 - -# Add our scripts directory to PATH -ENV PATH /files/bin:/server/bin:${PATH} - -# Setup a non-privileged user -ARG USER_ID - -RUN groupadd -g ${USER_ID} user && \ - useradd -l -u ${USER_ID} -m -g user user && \ - mkdir -p /home/user /serverfiles/mpmissions /mods /mpmissions /profiles && \ - chown -R user:user /home/user /serverfiles /mods /mpmissions /profiles - -# Use our non-privileged user -USER user - -# The dayzserver script expects a home directory to itself. -WORKDIR /home/user - -# Run the server. The use of both ENTRYPOINT and CMD is to allow for development mode. -ENTRYPOINT ["entrypoint.sh"] -CMD ["start.sh"] diff --git a/server/bin/dz b/server/bin/dz deleted file mode 100755 index 99c0edf..0000000 --- a/server/bin/dz +++ /dev/null @@ -1,699 +0,0 @@ -#!/usr/bin/env bash - -source dz-common - -# Server container base directories -MPMISSIONS="${SERVER_FILES}/mpmissions" - -mkdir -p ${SERVER_PROFILE}/battleye - -# Server configuration file -SERVER_CFG_FILE="serverDZ.cfg" -SERVER_CFG_DST="${SERVER_PROFILE}/${SERVER_CFG_FILE}" -SERVER_CFG_SRC="${FILES}/${SERVER_CFG_FILE}" -SERVER_CFG_SAVE="${SERVER_PROFILE}/${SERVER_CFG_FILE}.save" - -# Command line parameters except mod, as that is handled separately. -parameters="-config=${SERVER_CFG_DST} -port=${port} -freezecheck -BEpath=${SERVER_PROFILE}/battleye -profiles=${SERVER_PROFILE} -nologs" - -# Where mods are installed. -WORKSHOP_DIR="/mods/${release_client_appid}" - -# Backups -BACKUP_DIR="${HOME}/backup" -if [ ! -d "${BACKUP_DIR}" ] -then - mkdir -p "${BACKUP_DIR}" -fi - -mod_command_line="" - -# Functions - -# Usage -usage(){ - echo -e " -${red}Bad option or arguments! ${yellow}${*}${default} - -Usage: ${green}$(basename $0)${yellow} option [ arg1 [ arg2 ] ] - -Options and arguments: - - a|activate id - Activate an installed DayZ Workshop items by id or index - b|backup - Backup the mission storage files in all mission directories - c|config - Update the internal serverDZ.cfg file from files/serverDZ.cfg on the host. Presents a unified diff if the internal file doesn't match the host file - d|deactivate id - Deactivate an installed DayZ Workshop items by id or index - Keeps the mod files but excludes it from the mod parameter - f|force - Forcibly kill the server. Use only as a last resort if the server won't shut down - l|list - List Workshop items and their details - n|rcon - Connect to the server using a python RCON client - r|restart - Restart the server without restarting the container - s|status - Shows the server's status: Running, uptime, mods, parameters, mod parameter, etc. - stop - Stop the server - w|wipe - Wipes the current storage_1 -${default}" - exit 1 -} - -loadconfig(){ - if [ ! -f "${SERVER_INSTALL_FILE}" ] - then - echo - echo -e "The DayZ server files are not installed. You need to do this first in the web UI." - echo - exit 1 - fi - # Handle the initial server configuration file - if [ ! -f ${SERVER_CFG_SAVE} ] - then - echo "Creating initial server configuration file" - cp "${SERVER_CFG_SRC}" "${SERVER_CFG_SAVE}" - fi - # battleye config and rconpassword setup - # The server creates a new file from this file, which it then uses. - # Let's make sure to delete it first - BE_SERVER_FILE="${SERVER_PROFILE}/battleye/beserver_x64.cfg" - ALT_BE_SERVER_FILE=$(find ${SERVER_PROFILE}/battleye -name "beserver_x64_active*") - if [ ! -f "${BE_SERVER_FILE}" ] && [ ! -f "${ALT_BE_SERVER_FILE}" ] - then - passwd=$(openssl rand -base64 8 | tr -dc 'A-Za-z0-9') - if [ "${passwd}" == "" ] - then - passwd=$(< /dev/urandom tr -dc 'A-Za-z0-9' | head -c10) - fi - if [ "${passwd}" == "" ] - then - printf "[ ${red}FAIL${default} ] Could not generate a passwort for RCON!\n" - exit 1 - else - cat > "${BE_SERVER_FILE}" < /dev/null - mv -v *.log *.RPT *.mdmp ${DIR} 2> /dev/null || true - popd > /dev/null -} - -mergexml(){ - echo - - # Bring all base files into the working directories. - - # Copy the pristine files from upstream - echo -e "${green}Copying upstream files into local mpmissions for map ${MAP}${default}": - find /mpmissions/${MAP} \( \ - -name "cfgeconomycore.xml" \ - -o -name "cfgenvironment.xml" \ - -o -name "cfgeventgroups.xml" \ - -o -name "cfgeventspawns.xml" \ - -o -name "cfggameplay.json" \ - -o -name "cfgweather.xml" \ - -o -name "init.c" \ - \) -exec cp -v {} ${SERVER_FILES}{} \; - - # Same for any files in the db subdirectory we may modify - find /mpmissions/${MAP}/db \( \ - -name "messages.xml" \ - \) -exec cp -v {} ${SERVER_FILES}{} \; - - # For now let's just replace the file instead of merging, as the upstream file has nothing in it. - if [ -f ${FILES}/messages.xml ] - then - cp -v ${FILES}/messages.xml ${MPMISSIONS}/${MAP}/db/messages.xml - fi - - echo - - # Remove previously copied keys and restore the default key - echo -e "${green}Resetting keys${default}" - mv ${SERVER_FILES}/keys/dayz.bikey /tmp - rm -rf ${SERVER_FILES}/keys/* - mv /tmp/dayz.bikey ${SERVER_FILES}/keys - - # Copy all active mod keys - for link in $(ls -tdr ${SERVER_PROFILE}/@* 2> /dev/null) - do - ID=$(readlink ${link} | awk -F/ '{print $NF}') - MODNAME=$(get_mod_name ${ID}) - echo -n "Copying key file(s) for mod ${MODNAME}: " - find ${WORKSHOP_DIR}/${ID} -name "*.bikey" -exec cp -v {} "${SERVER_FILES}/keys/" \; - done - - # Follow https://community.bistudio.com/wiki/DayZ:Central_Economy_mission_files_modding - # Remove any existing files, via the mod_ and custom_ prefixes - rm -rf ${MPMISSIONS}/${MAP}/mod_* - rm -rf ${MPMISSIONS}/${MAP}/custom_* - for link in $(ls -tdr ${SERVER_PROFILE}/@* 2> /dev/null) - do - ID=$(readlink ${link} | awk -F/ '{print $NF}') - C="" - FOUND=0 - # This loop handles Central Economy files - # A matrix of file names -> root node -> child node permutations - for i in "CFGSPAWNABLETYPES:spawnabletypes:type" "EVENTS:events:event" "TYPES:types:type" - do - var=$(echo ${i} | cut -d: -f1) - CHECK=$(echo ${i} | cut -d: -f2) - CHILD=$(echo ${i} | cut -d: -f3) - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.xml" ] - then - if [[ ${FOUND} = 0 ]] - then - MODNAME=$(get_mod_name ${ID}) - echo - echo -e "${green}Adding mod integration ${MODNAME}${default}" - FOUND=1 - fi - echo -n "Copy " - mkdir -p ${MPMISSIONS}/${MAP}/mod_${ID} - cp -v ${WORKSHOP_DIR}/${ID}/${var,,}.xml ${MPMISSIONS}/${MAP}/mod_${ID}/${var,,}.xml - C+="-s / -t elem -n file -a /file -t attr -n name -v ${var,,}.xml -a /file -t attr -n type -v ${CHECK} -m /file /ce " - fi - done - if [[ ${C} != "" ]] - then - # Merge into the current mpmissions file - echo "Create new XML node -> ${MPMISSIONS}/${MAP}/cfgeconomycore.xml" - find ${MPMISSIONS}/${MAP} -name cfgeconomycore.xml -exec \ - xmlstarlet ed -L -s / -t elem -n ce \ - -a /ce -t attr -n folder -v "mod_${ID}" ${C} \ - -m /ce /economycore {} \; - fi - # These are merged directly into the upstream file - for i in "CFGEVENTGROUPS:eventgroupdef:group" "CFGEVENTSPAWNS:eventposdef:event" "CFGENVIRONMENT:env:territories/territory" - do - var=$(echo ${i} | cut -d: -f1) - CHECK=$(echo ${i} | cut -d: -f2) - CHILD=$(echo ${i} | cut -d: -f3) - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.xml" ] - then - echo "Merge XML ${WORKSHOP_DIR}/${ID}/${var,,}.xml -> ${MPMISSIONS}/${MAP}/${var,,}.xml" - rm -f /tmp/x /tmp/y - xmlmerge -o /tmp/x ${WORKSHOP_DIR}/${ID}/${var,,}.xml ${MPMISSIONS}/${MAP}/${var,,}.xml - xmlstarlet fo /tmp/x > /tmp/y - # Ensure the XML is valid - xmllint --noout /tmp/y || ( - echo - echo "Merged XML file ${MPMISSIONS}/${MAP}/${var,,}.xml is not valid! Can't continue!" - echo - exit 1 - ) - mv /tmp/y ${MPMISSIONS}/${MAP}/${var,,}.xml - fi - done - # These are merged directly into the upstream file, but are JSON - for var in "CFGGAMEPLAY" - do - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.json" ] - then - if [[ ${FOUND} = 0 ]] - then - MODNAME=$(get_mod_name ${ID}) - echo - echo -e "${green}Adding mod integration ${MODNAME}${default}" - FOUND=1 - fi - echo "Merge JSON '${WORKSHOP_DIR}/${ID}/${var,,}.json' -> '${MPMISSIONS}/${MAP}/${var,,}.json'" - rm -f /tmp/x /tmp/y - jq -s '.[0] * .[1]' ${MPMISSIONS}/${MAP}/${var,,}.json ${WORKSHOP_DIR}/${ID}/${var,,}.json > /tmp/x - mv /tmp/x ${MPMISSIONS}/${MAP}/${var,,}.json - fi - done - # These are merged directly into the upstream file, but are C - for var in "INIT" - do - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.c.${MAP}" ] - then - if [[ ${FOUND} = 0 ]] - then - MODNAME=$(get_mod_name ${ID}) - echo - echo -e "${green}Adding mod integration ${MODNAME}${default}" - FOUND=1 - fi - echo "Patch '${WORKSHOP_DIR}/${ID}/${var,,}.c(.diff)' -> '${MPMISSIONS}/${MAP}/${var,,}.c'" - patch -s -p0 ${MPMISSIONS}/${MAP}/${var,,}.c.${MAP} < ${WORKSHOP_DIR}/${ID}/${var,,}.c || ( - echo "Patch failed!" - exit 1 - ) - fi - done - # These are copied verbatim - for var in "CFGWEATHER" - do - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.xml" ] - then - if [[ ${FOUND} = 0 ]] - then - MODNAME=$(get_mod_name ${ID}) - echo - echo -e "${green}Adding mod integration ${MODNAME}${default}" - FOUND=1 - fi - echo "Copy -> '${WORKSHOP_DIR}/${ID}/${var,,}.xml' -> '${MPMISSIONS}/${MAP}/${var,,}.xml'" - cp ${WORKSHOP_DIR}/${ID}/${var,,}.xml ${MPMISSIONS}/${MAP}/${var,,}.xml - fi - done - # Here are where start actions happen - if [ -f "${WORKSHOP_DIR}/${ID}/start.sh" ] - then - echo "Running start script -> ${WORKSHOP_DIR}/${ID}/start.sh" - pushd ${MPMISSIONS}/${MAP} > /dev/null - bash -x "${WORKSHOP_DIR}/${ID}/start.sh" - popd > /dev/null - fi - done - if [ -d ${SERVER_PROFILE}/custom ] - then - for dir in $(ls ${SERVER_PROFILE}/custom 2> /dev/null) - do - FOUND=0 - C="" - for i in "CFGEVENTGROUPS:eventgroupdef:group" "CFGSPAWNABLETYPES:spawnabletypes:type" "EVENTS:events:event" "TYPES:types:type" "GLOBALS:globals:var" - do - var=$(echo ${i} | cut -d: -f1) - CHECK=$(echo ${i} | cut -d: -f2) - CHILD=$(echo ${i} | cut -d: -f3) - if [ -f "${SERVER_PROFILE}/custom/${dir}/${var,,}.xml" ] - then - if [[ ${FOUND} = 0 ]] - then - echo - echo -e "${green}Adding custom integration ${dir}${default}" - FOUND=1 - fi - mkdir -p ${MPMISSIONS}/${MAP}/custom_${dir} - echo -n "Copy " - cp -v ${SERVER_PROFILE}/custom/${dir}/${var,,}.xml ${MPMISSIONS}/${MAP}/custom_${dir}/${var,,}.xml - C+="-s / -t elem -n file -a /file -t attr -n name -v ${var,,}.xml -a /file -t attr -n type -v ${CHECK} -m /file /ce " - fi - done - if [[ ${C} != "" ]] - then - # Merge into the current mpmissions file - echo "Create new XML node -> ${MPMISSIONS}/${MAP}/cfgeconomycore.xml" - find ${MPMISSIONS}/${MAP} -name cfgeconomycore.xml -exec \ - xmlstarlet ed -L -s / -t elem -n ce \ - -a /ce -t attr -n folder -v "custom_${dir}" ${C} \ - -m /ce /economycore {} \; - fi - # These are merged directly into the upstream file, but are JSON - for var in "CFGGAMEPLAY" - do - if [ -f "${SERVER_PROFILE}/custom/${dir}/${var,,}.json" ] - then - if [[ ${FOUND} = 0 ]] - then - echo - echo -e "${green}Adding custom integration ${dir}${default}" - FOUND=1 - fi - echo "Merge JSON '${SERVER_PROFILE}/custom/${dir}/${var,,}.json' -> '${MPMISSIONS}/${MAP}/${var,,}.json'" - rm -f /tmp/x /tmp/y - jq -s '.[0] * .[1]' ${MPMISSIONS}/${MAP}/${var,,}.json ${SERVER_PROFILE}/custom/${dir}/${var,,}.json > /tmp/x - mv /tmp/x ${MPMISSIONS}/${MAP}/${var,,}.json - fi - done - if [[ ${FOUND} = 1 ]] - then - # Copy any other files in the mod directory into a custom directory under mpmissions - mkdir -p ${MPMISSIONS}/${MAP}/custom_${dir} - for file in $(ls ${SERVER_PROFILE}/custom/${dir} 2> /dev/null) - do - if ! [ -f ${MPMISSIONS}/${MAP}/custom_${dir}/${file} ] - then - echo -n "Additional Copy " - cp -av ${SERVER_PROFILE}/custom/${dir}/${file} ${MPMISSIONS}/${MAP}/custom_${dir} - fi - done - fi - done - fi -} - -# Start the server in the foreground -start(){ - # If we're developing, just block the container - if [[ ${DEVELOPMENT} = "1" ]] && [[ ${DONT_START} = "" ]] - then - echo "DEVELOPMENT mode, blocking. Unset DEVELOPMENT in the current environment to run the server." - trap ' - echo "Caught SIGTERM/SIGINT..." - exit 0 - ' SIGTERM SIGINT - while [ true ] - do - sleep 1 - done - exit 0 - fi - # Clean up from previous runs - rm -f ${SERVER_FILES}/dont_restart - # Ensure mpmissions has at least one map. If not, copy it from the local read-only volume that stores pristine mpmissons directories - if [ ! -d "${MPMISSIONS}/${MAP}" ] && [ -d "/mpmissions/${MAP}" ] - then - echo - echo "Performing one-time copy of ${MAP} mpmissions..." - echo - cp -av /mpmissions/${MAP} ${MPMISSIONS} - fi - get_mods - mergexml - if [[ ${DONT_START} != "" ]] - then - echo - echo "Not starting server, as DONT_START is set" - echo - exit 0 - fi - echo - cd ${SERVER_FILES} - # Run the server. Allow docker to restart the container if the script exits with a code other than 0. This is so we can - # safely shut the container down without killing the server within. - printf "[ ${green}DayZ${default} ] Server starting...\n" - # Save the mod command line and parameters that were used to start the server, so status reflects the running server's - # actual status with those - echo ${mod_command_line} > /tmp/mod_command_line - echo ${parameters} > /tmp/parameters - # Add the steam port from the environment - cp -a "${SERVER_CFG_SAVE}" "${SERVER_CFG_DST}" - sed -e "s,^steamQueryPort.*,steamQueryPort = ${STEAM_PORT};," -i "${SERVER_CFG_DST}" - ./DayZServer "${mod_command_line}" ${parameters} - EXIT_CODE=$? - printf "\n[ ${yellow}DayZ${default} ] Server exited. Exit code: ${EXIT_CODE}\n" - report - if [ -f ${SERVER_FILES}/dont_restart ] - then - printf "\n[ ${red}DayZ${default} ] Server script exiting, container shutting down...\n" - else - printf "\n[ ${green}DayZ${default} ] Restarting server\n" - exec dz start - fi - exit 0 -} - -# Restarts the server by forcing an exit code other than 0, causing docker to restart the container. -restart(){ - echo "Restarting DayZ server..." - kill -TERM $(pidof DayZServer) -} - -# Stops the server but does not restart it. -stop(){ - echo "Stopping DayZ server..." - touch "${SERVER_FILES}/dont_restart" - kill -TERM $(pidof DayZServer) -} - -# Forcibly kill the server, should it be necessary. -force(){ - echo "Forcibly stopping DayZ server..." - kill -KILL $(pidof DayZServer) -} - -# Handle any changes in the server config file by allowing them to be merged after viewing a diff. -config(){ - if ! diff -q "${SERVER_CFG_SAVE}" "${SERVER_CFG_SRC}" - then - echo "=========================================================================" - diff -Nau --color "${SERVER_CFG_SAVE}" "${SERVER_CFG_SRC}" | more - echo "=========================================================================" - if prompt_yn "The new server configuration file differs from what's installed. Use it?" - then - echo "Updating the server configuration file" - cp "${SERVER_CFG_SRC}" "${SERVER_CFG_SAVE}" - else - echo "NOT updating the server configuration file" - fi - else - echo "No differences found between ${SERVER_CFG_SRC} and ${SERVER_CFG_SAVE}" - fi -} - -# Activate / Deactivate a mod -activate(){ - # W(hich?) a or d - W=${1} - # Pop that off so we can loop over the rest - shift - # Default values are when activating - WW="" - COLOR="${green}" - if [[ ${W} = 0 ]] - then - # Deactivating instead - WW="de" - COLOR="${red}" - fi - # Check if the first argument is the word 'all' - if [[ ${1} = 'all' ]] - then - Q=$(ls -la ${SERVER_PROFILE}/@* | wc -l) - M=$(seq ${Q} | tac) - else - M="${@}" - fi - # Loop over the rest of the argument(s) - for i in ${M} - do - # Get the mod id and name - ID=$(get_mod_id ${i} ${W}) - MODNAME=$(get_mod_name ${ID}) - # Toggle state or report nothing burger - pushd "${SERVER_PROFILE}" > /dev/null - if [[ ${W} = 0 ]] && [ -L "${SERVER_PROFILE}/@${MODNAME}" ] - then - echo -n "Removing mod symlink: " - rm -vf "${SERVER_PROFILE}/@${MODNAME}" - elif [[ ${W} = 1 ]] - then - echo -n "Creating mod symlink: " - ln -sfv "${WORKSHOP_DIR}/${ID}" "${SERVER_PROFILE}/@${MODNAME}" - else - echo -e "Mod id ${ID} - ${COLOR}${MODNAME}${default} - is already ${WW}active" - fi - echo -e "Mod id ${ID} - ${COLOR}${MODNAME}${default} ${WW}activated" - popd > /dev/null - done - status -} - -# List mods -activelist(){ - X=1 - C="${green}" - spaces=" " - have=no - for link in $(ls -tdr ${SERVER_PROFILE}/@* 2> /dev/null) - do - if [[ ${have} = "no" ]] - then - have="yes" - echo -e "\n ID Name URL Size" - echo "------------------------------------------------------------------------------------------------------------------------" - fi - ID=$(readlink ${link} | awk -F/ '{print $NF}') - MODNAME=$(get_mod_name ${ID}) - SIZE=$(du -sh "${WORKSHOP_DIR}/${ID}" | awk '{print $1}') - printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}+1}" ${ID} ${SIZE} - X=$((X+1)) - done - if [[ ${have} = "no" ]] - then - echo -ne "${red}none${default}" - fi -} - -get_map_name(){ - MAP="none" - # Map name - if [[ -f ${SERVER_CFG_SAVE} ]] - then - MAP=$(grep -E "template=" ${SERVER_CFG_SAVE} | grep -vE "^//" | cut -d= -f2 | cut -d\; -f1 | tr -d '"') - fi - echo ${MAP} -} - -# Display the status of everything -status(){ - loadconfig - INSTALLED="${NO}" - RUNNING="${NO}" - - # DayZ Server files installation - if [ -f "${SERVER_INSTALL_FILE}" ] - then - INSTALLED="${YES}" - fi - # Running or not - if pidof DayZServer > /dev/null - then - # Uptime - D=$(date +%s) - F=$(date +%s -r /tmp/parameters) - DAYS=$(( (${D} - ${F}) / 86400 )) - UPTIME="${DAYS} days "$(date -d@$(($(date +%s) - $(date +%s -r /tmp/parameters))) -u +"%H hours %M minutes %S seconds") - - RUNNING="${YES}\nUptime: ${green}${UPTIME}${default}" - # Current parameters - RUNNING="${RUNNING}\nRunning Parameters: $(cat /tmp/parameters)\nRunning mod parameter: $(cat /tmp/mod_command_line)" - fi - # Release or Experimental - if [[ ${release_client_appid} = "221100" ]] - then - RELEASE="Stable" - else - RELEASE="Experimental" - fi - VERSION="$(strings /serverfiles/DayZServer | grep -P "DayZ \d\.\d+\.\d+" | cut -c6-) - ${RELEASE}" - # Map - MAP=${MAP} - # Number of mods plus the list denoting on or off - echo -ne " -Server files installed: ${INSTALLED}" - if [[ "${INSTALLED}" = "${NO}" ]] - then - echo - echo - exit 0 - fi - get_mods - echo -ne " -Active mods: " - activelist - echo -e "${MODS} -Server running: ${RUNNING} -Working parameters: ${parameters} -Working mod parameter: ${mod_command_line}" - if [[ "${INSTALLED}" = "${YES}" ]] - then - echo "Map: ${MAP}" - echo "Version: ${VERSION}" - fi - echo -} - -backup(){ - cd ${MPMISSIONS} - DATE=$(date +'%Y-%m-%d-%H-%M-%S') - for i in $(ls) - do - B="${BACKUP_DIR}/${DATE}/" - echo "Backing up ${i} to ${B}..." - mkdir -p ${B} 1> /dev/null - cp -a "${i}" "${B}" - done - cp -a /profiles ${B} -} - -wipe(){ - DIR="${MPMISSIONS}/${MAP}/storage_1" - if ! [ -d "${DIR}" ] - then - echo "Storage directory ${DIR} does not exist" - return - fi - if prompt_yn "Wipe server storage directory '${DIR}'?" - then - rm -rf "${DIR}" - echo "Storage ${DIR} removed" - else - echo "Storage directory ${DIR} NOT removed..." - fi -} - -MAP=$(get_map_name) - -# Capture the first argument and shift it off so we can pass $@ to every function -C=${1} -shift || { - usage -} - -case "${C}" in - a|activate) - activate 1 "${@}" - ;; - add) - add "${@}" - ;; - b|backup) - backup "${@}" - ;; - c|config) - config "${@}" - ;; - d|deactivate) - activate 0 "${@}" - ;; - f|force) - force - ;; - i|install) - install "${@}" - ;; - l|list) - list "${@}" - ;; - login) - login "${@}" - ;; - n|rcon) - rcon "${@}" - ;; - r|restart) - restart "${@}" - ;; - start) - start "${@}" - ;; - s|status) - status "${@}" - ;; - stop) - stop "${@}" - ;; - w|wipe) - wipe "${@}" - ;; - *) - usage "$*" - ;; -esac diff --git a/server/bin/entrypoint.sh b/server/bin/entrypoint.sh deleted file mode 100755 index a1be715..0000000 --- a/server/bin/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -exec "$@" diff --git a/server/bin/start.sh b/server/bin/start.sh deleted file mode 100755 index b3a60fd..0000000 --- a/server/bin/start.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -# Set PS1 so we know we're in the container, should we exec into it. -cat > .bashrc < .bashrc < root node -> child node permutations - for i in "CFGEVENTGROUPS:eventgroupdef:group" "CFGEVENTSPAWNS:eventposdef:event" "CFGSPAWNABLETYPES:spawnabletypes:type" "EVENTS:events:event" "TYPES:types:type" - do - var=$(echo ${i} | cut -d: -f1) - CHECK=$(echo ${i} | cut -d: -f2) - if [ -f "${WORKSHOP_DIR}/${ID}/${var,,}.xml" ] - then - echo "Normalizing ${WORKSHOP_DIR}/${ID}/${var,,}.xml..." - cp ${WORKSHOP_DIR}/${ID}/${var,,}.xml /tmp/x - # Quirks - # Some cfgeventspanws.xml files have instead of . Let's just try to fix that first. - if [[ ${var} = "CFGEVENTSPAWNS" ]] - then - if grep -q '' /tmp/x - then - echo " - (Quirk) has instead of . fixing..." - xmlstarlet ed -L -r "events" -v "eventposdef" /tmp/x - fi - fi - if ! grep -q '<'${CHECK}'>' /tmp/x - then - echo " - has no root node <${CHECK}>. fixing..." - echo '<'${CHECK}'>' > /tmp/y - cat /tmp/x >> /tmp/y - echo '' >> /tmp/y - xmlstarlet fo /tmp/y > /tmp/x - fi - if ! grep -q ' /tmp/y - mv /tmp/y /tmp/x - fi - xmllint --noout /tmp/x && ( - # Keep the normalized version in the /mods directory - cp /tmp/x ${WORKSHOP_DIR}/${ID}/${var,,}.xml - echo -e "${green}${WORKSHOP_DIR}/${ID}/${var,,}.xml passes XML lint test!${default}" - ) || ( - echo -e "${yellow}The final ${WORKSHOP_DIR}/${ID}/${var,,}.xml does not pass XML lint test! IT WAS NOT COPIED!${default}" - ) - fi - done - exit 0 -} - -# Add a mod -add(){ - if [ -d "${WORKSHOP_DIR}/${1}" ] - then - echo -e "${yellow}Warning: The mod directory ${WORKSHOP_DIR}/${1} already exists!${default}" - MODNAME=$(get_mod_name ${1}) - fi - if [ -L "${SERVER_FILES}/@${MODNAME}" ] - then - echo -e "${yellow}Warning: The mod symlink ${SERVER_FILES}/@${MODNAME} already exists!${default}" - fi - echo "Adding mod id ${1}" - dologin - ${STEAMCMD} +force_install_dir ${SERVER_FILES} +login "${steamlogin}" +workshop_download_item "${release_client_appid}" "${1}" +quit - # Make sure the install succeeded - if [ ! -d "${WORKSHOP_DIR}/${1}" ] - then - echo -e "${red}Mod installation failed: The mod directory ${WORKSHOP_DIR}/${1} was not created!${default}" - echo "Installation failed! See above (You probably need to use a real Steam login)" - return - fi - # Get the name of the newly added mod - MODNAME=$(get_mod_name ${1}) - symlink 1 ${1} "${MODNAME}" - echo -e "Mod id ${1} - ${green}${MODNAME}${default} - added" - xml ${ID} -} - -# Remove a mod -remove(){ - DIR="${WORKSHOP_DIR}/${1:?}" - if [ -d "${DIR}" ] - then - MODNAME=$(get_mod_name ${1}) - echo "Removing directory ${DIR}" - rm -rf "${DIR}" - else - echo "Directory ${DIR} doesn't exist?" - fi - if [ -L "${SERVER_FILES}/@${MODNAME}" ] - then - echo "Removing symlink ${SERVER_FILES}/@${MODNAME}" - rm -f "${SERVER_FILES}/@${MODNAME}" - else - echo "Symlink ${SERVER_FILES}/@${MODNAME} doesn't exist?" - fi - echo -e "Mod id ${1} - ${red}${MODNAME}${default} - removed" -} - -# Handle the Steam login information. -login(){ - if [ -f "${STEAM_LOGIN}" ] - then - if prompt_yn "The steam login is already set. Reset it?" - then - rm -f "${STEAM_LOGIN}" - else - echo "Not reset." - exit 0 - fi - fi - if [ ! -f "${STEAM_LOGIN}" ] - then - echo "Setting up Steam credentials" - echo -n "Steam Username (anonymous): " - read steamlogin - if [[ "${steamlogin}" = "" ]] - then - echo "Steam login set to 'anonymous'" - steamlogin="anonymous" - fi - echo "steamlogin=${steamlogin}" > "${STEAM_LOGIN}" - ${STEAMCMD} +force_install_dir ${SERVER_FILES} +login "${steamlogin}" +quit - fi -} - -# "Perform" the Steam login. This just sources the file with the Steam login name. -dologin(){ - if [ -f "${STEAM_LOGIN}" ] - then - source "${STEAM_LOGIN}" - else - echo "No cached Steam credentials. Please configure this now: " - login - fi -} - -# Perform the installation of the server files. -install(){ - if [ ! -f "${SERVER_INSTALL_FILE}" ] || [[ ${1} = "force" ]] - then - printf "[ ${yellow}DayZ${default} ] Downloading DayZ Server-Files!\n" - dologin - ${STEAMCMD} +force_install_dir ${SERVER_FILES} +login "${steamlogin}" +app_update "${release_server_appid}" validate +quit - else - printf "[ ${lightblue}DayZ${default} ] The server is already installed.\n" - fi -} - -# Update the server files. -update(){ - dologin - appmanifestfile=${SERVER_FILES}/steamapps/appmanifest_"${release_server_appid}".acf - printf "[ ... ] Checking for update:" - # gets currentbuild - currentbuild=$(grep buildid "${appmanifestfile}" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d \ -f3) - # Removes appinfo.vdf as a fix for not always getting up to date version info from SteamCMD - if [ -f "${HOME}/Steam/appcache/appinfo.vdf" ] - then - rm -f "${HOME}/Steam/appcache/appinfo.vdf" - fi - # check for new build - availablebuild=$(${STEAMCMD} +login "${steamlogin}" +app_info_update 1 +app_info_print "${release_server_appid}" +quit | \ - sed -n '/branch/,$p' | grep -m 1 buildid | tr -cd '[:digit:]') - if [ -z "${availablebuild}" ] - then - printf "\r[ ${red}FAIL${default} ] Checking for update:\n" - printf "\r[ ${red}FAIL${default} ] Checking for update:: Not returning version info\n" - exit - else - printf "\r[ ${green}OK${default} ] Checking for update:" - fi - # compare builds - if [ "${currentbuild}" != "${availablebuild}" ] || [[ ${1} = "force" ]] - then - printf "\r[ ${green}OK${default} ] Checking for update:: Update available\n" - printf "Update available:\n" - printf "\tCurrent build: ${red}${currentbuild}${default}\n" - printf "\tAvailable build: ${green}${availablebuild}${default}\n" - printf "\thttps://steamdb.info/app/${release_server_appid}/\n" - printf "\nApplying update" - # run update - dologin - ${STEAMCMD} +force_install_dir ${SERVER_FILES} +login "${steamlogin}" +app_update "${release_server_appid}" validate +quit - modupdate - else - printf "\r[ ${green}OK${default} ] Checking for update:: No update available\n" - printf "\nNo update available:\n" - printf "\tCurrent version: ${green}${currentbuild}${default}\n" - printf "\tAvailable version: ${green}${availablebuild}${default}\n" - printf "\thttps://steamdb.info/app/${release_server_appid}/\n\n" - fi -} - -# Update mods -modupdate(){ - echo "Updating mods..." - dologin - get_mods - ${STEAMCMD} +force_install_dir ${SERVER_FILES} +login "${steamlogin}" ${workshoplist} +quit - # Updated files come in with mixed cases. Fix that. - echo "done" - echo -} - -# Display the status of everything -status(){ - INSTALLED="${NO}" - LOGGED_IN="${NO}" - - # DayZ Server files installation - if [ -f "${SERVER_INSTALL_FILE}" ] - then - INSTALLED="${YES}" - if [[ ${release_client_appid} = "221100" ]] - then - RELEASE="Stable" - else - RELEASE="Experimental" - fi - VERSION="$(strings /serverfiles/DayZServer | grep -P "DayZ \d\.\d+\.\d+" | cut -c6-) - ${RELEASE}" - fi - # Logged into Steam - if [ -f "${STEAM_LOGIN}" ] - then - LOGGED_IN="${YES}" - if grep -q anonymous "${STEAM_LOGIN}" - then - ANONYMOUS="${yellow}(as anonymous)${default}" - else - ANONYMOUS="${green}(not anonymous)${default}" - fi - fi - echo -ne " -Logged in to Steam: ${LOGGED_IN} ${ANONYMOUS} -Server files installed: ${INSTALLED}" - if [[ "${INSTALLED}" = "${NO}" ]] - then - echo - echo - exit 0 - fi - # Version of DayZ Server files - echo -ne " -Version: ${VERSION}" - - # Mods - echo -ne " -Mods: " - MODS=$(list) - if [[ ${MODS} == "" ]] - then - echo -ne "${red}none${default}" - fi - echo -e "${MODS}" -} - -map(){ - # Install map mpmissions for mods that have them. Presumes a map.env was created for the mod, with the required metadata (git URL, etc.) - TERM="map" - if [[ "${1}" =~ ^[0-9]+$ ]] - then - TERM="mod id" - fi - if [ -f "${FILES}/mods/${1}/map.env" ] - then - echo "Installing mpmissions files for ${TERM} ${1}..." - source ${FILES}/mods/${1}/map.env - ${FILES}/bin/map.sh ${1} install - fi -} - -mod_install(){ - if [ -f ${FILES}/mods/${1}/${2}.sh ] - then - echo "An ${2}.sh was found for mod id ${1}. Running..." - ${FILES}/mods/${1}/${2}.sh - fi - # A generic map install script. Presumes a git repo as the source -} - -# "Manage" XML files. -xml(){ - /files/bin/xml.sh ${1} - installxml ${1} -} - -# Capture the first argument and shift it off so we can pass $@ to every function -C=${1} -shift || { - usage -} - -case "${C}" in - a|add) - add "${@}" - ;; - i|install) - install "${@}" - ;; - g|login) - login "${@}" - ;; - m|modupdate) - modupdate "${@}" - ;; - r|remove) - remove "${@}" - ;; - l|s|status) - status "${@}" - ;; - p|map) - map "${@}" - ;; - u|update) - update "${@}" - ;; - x|xml) - xml "${@}" - ;; - *) - usage "$*" - ;; -esac diff --git a/web/bin/entrypoint.sh b/web/bin/entrypoint.sh deleted file mode 100755 index a1be715..0000000 --- a/web/bin/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -exec "$@" diff --git a/web/bin/start.sh b/web/bin/start.sh deleted file mode 100755 index 2e2e230..0000000 --- a/web/bin/start.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -# Set PS1 so we know we're in the container -if ! echo .bashrc | grep -q "dz-web" -then - echo "Adding PS1 to .bashrc..." - cat >> .bashrc < - - - - - - DayZ Docker Server - - -
- - - diff --git a/web/docroot/package-lock.json b/web/docroot/package-lock.json deleted file mode 100644 index e837b46..0000000 --- a/web/docroot/package-lock.json +++ /dev/null @@ -1,1365 +0,0 @@ -{ - "name": "docroot", - "version": "0.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "docroot", - "version": "0.0.0", - "dependencies": { - "@popperjs/core": "^2.11.8", - "@vueuse/core": "^10.1.2", - "bootstrap": "^5.3.0", - "bootstrap-icons": "^1.10.5", - "pinia": "^2.1.3", - "vue": "^3.3.2" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^4.2.3", - "vite": "^4.3.5" - } - }, - "node_modules/@babel/parser": { - "version": "7.22.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.4.tgz", - "integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", - "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" - }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@types/web-bluetooth": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.17.tgz", - "integrity": "sha512-4p9vcSmxAayx72yn70joFoL44c9MO/0+iVEBIQXe3v2h2SiAsEIo/G5v6ObFWvNKRFjbrVadNf9LqEEZeQPzdA==" - }, - "node_modules/@vitejs/plugin-vue": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz", - "integrity": "sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==", - "dev": true, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "peerDependencies": { - "vite": "^4.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz", - "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", - "dependencies": { - "@babel/parser": "^7.21.3", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "source-map-js": "^1.0.2" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", - "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", - "dependencies": { - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", - "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", - "dependencies": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-ssr": "3.3.4", - "@vue/reactivity-transform": "3.3.4", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.0", - "postcss": "^8.1.10", - "source-map-js": "^1.0.2" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", - "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", - "dependencies": { - "@vue/compiler-dom": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "node_modules/@vue/devtools-api": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", - "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" - }, - "node_modules/@vue/reactivity": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz", - "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", - "dependencies": { - "@vue/shared": "3.3.4" - } - }, - "node_modules/@vue/reactivity-transform": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", - "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", - "dependencies": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.0" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz", - "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", - "dependencies": { - "@vue/reactivity": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", - "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", - "dependencies": { - "@vue/runtime-core": "3.3.4", - "@vue/shared": "3.3.4", - "csstype": "^3.1.1" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz", - "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", - "dependencies": { - "@vue/compiler-ssr": "3.3.4", - "@vue/shared": "3.3.4" - }, - "peerDependencies": { - "vue": "3.3.4" - } - }, - "node_modules/@vue/shared": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz", - "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" - }, - "node_modules/@vueuse/core": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.1.2.tgz", - "integrity": "sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==", - "dependencies": { - "@types/web-bluetooth": "^0.0.17", - "@vueuse/metadata": "10.1.2", - "@vueuse/shared": "10.1.2", - "vue-demi": ">=0.14.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/core/node_modules/vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/@vueuse/metadata": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.1.2.tgz", - "integrity": "sha512-3mc5BqN9aU2SqBeBuWE7ne4OtXHoHKggNgxZR2K+zIW4YLsy6xoZ4/9vErQs6tvoKDX6QAqm3lvsrv0mczAwIQ==", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.1.2.tgz", - "integrity": "sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==", - "dependencies": { - "vue-demi": ">=0.14.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared/node_modules/vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/bootstrap": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.0.tgz", - "integrity": "sha512-UnBV3E3v4STVNQdms6jSGO2CvOkjUMdDAVR2V5N4uCMdaIkaQjbcEAMqRimDHIs4uqBYzDAKCQwCB+97tJgHQw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], - "peerDependencies": { - "@popperjs/core": "^2.11.7" - } - }, - "node_modules/bootstrap-icons": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.5.tgz", - "integrity": "sha512-oSX26F37V7QV7NCE53PPEL45d7EGXmBgHG3pDpZvcRaKVzWMqIRL9wcqJUyEha1esFtM3NJzvmxFXDxjJYD0jQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ] - }, - "node_modules/csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" - }, - "node_modules/esbuild": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", - "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.17.19", - "@esbuild/android-arm64": "0.17.19", - "@esbuild/android-x64": "0.17.19", - "@esbuild/darwin-arm64": "0.17.19", - "@esbuild/darwin-x64": "0.17.19", - "@esbuild/freebsd-arm64": "0.17.19", - "@esbuild/freebsd-x64": "0.17.19", - "@esbuild/linux-arm": "0.17.19", - "@esbuild/linux-arm64": "0.17.19", - "@esbuild/linux-ia32": "0.17.19", - "@esbuild/linux-loong64": "0.17.19", - "@esbuild/linux-mips64el": "0.17.19", - "@esbuild/linux-ppc64": "0.17.19", - "@esbuild/linux-riscv64": "0.17.19", - "@esbuild/linux-s390x": "0.17.19", - "@esbuild/linux-x64": "0.17.19", - "@esbuild/netbsd-x64": "0.17.19", - "@esbuild/openbsd-x64": "0.17.19", - "@esbuild/sunos-x64": "0.17.19", - "@esbuild/win32-arm64": "0.17.19", - "@esbuild/win32-ia32": "0.17.19", - "@esbuild/win32-x64": "0.17.19" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/pinia": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.1.3.tgz", - "integrity": "sha512-XNA/z/ye4P5rU1pieVmh0g/hSuDO98/a5UC8oSP0DNdvt6YtetJNHTrXwpwsQuflkGT34qKxAEcp7lSxXNjf/A==", - "dependencies": { - "@vue/devtools-api": "^6.5.0", - "vue-demi": ">=0.14.5" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "@vue/composition-api": "^1.4.0", - "typescript": ">=4.4.4", - "vue": "^2.6.14 || ^3.3.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/pinia/node_modules/vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/postcss": { - "version": "8.4.24", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", - "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "nanoid": "^3.3.6", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/rollup": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", - "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=14.18.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/vite": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", - "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", - "dev": true, - "dependencies": { - "esbuild": "^0.17.5", - "postcss": "^8.4.23", - "rollup": "^3.21.0" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - }, - "peerDependencies": { - "@types/node": ">= 14", - "less": "*", - "sass": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz", - "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", - "dependencies": { - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-sfc": "3.3.4", - "@vue/runtime-dom": "3.3.4", - "@vue/server-renderer": "3.3.4", - "@vue/shared": "3.3.4" - } - } - }, - "dependencies": { - "@babel/parser": { - "version": "7.22.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.4.tgz", - "integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==" - }, - "@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "dev": true, - "optional": true - }, - "@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "dev": true, - "optional": true - }, - "@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "dev": true, - "optional": true - }, - "@esbuild/darwin-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", - "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", - "dev": true, - "optional": true - }, - "@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "dev": true, - "optional": true - }, - "@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "dev": true, - "optional": true - }, - "@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "dev": true, - "optional": true - }, - "@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "dev": true, - "optional": true - }, - "@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "dev": true, - "optional": true - }, - "@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "dev": true, - "optional": true - }, - "@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "dev": true, - "optional": true - }, - "@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "dev": true, - "optional": true - }, - "@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "dev": true, - "optional": true - }, - "@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "dev": true, - "optional": true - }, - "@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "dev": true, - "optional": true - }, - "@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "dev": true, - "optional": true - }, - "@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "dev": true, - "optional": true - }, - "@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "dev": true, - "optional": true - }, - "@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "dev": true, - "optional": true - }, - "@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "dev": true, - "optional": true - }, - "@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "dev": true, - "optional": true - }, - "@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "dev": true, - "optional": true - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" - }, - "@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==" - }, - "@types/web-bluetooth": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.17.tgz", - "integrity": "sha512-4p9vcSmxAayx72yn70joFoL44c9MO/0+iVEBIQXe3v2h2SiAsEIo/G5v6ObFWvNKRFjbrVadNf9LqEEZeQPzdA==" - }, - "@vitejs/plugin-vue": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz", - "integrity": "sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==", - "dev": true, - "requires": {} - }, - "@vue/compiler-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz", - "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", - "requires": { - "@babel/parser": "^7.21.3", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "source-map-js": "^1.0.2" - } - }, - "@vue/compiler-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", - "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", - "requires": { - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "@vue/compiler-sfc": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", - "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", - "requires": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-ssr": "3.3.4", - "@vue/reactivity-transform": "3.3.4", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.0", - "postcss": "^8.1.10", - "source-map-js": "^1.0.2" - } - }, - "@vue/compiler-ssr": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", - "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", - "requires": { - "@vue/compiler-dom": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "@vue/devtools-api": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", - "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" - }, - "@vue/reactivity": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz", - "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", - "requires": { - "@vue/shared": "3.3.4" - } - }, - "@vue/reactivity-transform": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", - "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", - "requires": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.0" - } - }, - "@vue/runtime-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz", - "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", - "requires": { - "@vue/reactivity": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "@vue/runtime-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", - "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", - "requires": { - "@vue/runtime-core": "3.3.4", - "@vue/shared": "3.3.4", - "csstype": "^3.1.1" - } - }, - "@vue/server-renderer": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz", - "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", - "requires": { - "@vue/compiler-ssr": "3.3.4", - "@vue/shared": "3.3.4" - } - }, - "@vue/shared": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz", - "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" - }, - "@vueuse/core": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.1.2.tgz", - "integrity": "sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==", - "requires": { - "@types/web-bluetooth": "^0.0.17", - "@vueuse/metadata": "10.1.2", - "@vueuse/shared": "10.1.2", - "vue-demi": ">=0.14.0" - }, - "dependencies": { - "vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "requires": {} - } - } - }, - "@vueuse/metadata": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.1.2.tgz", - "integrity": "sha512-3mc5BqN9aU2SqBeBuWE7ne4OtXHoHKggNgxZR2K+zIW4YLsy6xoZ4/9vErQs6tvoKDX6QAqm3lvsrv0mczAwIQ==" - }, - "@vueuse/shared": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.1.2.tgz", - "integrity": "sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==", - "requires": { - "vue-demi": ">=0.14.0" - }, - "dependencies": { - "vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "requires": {} - } - } - }, - "bootstrap": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.0.tgz", - "integrity": "sha512-UnBV3E3v4STVNQdms6jSGO2CvOkjUMdDAVR2V5N4uCMdaIkaQjbcEAMqRimDHIs4uqBYzDAKCQwCB+97tJgHQw==", - "requires": {} - }, - "bootstrap-icons": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.5.tgz", - "integrity": "sha512-oSX26F37V7QV7NCE53PPEL45d7EGXmBgHG3pDpZvcRaKVzWMqIRL9wcqJUyEha1esFtM3NJzvmxFXDxjJYD0jQ==" - }, - "csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" - }, - "esbuild": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", - "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", - "dev": true, - "requires": { - "@esbuild/android-arm": "0.17.19", - "@esbuild/android-arm64": "0.17.19", - "@esbuild/android-x64": "0.17.19", - "@esbuild/darwin-arm64": "0.17.19", - "@esbuild/darwin-x64": "0.17.19", - "@esbuild/freebsd-arm64": "0.17.19", - "@esbuild/freebsd-x64": "0.17.19", - "@esbuild/linux-arm": "0.17.19", - "@esbuild/linux-arm64": "0.17.19", - "@esbuild/linux-ia32": "0.17.19", - "@esbuild/linux-loong64": "0.17.19", - "@esbuild/linux-mips64el": "0.17.19", - "@esbuild/linux-ppc64": "0.17.19", - "@esbuild/linux-riscv64": "0.17.19", - "@esbuild/linux-s390x": "0.17.19", - "@esbuild/linux-x64": "0.17.19", - "@esbuild/netbsd-x64": "0.17.19", - "@esbuild/openbsd-x64": "0.17.19", - "@esbuild/sunos-x64": "0.17.19", - "@esbuild/win32-arm64": "0.17.19", - "@esbuild/win32-ia32": "0.17.19", - "@esbuild/win32-x64": "0.17.19" - } - }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "requires": { - "@jridgewell/sourcemap-codec": "^1.4.13" - } - }, - "nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "pinia": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.1.3.tgz", - "integrity": "sha512-XNA/z/ye4P5rU1pieVmh0g/hSuDO98/a5UC8oSP0DNdvt6YtetJNHTrXwpwsQuflkGT34qKxAEcp7lSxXNjf/A==", - "requires": { - "@vue/devtools-api": "^6.5.0", - "vue-demi": ">=0.14.5" - }, - "dependencies": { - "vue-demi": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", - "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", - "requires": {} - } - } - }, - "postcss": { - "version": "8.4.24", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", - "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", - "requires": { - "nanoid": "^3.3.6", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - } - }, - "rollup": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", - "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", - "dev": true, - "requires": { - "fsevents": "~2.3.2" - } - }, - "source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" - }, - "vite": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", - "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", - "dev": true, - "requires": { - "esbuild": "^0.17.5", - "fsevents": "~2.3.2", - "postcss": "^8.4.23", - "rollup": "^3.21.0" - } - }, - "vue": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz", - "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", - "requires": { - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-sfc": "3.3.4", - "@vue/runtime-dom": "3.3.4", - "@vue/server-renderer": "3.3.4", - "@vue/shared": "3.3.4" - } - } - } -} diff --git a/web/docroot/package.json b/web/docroot/package.json deleted file mode 100644 index d585cca..0000000 --- a/web/docroot/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "docroot", - "version": "0.0.0", - "private": true, - "scripts": { - "dev": "vite --host", - "build": "vite build", - "preview": "vite preview" - }, - "dependencies": { - "@popperjs/core": "^2.11.8", - "@vueuse/core": "^10.1.2", - "bootstrap": "^5.3.0", - "bootstrap-icons": "^1.10.5", - "pinia": "^2.1.3", - "vue": "^3.3.2" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^4.2.3", - "vite": "^4.3.5" - } -} diff --git a/web/docroot/public/favicon.ico b/web/docroot/public/favicon.ico deleted file mode 100644 index bb3ae74..0000000 Binary files a/web/docroot/public/favicon.ico and /dev/null differ diff --git a/web/docroot/src/App.vue b/web/docroot/src/App.vue deleted file mode 100644 index c2b433d..0000000 --- a/web/docroot/src/App.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/web/docroot/src/components/Body.vue b/web/docroot/src/components/Body.vue deleted file mode 100644 index 4c66730..0000000 --- a/web/docroot/src/components/Body.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/web/docroot/src/components/Error.vue b/web/docroot/src/components/Error.vue deleted file mode 100644 index e0990e7..0000000 --- a/web/docroot/src/components/Error.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/web/docroot/src/components/Header.vue b/web/docroot/src/components/Header.vue deleted file mode 100644 index 86ac290..0000000 --- a/web/docroot/src/components/Header.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/web/docroot/src/components/Modinfo.vue b/web/docroot/src/components/Modinfo.vue deleted file mode 100644 index 61843c3..0000000 --- a/web/docroot/src/components/Modinfo.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/web/docroot/src/components/Mods.vue b/web/docroot/src/components/Mods.vue deleted file mode 100644 index 22b06cc..0000000 --- a/web/docroot/src/components/Mods.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - diff --git a/web/docroot/src/components/Search.vue b/web/docroot/src/components/Search.vue deleted file mode 100644 index 1f96755..0000000 --- a/web/docroot/src/components/Search.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/web/docroot/src/components/SearchResults.vue b/web/docroot/src/components/SearchResults.vue deleted file mode 100644 index ced79ce..0000000 --- a/web/docroot/src/components/SearchResults.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/web/docroot/src/components/Servers.vue b/web/docroot/src/components/Servers.vue deleted file mode 100644 index 383f269..0000000 --- a/web/docroot/src/components/Servers.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/web/docroot/src/components/Status.vue b/web/docroot/src/components/Status.vue deleted file mode 100644 index f14f2c4..0000000 --- a/web/docroot/src/components/Status.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/web/docroot/src/components/XmlFile.vue b/web/docroot/src/components/XmlFile.vue deleted file mode 100644 index 4ca0a32..0000000 --- a/web/docroot/src/components/XmlFile.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - diff --git a/web/docroot/src/components/XmlTree.vue b/web/docroot/src/components/XmlTree.vue deleted file mode 100644 index 23a11da..0000000 --- a/web/docroot/src/components/XmlTree.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/web/docroot/src/config.js b/web/docroot/src/config.js deleted file mode 100644 index 3b5f715..0000000 --- a/web/docroot/src/config.js +++ /dev/null @@ -1,6 +0,0 @@ -const config = { - baseUrl: window.location.protocol + '//' + window.location.hostname + ':8000', - steamUrl: 'https://steamcommunity.com/sharedfiles/filedetails/?id=' -} - -export { config } diff --git a/web/docroot/src/css/index.css b/web/docroot/src/css/index.css deleted file mode 100644 index e3c12f7..0000000 --- a/web/docroot/src/css/index.css +++ /dev/null @@ -1,21 +0,0 @@ -button { - padding: 5px; - margin: 10px; -} - -th, td { - padding-right: 10px -} - -.active { - background-color: cyan; -} - -.simulink { - cursor: pointer; - text-underline: blue; -} - -.simulink:hover { - background-color: green; -} diff --git a/web/docroot/src/main.js b/web/docroot/src/main.js deleted file mode 100644 index e770add..0000000 --- a/web/docroot/src/main.js +++ /dev/null @@ -1,25 +0,0 @@ -import 'bootstrap/dist/css/bootstrap.min.css' -import 'bootstrap' -import 'bootstrap-icons/font/bootstrap-icons.css' -import './css/index.css' - -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' -import {useAppStore} from "@/stores/app"; - -// Create an instance of our Vue app -const app = createApp(App) - -// Add the store -app.use(createPinia()) - -// A global error handler -app.config.errorHandler = (err, instance, info) => { - const store = useAppStore() - store.errorText = err.message - console.error('GLOBAL ERROR HANDLER! ', err, instance, info) -} - -// Mount it -app.mount('#app') diff --git a/web/docroot/src/stores/app.js b/web/docroot/src/stores/app.js deleted file mode 100644 index 2cfe4d8..0000000 --- a/web/docroot/src/stores/app.js +++ /dev/null @@ -1,12 +0,0 @@ -import { defineStore } from 'pinia' - -export const useAppStore = defineStore('app', { - state: () => ({ - errorText: '', - modId: 0, - modFile: '', - mods: [], - searchText: '', - section: 'mods', - }) -}) diff --git a/web/docroot/src/util.js b/web/docroot/src/util.js deleted file mode 100644 index f227787..0000000 --- a/web/docroot/src/util.js +++ /dev/null @@ -1,11 +0,0 @@ -const units = ['bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'] - -const BKMG = (val) => { - let l = 0, n = parseInt(val, 10) || 0 - while(n >= 1024 && ++l){ - n = n/1024 - } - return(n.toFixed(n < 10 && l > 0 ? 1 : 0) + ' ' + units[l]) -} - -export { BKMG } diff --git a/web/docroot/vite.config.js b/web/docroot/vite.config.js deleted file mode 100644 index 1c4ee0b..0000000 --- a/web/docroot/vite.config.js +++ /dev/null @@ -1,17 +0,0 @@ -import { fileURLToPath, URL } from 'node:url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - }, - server: { - port: 8001 - } -}) diff --git a/web/package-lock.json b/web/package-lock.json deleted file mode 100644 index 26ec4ed..0000000 --- a/web/package-lock.json +++ /dev/null @@ -1,1658 +0,0 @@ -{ - "name": "web", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "web", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "express": "^4.18.2" - }, - "devDependencies": { - "nodemon": "^2.0.22" - } - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.11.0", - "raw-body": "2.5.1", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.1", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.5.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.2.0", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.11.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", - "dev": true - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/nodemon": { - "version": "2.0.22", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz", - "integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==", - "dev": true, - "dependencies": { - "chokidar": "^3.5.2", - "debug": "^3.2.7", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.1.2", - "pstree.remy": "^1.1.8", - "semver": "^5.7.1", - "simple-update-notifier": "^1.0.7", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.5" - }, - "bin": { - "nodemon": "bin/nodemon.js" - }, - "engines": { - "node": ">=8.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/nodemon" - } - }, - "node_modules/nodemon/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/nodemon/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "node_modules/nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", - "dev": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", - "dev": true - }, - "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", - "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.18.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/simple-update-notifier": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz", - "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==", - "dev": true, - "dependencies": { - "semver": "~7.0.0" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/simple-update-notifier/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dev": true, - "dependencies": { - "nopt": "~1.0.10" - }, - "bin": { - "nodetouch": "bin/nodetouch.js" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/undefsafe": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", - "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", - "dev": true - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "engines": { - "node": ">= 0.8" - } - } - }, - "dependencies": { - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "requires": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - } - }, - "anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true - }, - "body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", - "requires": { - "bytes": "3.1.2", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.11.0", - "raw-body": "2.5.1", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "requires": { - "safe-buffer": "5.2.1" - } - }, - "content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" - }, - "cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" - }, - "destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" - }, - "express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", - "requires": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.1", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.5.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.2.0", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.11.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - } - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - }, - "http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "requires": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", - "dev": true - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { - "mime-db": "1.52.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" - }, - "nodemon": { - "version": "2.0.22", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz", - "integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==", - "dev": true, - "requires": { - "chokidar": "^3.5.2", - "debug": "^3.2.7", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.1.2", - "pstree.remy": "^1.1.8", - "semver": "^5.7.1", - "simple-update-notifier": "^1.0.7", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.5" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - } - } - }, - "nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", - "dev": true, - "requires": { - "abbrev": "1" - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - }, - "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" - }, - "on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "requires": { - "ee-first": "1.1.1" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", - "dev": true - }, - "qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "requires": { - "side-channel": "^1.0.4" - } - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", - "requires": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "requires": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "dependencies": { - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - } - } - }, - "serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.18.0" - } - }, - "setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "simple-update-notifier": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz", - "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==", - "dev": true, - "requires": { - "semver": "~7.0.0" - }, - "dependencies": { - "semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true - } - } - }, - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" - }, - "touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dev": true, - "requires": { - "nopt": "~1.0.10" - } - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "undefsafe": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", - "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", - "dev": true - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" - } - } -} diff --git a/web/package.json b/web/package.json deleted file mode 100644 index f60d8be..0000000 --- a/web/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "web", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "keywords": [], - "author": "", - "license": "ISC", - "dependencies": { - "express": "^4.18.2" - }, - "type": "module", - "devDependencies": { - "nodemon": "^2.0.22" - } -} diff --git a/web/root/favicon.png b/web/root/favicon.png deleted file mode 100644 index bb3ae74..0000000 Binary files a/web/root/favicon.png and /dev/null differ diff --git a/web/root/index.css b/web/root/index.css deleted file mode 100644 index 755a1da..0000000 --- a/web/root/index.css +++ /dev/null @@ -1,22 +0,0 @@ -button { - padding: 5px; - margin: 10px; -} - -th, td { - padding-right: 10px -} - - -.selected { - background-color: cyan; -} - -.simulink { - cursor: pointer; - text-underline: blue; -} - -.simulink:hover { - background-color: cyan; -} diff --git a/web/root/index.html b/web/root/index.html deleted file mode 100644 index ce5b859..0000000 --- a/web/root/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - DayZ Docker Server - - - - - - - - - - -
- - - diff --git a/web/root/index.js b/web/root/index.js deleted file mode 100644 index e983dd1..0000000 --- a/web/root/index.js +++ /dev/null @@ -1,313 +0,0 @@ -const template = ` - -
-
-
-

DayZ Docker Server

-
-
- - - - - -
-
-
- -
-
-
-
- Server files installed: - - -
-
- Version: {{ version }} -
-
-
-
-
-
-

Installed Mods

- - - - - - -
Steam LinkMod Info
-
-
-
-
-
-
- {{ modInfo.name }} -
-
- ID: {{ modInfo.id }} -
-
- Size: {{ modInfo.size.toLocaleString("en-US") }} -
-
- Custom XML files: - -
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - -
Steam LinkTitleSizeLast UpdatedSubscriptions
- - - - {{ result.title }}{{ BKMG(result.file_size) }}{{ new Date(result.time_updated * 1000).toLocaleDateString("en-us") }}{{ result.lifetime_subscriptions }} - - -
-
-
-
-
-` - -import xmltree from "/xmltree.js" - -const fetcher = (args) => { - fetch(args.url) - .then(response => ( - args.type === "json" ? response.json() : response.text() - )) - .then(response => args.callback(response)) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) -} - -export default { - name: 'DazDockerServer', - template: template, - components: { - xmltree - }, - data() { - return { - fetchError: "", - installed: false, - mods: [], - modInfo: "", - searchResults: [], - steamURL: 'https://steamcommunity.com/sharedfiles/filedetails/?id=', - version: "Unknown", - XMLFile: "", - XMLInfo: "", - } - }, - methods: { - getModInfo(modId) { - fetcher ({ - url: '/mod/' + modId, - type: "json", - callback: (response) => { - this.modInfo = response - this.XMLInfo = "" - this.searchResults = "" - } - }) - }, - getXMLInfo(modId, file) { - for (const e of document.getElementsByClassName("selected")) e.classList.remove("selected") - fetch('/mod/' + modId + '/' + file) - .then(response => response.text()) - .then(response => { - this.XMLFile = file - this.XMLInfo = response - for (const e of document.getElementsByClassName(file)) e.classList.add("selected") - }) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) - }, - handleSubmit(e) { - e.preventDefault() - fetch('/search/' + e.target.search.value) - .then(response => response.json()) - .then(response => { - this.modInfo = "" - this.XMLInfo = "" - // const sortField = "time_updated" - const sortField = "lifetime_subscriptions" - response.response.publishedfiledetails.sort((a, b) => - a[sortField] < b[sortField] ? 1 : -1 - ) - this.searchResults = response.response.publishedfiledetails - }) - .then(() => { - // Enable all tooltips - const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) - tooltipTriggerList.map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }) - // Enable all alerts - $('.alert').alert() - }) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) - }, - installMod(modId) { - fetch('/install/' + modId) - .then(response => response.text()) - .then(response => { - console.log(response) - }) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) - }, - removeMod(modId) { - fetch('/remove/' + modId) - .then(response => response.text()) - .then(response => { - console.log(response) - }) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) - }, - BKMG(val) { - const units = ['bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'] - let l = 0, n = parseInt(val, 10) || 0 - while(n >= 1024 && ++l){ - n = n/1024 - } - return(n.toFixed(n < 10 && l > 0 ? 1 : 0) + ' ' + units[l]) - }, - installbase() { - console.log("Install base files") - }, - servers() { - console.log("List servers") - }, - listmods() { - console.log("List mods") - }, - updatebase() { - console.log("Update base files") - }, - updatemods() { - console.log("Update mod files") - } - }, - mounted() { - // Get the data - fetch('/status') - .then(response => response.json()) - .then(response => { - this.installed = response.installed - this.version = response.version - this.mods = response.mods - if(response.error) { - this.fetchError = response.error - // Since it's a modal, we have to manually show it...? - const modal = new bootstrap.Modal(document.getElementById('errorModal')) - modal.show() - } - }) - .catch((error) => { - console.error(error) - this.fetchError = error.message - }) - } -} - -/* - -{ "result": 1, "publishedfileid": "2489240546", "creator": "76561199068873691", "creator_appid": 221100, "consumer_appid": 221100, "consumer_shortcutid": 0, "filename": "", "file_size": "276817803", "preview_file_size": "27678", "preview_url": "https://steamuserimages-a.akamaihd.net/ugc/2011465736408144669/A7137390FBB9F4F94E0BFE5389932F6DE7AB7B87/", "url": "", "hcontent_file": "4050838808220661564", "hcontent_preview": "2011465736408144669", "title": "LastDayZ_Helis", "short_description": "The author of the helicopter mod https://sibnic.info on the site you can download the latest version of free helicopters, If you need help with installation, go to discord https://sibnic.info/discord", "time_created": 1621186063, "time_updated": 1684985831, "visibility": 0, "flags": 5632, "workshop_file": false, "workshop_accepted": false, "show_subscribe_all": false, "num_comments_public": 0, "banned": false, "ban_reason": "", "banner": "76561197960265728", "can_be_deleted": true, "app_name": "DayZ", "file_type": 0, "can_subscribe": true, "subscriptions": 7935, "favorited": 3, "followers": 0, "lifetime_subscriptions": 22759, "lifetime_favorited": 5, "lifetime_followers": 0, "lifetime_playtime": "0", "lifetime_playtime_sessions": "0", "views": 535, "num_children": 0, "num_reports": 0, "tags": [ { "tag": "Animation", "display_name": "Animation" }, { "tag": "Environment", "display_name": "Environment" }, { "tag": "Sound", "display_name": "Sound" }, { "tag": "Vehicle", "display_name": "Vehicle" }, { "tag": "Mod", "display_name": "Mod" } ], "language": 0, "maybe_inappropriate_sex": false, "maybe_inappropriate_violence": false, "revision_change_number": "14", "revision": 1, "ban_text_check_result": 5 } - - */ diff --git a/web/root/xmltree.js b/web/root/xmltree.js deleted file mode 100644 index 0777abf..0000000 --- a/web/root/xmltree.js +++ /dev/null @@ -1,103 +0,0 @@ -const template = ` -
- <{{elem.nodeName}} - -  {{attribute.name}} - = - "{{attribute.value}}" - - > - {{this.children[0].data.trim()}} - </{{elem.nodeName}}> -
-
- - - - <{{elem.nodeName}} - -  {{attribute.name}} - = - "{{attribute.value}}" - -  /> - > - - {{elem.data.trim()}} -
- -
- - </{{elem.nodeName}}> - -
-` - -export default { - name: "xmltree", - props: { - d: { - type: Number, - default: 0 - }, - element: { - type: [Element, Text], - default: undefined - }, - xmlData: String - }, - template: template, - data() { - return { - depth: 1 - } - }, - methods: { - collapse() { - this.children.forEach(x => x.classList?.add("d-none")) - }, - log(message) { - console.log(message) - } - }, - computed: { - elem() { - this.depth = parseInt(this.d) + 1 - if (this.element) { - return this.element - } else { - const parser = new DOMParser() - const xmlDoc = parser.parseFromString(this.xmlData, "text/xml") - return xmlDoc.documentElement - } - }, - children() { - let children = [] - let node = this.elem.firstChild - while (node) { - children.push(node) - node = node.nextSibling - } - return children - }, - isText() { - if (this.children.length === 1) { - if (this.children[0].nodeType === 3) { - return true - } - } - return false - } - } -} diff --git a/web/web.js b/web/web.js deleted file mode 100644 index 817e0c6..0000000 --- a/web/web.js +++ /dev/null @@ -1,299 +0,0 @@ -/* - A DayZ Linux server provisioning system. - - This is the web UI for provisioning a DayZ server running under Linux. - It manages the main container that installs and maintains the base DayZ server files - along with all mod base files. The goal being to keep all of these centralized and consistent, - but to also make them available for the creation of server containers. - */ -import express from 'express' -import path from 'path' -import fs from 'fs' -import https from 'https' -import { spawn } from 'child_process' - -const app = express() - -app.use((req, res, next) => { - res.append('Access-Control-Allow-Origin', ['*']) - res.append('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE') - res.append('Access-Control-Allow-Headers', 'Content-Type') - next() -}) - -/* - The DayZ server Steam app ID. USE ONE OR THE OTHER!! - - Presumably once the Linux server is officially released, the binaries will come from this ID. - Meanwhile, if we have a release-compatible binary, the base files must be installed from this id, - even if the server binary and required shared objects don't come from it. (They'd come from...elsewhere...) - */ -//const server_appid = "223350" - -/* - Without a release binary, we must use the experimental server app ID. - */ -const server_appid = "1042420" - -/* - DayZ release client Steam app ID. This is for mods, as only the release client has them. - */ -const client_appid = "221100" - -/* - Denote if it's release or experimental - */ -const versions = { - "1042420": "Experimental", - "223350": "Release" -} -const appid_version = versions[server_appid] - -/* - Base file locations - */ -const modDir = "/mods" -const serverFiles = "/serverfiles" - -/* - File path delimiter - */ -const d = '/' - -/* - XML config files the system can handle. These are retrieved from values in templates located in /files/mods/:modId - */ -const configFiles = [ - 'cfgeventspawns.xml', - 'cfgspawnabletypes.xml', - 'events.xml', - 'types.xml', -] - -// From https://helpthedeadreturn.wordpress.com/2019/07/17/dayz-sa-mission-file -const allConfigFiles = { - "db": [ // global server config and core loot economy files - "events.xml", // dynamic events - "globals.xml", // global settings - "messages.xml", // server broadcast messages and shutdown - "types.xml" // loot table - ], - "env": [ // coordinates, static and dynamic spawns for each entity - "cattle_territories.xml", - "domestic_animals_territories.xml", - "hare_territories.xml", - "hen_territories.xml", - "pig_territories.xml", - "red_deer_territories.xml", - "roe_deer_territories.xml", - "sheep_goat_territories.xml", - "wild_boar_territories.xml", - "wolf_territories.xml", - "zombie_territories.xml" - ], - "root": [ - "cfgeconomycore.xml", // loot economy core settings and extensions - "cfgeffectarea.json", // static contaminated area coordinates and other properties - "cfgenvironment.xml", // includes env\* files and parameters - "cfgeventgroups.xml", // definitions of groups of objects that spawn together in a dynamic event - "cfgeventspawns.xml", // coordinates where events may occur - "cfggameplay.json", // gameplay configuration settings. - "cfgIgnoreList.xml", // list of items that won’t be loaded from the storage - "cfglimitsdefinition.xml", // list of valid categories, tags, usageflags and valueflags - "cfglimitsdefinitionuser.xml", // shortcut groups of usageflags and valueflags - "cfgplayerspawnpoints.xml", // new character spawn points - "cfgrandompresets.xml", // collection of groups of items - "cfgspawnabletypes.xml", // loot categorization (ie hoarder) as well as set of items that spawn as cargo or as attachment on weapons, vehicles or infected. - "cfgundergroundtriggers.json", // used for triggering light and sounds in the Livonia bunker, not used for Chernarus - "cfgweather.xml", // weather configuration - "init.c", // mission startup file (PC only) - "map*.xml", - "mapgroupproto.xml", // structures, tags, maxloot and lootpoints - "mapgrouppos.xml" // all valid lootpoints - ] -} - -const config = { - installFile: serverFiles + "/DayZServer", - modDir: modDir + "/" + client_appid, - port: 8000, - steamAPIKey: process.env["STEAMAPIKEY"] -} - -const getVersion = (installed) => { - if(installed) { - return "1.22.bogus" - } - return "" -} - -const getDirSize = (dirPath) => { - let size = 0 - if (! fs.existsSync(dirPath)) return size - const files = fs.readdirSync(dirPath) - for (let i = 0; i < files.length; i++) { - const filePath = path.join(dirPath, files[i]) - const stats = fs.statSync(filePath) - if (stats.isFile()) { - size += stats.size - } else if (stats.isDirectory()) { - size += getDirSize(filePath) - } - } - return size -} - -const getCustomXML = (modId) => { - const ret = [] - if (! fs.existsSync(config.modDir)) return ret - for(const file of configFiles) { - if (fs.existsSync(config.modDir + d + modId + d + file)) { - ret.push({name:file}) - } - } - return ret -} - -const getModNameById = (id) => { - const files = fs.readdirSync(serverFiles, {encoding: 'utf8', withFileTypes: true}) - for (const file of files) { - if (file.isSymbolicLink()) { - const sym = fs.readlinkSync(serverFiles + d + file.name) - if(sym.indexOf(id) > -1) return file.name - } - } - return '' -} - -const getMods = () => { - const mods = [] - if (! fs.existsSync(config.modDir)) return mods - fs.readdirSync(config.modDir).forEach(file => { - const name = getModNameById(file) - mods.push({name:name,id:file}) - }) - return mods -} - -const login = () => { - const args = "+force_install_dir " + serverFiles + " +login '" + config.steamLogin + "' +quit" - steamcmd(args) -} - -const steamcmd = (args) => { - const proc = spawn('steamcmd ' + args) - proc.stdout.on('data', (data) => { - res.write(data) - }) - proc.stderr.on('data', (data) => { - res.write(data) - }) - proc.on('error', (error) => { - res.write(error) - }) - proc.on('close', (error) => { - if(error) res.write(error) - res.end() - }) -} - -app.use(express.static('root')) - -// Get mod metadata by ID -app.get('/mod/:modId', (req, res) => { - const modId = req.params["modId"] - const modDir = config.modDir + d + modId - const customXML = getCustomXML(modId) - const ret = { - id: modId, - name: getModNameById(modId), - size: getDirSize(modDir), - customXML: customXML - } - res.send(ret) -}) - -// Get a mod's XML file -app.get('/mod/:modId/:file', (req, res) => { - const modId = req.params["modId"] - const file = req.params["file"] - if (fs.existsSync(config.modDir + d + modId + d + file)) { - const contents = fs.readFileSync(config.modDir + d + modId + d + file) - res.set('Content-type', 'application/xml') - res.send(contents) - } -}) - -// Search for a mod -app.get(('/search/:searchString'), (req, res) => { - const searchString = req.params["searchString"] - const url = "https://api.steampowered.com/IPublishedFileService/QueryFiles/v1/?numperpage=1000&appid=221100&return_short_description=true&strip_description_bbcode=true&key=" + config.steamAPIKey + "&search_text=" + searchString - https.get(url, resp => { - let data = ''; - resp.on('data', chunk => { - data += chunk; - }); - resp.on('end', () => { - res.send(JSON.parse(data)) - }) - }).on('error', err => { - console.log(err.message) - }) -}) - -// Install a mod -app.get(('/install/:modId'), (req, res) => { - const modId = req.params["modId"] - // Shell out to steamcmd, monitor the process, and display the output as it runs - res.send(modId + " was installed") -}) - -// Remove a mod -app.get(('/remove/:modId'), (req, res) => { - const modId = req.params["modId"] - // Shell out to steamcmd, monitor the process, and display the output as it runs - res.send(modId + " was removed") -}) - -// Update base files -app.get('/updatebase', (req, res) => { - login() - res.send("Base files were updates") -}) - -// Update mods -app.get('/updatemods', (req, res) => { - res.send("Mod files were updates") -}) - -/* - Get the status of things: - If the base files are installed, the version of the server, the appid (If release or experimental) - */ -app.get('/status', (req, res) => { - // FIXME Async/await this stuff... - const installed = fs.existsSync(config.installFile) - const version = getVersion(installed) - const ret = { - "appid": appid_version, - "installed": installed, - "version": version - } - ret.error = "This is a test error from the back end" - res.send(ret) -}) - -/* - Get all mod metadata - */ -app.get('/mods', (req, res) => { - const mods = getMods() - const ret = { - "mods": mods - } - res.send(ret) -}) - -app.listen(config.port, () => { - console.log(`Listening on port ${config.port}`) -})