50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
$engine: 3
|
|
$onesync: on
|
|
|
|
name: DevX RP
|
|
version: 0.5.0
|
|
author: c.scupin
|
|
description: Eigenständiges RP-Framework ohne ESX, QBCore oder QBox.
|
|
|
|
tasks:
|
|
- action: connect_database
|
|
|
|
# Offizielle CFX-Grundressourcen
|
|
- action: download_github
|
|
src: https://github.com/citizenfx/cfx-server-data
|
|
ref: master
|
|
subpath: resources
|
|
dest: ./resources
|
|
|
|
# Das Basic-Gamemode würde automatisch spawnen und wird deshalb entfernt.
|
|
- action: remove_path
|
|
path: ./resources/[gamemodes]/basic-gamemode
|
|
|
|
# Reiner MariaDB/MySQL-Treiber, kein RP-Framework.
|
|
- action: download_file
|
|
url: https://github.com/overextended/oxmysql/releases/latest/download/oxmysql.zip
|
|
path: ./tmp/oxmysql.zip
|
|
|
|
- action: unzip
|
|
src: ./tmp/oxmysql.zip
|
|
dest: ./resources/[standalone]
|
|
|
|
# Eigenes DevX-RP-Release aus Gitea.
|
|
- action: download_file
|
|
url: https://git.devx-studios.de/c.scupin/devx-rp/releases/download/v0.5.0/devx-rp-server-v0.5.0.zip
|
|
path: ./tmp/devx-rp-server.zip
|
|
|
|
- action: unzip
|
|
src: ./tmp/devx-rp-server.zip
|
|
dest: ./
|
|
|
|
- action: query_database
|
|
file: ./sql/schema.sql
|
|
|
|
- action: replace_string
|
|
mode: all_vars
|
|
file: ./server.cfg
|
|
|
|
- action: remove_path
|
|
path: ./tmp
|